W78E58-24 Winbond, W78E58-24 Datasheet
W78E58-24
Available stocks
Related parts for W78E58-24
W78E58-24 Summary of contents
Page 1
... 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 ...
Page 2
... 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 ...
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
... Crystal 1. This is the crystal oscillator input. This pin may be driven by an external clock. 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
... 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 ...
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
... 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 ...
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
... IH SYMBOL MIN - 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 +150 C + PGM DATA P1 P0 P3.0 EA/Vpp V CP P3.1 ALE V IL P3.2 P3.3 RST ...
Page 12
... IN2 I -10 + [*4] -500 -200 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. <V < 5.5V ...
Page 13
... CMOS process when using 2 and 4 mA output buffers. 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. ...
Page 14
... PARAMETER ALE Low to RD Low RD Low to Data Valid OP, CP SYMBOL MIN. TYP SYMBOL MIN. TYP AAS AAH 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 - - MAX. UNIT NOTE ...
Page 15
... DWD DWR CP CP SYMBOL MIN. TYP PDS PDH PDA 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 S 305 Revision A2 ...
Page 16
... OE High to Output Float 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
... PORT 0 Code Data Read Cycle S4 S5 XTAL1 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
... Timing Waveforms, continued Program Operation V P2 (A15... A0 P3 (CE P3.3 IH (OECTRL P3 (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
... A10 P2.2 24 A11 INT1 P2.3 74LS373 25 A12 T0 P2.4 26 A13 T1 P2.5 27 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 AD4 AD5 AD6 A6 ...
Page 21
... D7 RST GND INT0 P2.2 23 A10 P2.3 24 A11 74LS373 INT1 P2.4 25 A12 T0 P2.5 26 A13 T1 P2.6 27 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 A10 A10 A11 23 A11 ...
Page 22
... See Detail F Seating Plane 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 0.66 0.813 0.711 1 b 0.016 0.018 0.022 0.406 0.559 ...
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 0.05 0.10 1 0.041 A 0 ...