W78E58-16 Winbond, W78E58-16 Datasheet

no-image

W78E58-16

Manufacturer Part Number
W78E58-16
Description
8-BIT MICROCONTROLLER
Manufacturer
Winbond
Datasheet
GENERAL DESCRIPTION
The W78E58 is an 8-bit microcontroller that is functionally compatible with the W78C58, except that
the mask ROM is replaced by a flash EEPROM with a size of 32 KB. To facilitate programming and
verification, the flash EEPROM inside the W78E58 allows the program memory to be programmed
and read electronically. Once the code is confirmed, the user can protect the code for security.
The W78E58 microcontroller supplies a wider frequency range than most 8-bit microcontrollers on the
market. It is functionally compatible with the industry-standard 80C52 microcontroller series, except
that one extra 4-bit bit-addressable I/O port(Port 4) and two additional external interrupts ( INT2 ,
The W78E58 contains four 8-bit bi-directional and bit-addressable I/O ports, three 16-bit
timer/counters, and a serial port. These peripherals are supported by a eight-source, two-level
interrupt capability. There are 256 bytes of RAM and an 32 KB flash EEPROM for application
programs.
The W78E58 microcontroller has two power reduction modes, idle mode and power-down mode, both
of which are software selectable. The idle mode turns off the processor clock but allows for continued
peripheral operation. The power-down mode stops the crystal oscillator for minimum power
consumption. The external clock can be stopped at any time and in any state without affecting the
processor.
FEATURES
INT3 ).
8-bit CMOS microcontroller
Fully static design
Low standby current at full supply voltage
DC-40 MHz operation
256 bytes of on-chip scratchpad RAM
32 KB electrically erasable/programmable EPROM
64 KB program memory address space
64 KB data memory address space
Four 8-bit bidirectional ports
One extra 4-bit bit-addressable I/O port, additional INT2 / INT3
(available on 44-pin PLCC/QFP package)
Three 16-bit timer/counters
One full duplex serial port
Boolean processor
Eight-source, two-level interrupt capability
Built-in power management
Code protection mechanism
Packages:
DIP 40: W78E58-16/24/40
PLCC 44: W78E58P-16/24/40
TQFP 44: W78E58M-16/24/40
QFP 44: W78E58F-16/24/40
8-BIT MICROCONTROLLER
- 1 -
Publication Release Date: November 1997
W78E58
Revision A2

Related parts for W78E58-16

W78E58-16 Summary of contents

Page 1

... PLCC/QFP package) Three 16-bit timer/counters One full duplex serial port Boolean processor Eight-source, two-level interrupt capability Built-in power management Code protection mechanism Packages: DIP 40: W78E58-16/24/40 PLCC 44: W78E58P-16/24/40 QFP 44: W78E58F-16/24/40 TQFP 44: W78E58M-16/24/40 8-BIT MICROCONTROLLER Publication Release Date: November 1997 - 1 - W78E58 ...

Page 2

... ALE 12 29 INT0, P3.2 PSEN 13 28 P2.7, A15 INT1, P3.3 14 T0, P3.4 27 P2.6, A14 15 T1, P3.5 26 P2.5, A13 WR, P3 P2.4, A12 17 24 P2.3, A11 RD, P3.7 18 XTAL2 23 P2.2, A10 19 XTAL1 22 P2.1, A9 VSS 20 21 P2.0, A8 44-Pin QFP/TQFP (W78E58F/W78E58M P1.5 P0.4, AD4 39 38 P1.6 P0.5, AD5 37 P1.7 P0.6, AD6 RST 36 P0.7, AD7 RXD, P3.0 ...

Page 3

... PIN DESCRIPTION The W78E58 has two operating modes, normal and flash. In normal mode, the W78E58 corresponds to the W78C58. In flash mode, the user (the maker of the flash EEPROM writer) can access the flash EEPROM. P0.7 P0.0 Port 0, Bits 7 0 MODE Normal Port 0, Bits 0 through 7. Port bidirectional I/O port. This port also provides a multiplexed low order address/data bus during accesses to external memory ...

Page 4

... MOVC operations. PSEN goes to a high impedance state with a weak pull-up during reset state Flash Flash mode configuration pin, Input, active high. PSEN is used to configure the flash operations. For details, see Flash Operations. XTAL1 MODE DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION - 4 - W78E58 ...

Page 5

... Flash Connect XTAL2 MODE Normal Crystal 2. This is the crystal oscillator output the inversion of XTAL1. Flash No function in this mode Power Supplies. These are the chip ground and positive supplies. DESCRIPTION Publication Release Date: November 1997 - 5 - W78E58 Revision A2 ...

Page 6

... ALU SFR RAM Address Instruction Decoder & Sequencer 256 bytes RAM & SFR Bus & Clock Controller Oscillator Reset Block Power Control ALE XTAL2 Vcc RST PSEN - 6 - W78E58 P0.0 Port 0 Port ~ Latch 0 P0.7 DPTR Temp Reg. PC Incrementor Addr. Reg. P2.0 Port ~ Port 2 2 P2.7 Latch ...

Page 7

... Timers 0 and 1. Clock The W78E58 is designed to be used with either a crystal oscillator or an external clock. Internally, the clock is divided by two before it is used. This makes the W78E58 relatively insensitive to duty cycle variations in the clock. Crystal Oscillator The W78E58 incorporates a built-in crystal oscillator. To make the oscillator work, a crystal must be connected across pins XTAL1 and XTAL2 ...

Page 8

... The external RESET signal is sampled at S5P2. To take effect, it must be held high for at least two machine cycles while the oscillator is running. An internal trigger circuit in the reset line is used to deglitch the reset line when the W78E58 is used with an external RC network. The reset logic also has a special glitch removal circuit that ignores glitches on the reset line ...

Page 9

... SEQUENCE WITHIN PRIORITY LEVEL 03H 0 (highest) 0BH 1 13H 2 1BH 3 23H 4 2BH 5 33H 6 3BH 7 (lowest) ; Output data "A" through P4.0 P4.3. ; Read P4 status to Accumulator. ; Set bit P4.0 ; Clear bit P4 W78E58 ENABLE INTERRUPT REQUIRED TYPE SETTINGS EDGE/LEVEL IE.0 TCON.0 IE.1 - IE.2 TCON.2 IE.3 - IE.4 - IE.5 - XICON.2 XICON.0 XICON.6 XICON.3 Publication Release Date: November 1997 ...

Page 10

... Flash Operations In normal operation, the W78E58 is functionally compatible with the W78C58. In the flash operating mode, the flash EEPROM can be programmed and verified repeatedly. Once the code inside the flash EEPROM is confirmed, the code can be protected ...

Page 11

... PGM DATA ALE RST A15 P2 Programming Verification - 11 - W78E58 P2 (A15 TO A0) ( Address Data Out V CP Address Data Address Data Out MAX. UNIT +7 +0 ...

Page 12

... 0.8 IL1 V 0 0.8 IL2 V 0 0.8 IL3 V 2.4 V +0.2 IH1 DD V 3.5 V +0.2 IH2 DD V 3.5 V +0.2 IH3 0.45 OL1 - 12 - W78E58 UNIT TEST CONDITIONS load Idle mode V = 5.5V DD Power-down mode < V < 5. < ...

Page 13

... Clock Input Waveform SYM. SPECIFICATION MIN. MAX 0.45 OL2 SK1 SK2 V 2.4 - OH1 V 2.4 - OH2 I -120 -250 SR1 I -8 -14 SR2 approximates to 2V W78E58 UNIT TEST CONDITIONS 4. +4mA 4. 0.45V 4. 0.45V 4. -100 4. -400 4.5V ...

Page 14

... APL PDA T 0 PDH T 0 PDZ ALW PSW CP SYMBOL MIN. TYP DAR DDA - 14 - W78E58 MAX. UNIT NOTES 40 MHz - MAX. UNIT NOTES - - ...

Page 15

... CP SYMBOL MIN. TYP. T 2.0 - VPS 295 300 PWP T 295 300 OPWP T 2.0 - OCS T 2.0 - OCH Publication Release Date: November 1997 - 15 - W78E58 MAX. UNIT MAX. UNIT - MAX. UNIT - 305 ...

Page 16

... Data Valid from OE Note: Flash data can be accessed only in flash mode. The RST pin must pull in V the PSEN pin must pull in V status 2.0 - OES DFP OEV status, the ALE pin must pull W78E58 - S 130 nS 150 nS status, and IL ...

Page 17

... ALE PSEN PORT 2 A0-A7 PORT ALW T APL T PSW T AAS T PDA T T PDH, PDZ A0-A7 A0-A7 Code A0-A7 Data A8-A15 DATA T T DAR DDA T DDH, T DRD - 17 - W78E58 Data A0- DDZ Publication Release Date: November 1997 Revision A2 ...

Page 18

... Timing Waveforms, continued Data Write Cycle S4 XTAL1 ALE PSEN PORT 2 PORT 0 A0-A7 WR Port Access Cycle XTAL1 ALE T PDS PORT INPUT SAMPLE A8-A15 DATA OUT T DAD T T DWR DAW PDH - 18 - W78E58 DWD S1 T PDA DATA OUT ...

Page 19

... (OE (A7... A0 Vcp Vpp VPS Program Program Verify Address Stable T PWP OCS T OCH T OES T DFP Data In OUT T OEV - 19 - W78E58 Read Verify Address Valid Data Out Publication Release Date: November 1997 Revision A2 ...

Page 20

... A14 P2.6 28 A15 P2.7 P1 P1.3 PSEN 29 P1.4 ALE 30 P1.5 TXD 11 P1.6 RXD 10 P1.7 W78E58 Figure 30P 30P 15P 15P 10P 10P W78E58 AD0 AD1 AD2 AD3 ...

Page 21

... A14 P2.7 28 P1 P1.3 29 P1.4 PSEN 30 P1.5 ALE 11 P1.6 TXD 10 P1.7 RXD W78E58 Figure Base Plane A 1 Seating Plane W78E58 ...

Page 22

... Detail W78E58 Dimension in inches Dimension in mm Symbol Min. Nom. Max. Min. Nom. Max. A 0.185 4.699 A 0.020 0.508 1 A 0.145 0.150 3.683 3.81 3.937 0.155 2 b 0.026 0.028 0.032 ...

Page 23

... Detail F 1 Winbond Electronics (H.K.) Ltd. Rm. 803, World Trade Square, Tower II, 123 Hoi Bun Rd., Kwun Tong, Kowloon, Hong Kong TEL: 852-27513100 FAX: 852-27552064 - 23 - W78E58 Dimension in inch Dimension in mm Symbol Min. Nom. Max. Min. Nom. --- --- --- --- A 0.047 A 0.002 0.004 0.006 ...

Related keywords