Preliminary W78E858: 1. General Description
Preliminary W78E858: 1. General Description
8-BIT MICROCONTROLLER
1. GENERAL DESCRIPTION
The W78E858 is an 8-bit microcontroller which has an in-system programmable Flash EPROM for
firmware updating. The instruction set of the W78E858 is fully compatible with the standard 8052. The
W78E858 contains a 32K bytes of main Flash EPROM and a 4K bytes of auxiliary Flash EPROM
which allows the contents of the 64KB main Flash EPROM to be updated by the loader program
located at the 4KB auxiliary Flash EPROM ROM; 768 bytes of on-chip RAM; 128 bytes of EEPROM, 8
extra power down wake-up through INT2 to INT9; 4 channel 8-bit PWM; four 8-bit bi-directional and bit-
addressable I/O ports; an additional 4-bit port P4; three 16-bit timer/counters where the TIMER2 with
programmable clock output and 17-bit watchdog timer are built in this device; a serial port. These
peripherals are supported by a eight sources two-level interrupt capability. To facilitate programming
and verification, the Flash EPROM inside the W78E858 allows the program memory to be
programmed and read electronically. Once the code is confirmed, the user can protect the code for
security.
2. FEATURES
• Fully static design 8-bit CMOS micro-controller up to 40 MHz
• 32K bytes of in-system programmable FLASH EPROM for Application Program (APROM)
• 4K bytes of auxiliary FLASH EPROM for Loader Program (LDROM)
• Low standby current at full supply voltage
• 256 + 512 bytes of on-chip RAM
• 128 bytes on-chip EEPROM memory
• 64K bytes program memory address space and 64K bytes data memory address space
• Four 8-bit bi-directional ports
• One 4-bit bi-directional port
• Extra interrupts INT2 to INT9 at PORT1
• Wake-up via external interrupts INT0 − INT9
• Three 16-bit timer/counters
• One full duplex serial port
• Fourteen-sources, two-level interrupt capability
• Programmable Timer2 clock output via P1.0
• 17-bits watchdog timer
• Four channels 8-bit PWM
• Built-in power management
• Code protection
• Packaged in PDIP 40 / PLCC 44 / PQFP 44
3. PIN CONFIGURATIONS
T
2 A A A A
E T D D D D
X 2 0 1 2 3
. . . . . .
P P P P P P V P P P P
1 1 1 1 1 4 D 0 0 0 0
. . . . . . D . . . .
4 3 2 1 0 2 0 1 2 3
6 5 4 3 2 1 44 43 42 41 40
P1.5 7 39 P0.4, AD4
P1.6 8 38 P0.5, AD5
P1.7 9 37 P0.6, AD6
RST 10 36 P0.7, AD7
RXD, P3.0 11 44-pin 35 EA
P4.3 12 PLCC 34 P4.1
TXD, P3.1 13 33 ALE
INT0, P3.2 14 32 PSEN
INT1, P3.3 15 31 P2.7, A15
T0, P3.4 16 30 P2.6, A14
17 29 P2.5, A13
T1, P3.5
18 19 20 21 22 23 24 25 26 27 28
P P X X V P P P P P P
3 3 T T S 4 2 2 2 2 2
. . A A S . . . . . .
6 7 L L 0 0 1 2 3 4
, , 2 1 , , , , ,
/ / A A A A A
W R 8 9 1 1 1
R D 0 1 2
T
2 A A A A
E T D D D D
X 2 0 1 2 3
. . . . . .
P P P P P P P P P P
P1.0 1 40 VCC 1 1 1 1 4 V 0 0 0 0
1
2 . . . . . . D . . . .
P1.1 39 P0.0, AD0
4 3 2 1 0 2 D 0 1 2 3
P1.2 3 38 P0.1, AD1
P1.3 4 37 P0.2, AD2
44 43 42 41 40 39 38 37 36 35 34
P1.4 5 36 P0.3, AD3 1
P1.5 33 P0.4, AD4
P1.5 6 35 P0.4, AD4 P1.6 2 32 P0.5, AD5
P1.6 7 34 P0.5, AD5 P1.7 3 31 P0.6, AD6
P1.7 8 33 P0.6, AD6 RST 4 30 P0.7, AD7
32 RXD, P3.0 5 29 EA
RST 9 P0.7, AD7
40-pin P4.3 6 44-pin PQFP 28 P4.1
RXD, P3.0 10 31 EA
11
DIP 30 ALE
TXD, P3.1 7 27 ALE
TXD, P3.1
INT0, P3.2 8 26
INT0, P3.2 12 29 PSEN
PSEN
INT1, P3.3 9 25 P2.7, A15
INT1, P3.3 13 28 P2.7, A15
T0, P3.4 10 24 P2.6, A14
T0, P3.4 14 27 P2.6, A14 11
T1, P3.5 23 P2.5, A13
T1, P3.5 15 26 P2.5, A13 12 13 14 15 16 17 18 19 20 21 22
-2-
Preliminary W78E858
4. PIN DESCRIPTION
SYMBOL TYPE DESCRIPTIONS
EA I External Access Enable: EA low forces the processor to execute the
external ROM. The ROM address and data will not be present on the bus if the
EA pin is high and the program counter is within the 32 KB area. Otherwise
they will be present on the bus.
PSEN O/H Program Strobe Enable: PSEN enables the external ROM data in the Port 0
address/data bus. When internal ROM access is performed, no PSEN strobe
signal outputs originate from this pin.
ALE O/H Address Latch Enable: ALE is used to enable the address latch that
separates the address from the data on Port 0. ALE runs at 1/6th of the
oscillator frequency. An ALE pulse is omitted during external data memory
accesses.
RST I/L RESET: A high on this pin for two machine cycles while the oscillator is running
resets the device. RST has a Schmitt trigger input stage to provide additional
noise immunity with a slow rising input voltage.
XTAL1 I Crystal 1: This is the crystal oscillator input. This pin may be driven by an
external clock
XTAL2 O Crystal 2: This is the crystal oscillator output. It is the inversion of XTAL1.
VSS I Ground: Ground potential.
VDD I Power Supply: Supply voltage for operation.
P0.0 − P0.7 I/O D Port 0: Function is the same as that of the standard 8052.
P1.0 − P1.7 I/O H Port 1: Function is the same as that of the standard 8052. Port1 also service
the alternative function INT2 − INT9. P1.0 provide a timer2 programmable
clock output. Four channel PWM clock output via P1.4 − P1.7
P2.0 − P2.7 I/O H Port 2: Port 2 is a bi-directional I/O port with internal pull-ups and emits the
high-order address byte during accesses external memory
P3.0 − P3.7 I/O H Port 3: Function is the same as that of the standard 8052
P4.0 − P4.3 I/O H Port 4: Function is the same as Port1
* Note: TYPE I: input, O: output, I/O: bi-directional, H: pull-high, L: pull-low, D: open drain
5. BLOCK DIAGRAM
Power Down
INT2~9 PORT1
EEPROM W ake Up
8051
128 Bytes
CPU TIMER2
Core
Data Bus
Auxiliary PORT2
MTP-ROM
4K Bytes UART
INT0
Main Interrupts
INT1 PORT3
MTP-ROM
32K Bytes TIMER1
TIMER0
W a tch-dog PORT4
6. FUNCTIONAL DESCRIPTION
The W78E858 architecture consists of a core controller surrounded by various registers, four 8-bit
general purpose I/O ports, one 4-bits general purpose I/O port, 256 bytes data RAM and 512 bytes
auxiliary RAM, 128 bytes embedded EEPROM memory, three timer/counters, one serial port, 17-bit
watch-dog timer, 8-bit four channels PWM, programmable timer2 clock output, extra external interrupts
INT2 to INT9, power-down wake up via external interrupts INT0 − INT9. And a black box of Eastern
pay TV control block. The CPU supports 111 different op-codes and references both a 64K program
address space and a 64 K data storage space.
RAM
The internal data RAM in W78E858 is 768 bytes. It is divided into two banks: 256 bytes of data RAM
and 512 bytes of auxiliary RAM. These RAM are addressed by different ways.
• RAM 00H − 7FH can be addressed directly and indirectly as the same as in 80C51. Address
pointers are R0 and R1 of the selected register bank.
• RAM 80H − FFH can only be addressed indirectly as the same as in 80C51. Address pointers are
R0, R1 of the selected registers bank.
• Auxiliary RAM 0000H − 01FFH is addressed indirectly as the same way to access external data
memory with the MOVX instruction. Address pointers are R0 and R1 of the selected register bank
and DPTR register. By setting ENAUXRAM flag in CHPCON register bit4 to enable on-chip auxiliary
RAM 512 bytes. When the auxiliary RAM is enabled, the data and address will not appear on P0
and P2, they will keep their previous status that before the MOVX instruction be executed. Write the
page select 00H or 01H to MXPSR register if R0 and R1 are used as address pointer. When the
address of external data memory locations higher than 01FFH or disable auxiliary RAM 512 bytes
micro-controller will be performed with the MOVX instruction in the same way as in the 80C51. The
auxiliary RAM 512 bytes default is disabled after chip reset.
-4-
Preliminary W78E858
EEPROM
The 128 bytes EEPROM is defined in external data memory space that located in FF80H-FFFFH in
standard 8-bit series. It is accessed the same as auxiliary RAM512 bytes, the ENEEPROM flag in
CHPCON register bit5 is set. Write the page select 03H to MXPSR register, R0 and R1are used as
address pointer. The EEPROM provided byte write, page write mode and software write protection is
used to protect the data lose when power on or noise. They are described as below:
Byte Write Mode
Once a byte write has been started, it will automatically time itself to completion. A BUSY signal will be
used to detect the end of write operation.
Command Codes for Software Data Protection Enable/Disable and Software Erase
BYTE ENABLE WRITE PROTECT DISABLE WRITE PROTECT SOFTWARE ERASE
SEQUENCE ADDRESS DATA ADDRESS DATA ADDRESS DATA
0 Write FF55H AAH FF55H AAH FF55H AAH
1 Write FF2AH 55H FF2AH 55H FF2AH 55H
2 Write FF55H A0H FF55H 80H FF55H 80H
3 Write - - FF55H AAH FF55H AAH
4 Write - - FF2AH 55H FF2AH 55H
5 Write - - FF55H 20H FF55H 10H
Note: For Eastern PAY TV application, the high order address byte is 02H.
0000H
01FFH
0200H
External M e m o ry
FF80H
EEPROM 128 Bytes FFFFH
-6-
Preliminary W78E858
Timers 0, 1, and 2
Timers 0, 1, and 2 each consist of two 8-bit data registers. These are called TL0 and TH0 for Timer 0,
TL1 and TH1 for Timer 1, and TL2 and TH2 for Timer 2. The TCON and TMOD registers provide
control functions for timers 0, 1. The T2CON register provides control functions for Timer 2. RCAP2H
and RCAP2L are used as reload/capture registers for Timer 2.
The operations of Timer 0 and Timer 1 are the same as in the W78C51. Timer 2 is a 16-bit
timer/counter that is configured and controlled by the T2CON register. Like Timers 0 and 1, Timer 2
can operate as either an external event counter or as an internal timer, depending on the setting of bit
C/T2 in T2CON. Timer 2 has three operating modes: capture, auto-reload, and baud rate generator.
The clock speed at capture or auto-reload mode is the same as that of Timers 0 and 1.
Clock
The W78E858 is designed to use with either a crystal oscillator or an external clock. Internally, the
clock is divided by two before it is used by default. This makes the W78E858 relatively insensitive to
duty cycle variations in the clock.
Crystal Oscillator
The W78E858 incorporates a built-in crystal oscillator. To make the oscillator work, a crystal must be
connected across pins XTAL1 and XTAL2. In addition, a load capacitor must be connected from each
pin to ground, and a resistor must also be connected from XTAL1 to XTAL2 to provide a DC bias
when the crystal frequency is above 24 MHz.
External Clock
An external clock should be connected to pin XTAL1. Pin XTAL2 should be left unconnected. The
XTAL1 input is a CMOS-type input, as required by the crystal oscillator. As a result, the external clock
signal should have an input one level of greater than 3.5 volts.
Power Management
Idle Mode
The CPU will enter to idle by setting the IDL bit in the PCON register. In the idle mode, the internal
clock to the processor is stopped. The peripherals and the interrupt logic continue to be clocked. The
processor will exit idle mode when either an interrupt or a reset occurs.
Power-down Mode
When the PD bit of the PCON register is set, the processor enters the power-down mode. In this mode
all of the clocks, including the oscillator are stopped. There are two ways to exit power-down mode,
one is by a chip reset and another is via external interrupts wake up if the related control flags are
enabled.
Power-Down
RESET-Pin
Interrupt IN0~INT9
Oscillator
> 24 x Tosc
delay counter x Tosc
-8-
Preliminary W78E858
P1.7 X9
P1.6 X8
P1.5 X7
P1.4 X6
P1.3 X5
X4
P1.2
P1.1 X3
P1.0 X2
OR8
IX1 IEN1 IRQ1
W ake Up
Reset
The external RST 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 RA80xx is used with an external RC network. The reset logic also has
a special glitch removal circuit that ignores glitches on the reset line. During reset, the ports are
initialized to FFH, the stack pointer to 07H, PCON (with the exception of bit 4) to 00H, and all of the
other SFR registers except SBUF to 00H. SBUF is not reset.
PWCON (C3H)
BIT NAME FUNCTION
7−4 - Reverse
3 PWM3 Enable P1.7 as PWM clock output.
2 PWM2 Enable P1.6 as PWM clock output.
1 PWM1 Enable P1.5 as PWM clock output.
0 PWM0 Enable P1.4 as PWM clock output.
PWMP (92H)
The prescaler is loaded with the complement of the PWMP register during counter overflow. The
repetition frequency is defined by 8-bit prescaler which clocks the counter. The prescaler division factor
= (PWMP + 1). Reading the PWMP gives the current reload value. The actual count of the prescaler
can’t be read.
- 10 -
Preliminary W78E858
The PWM counter is enabled with any bit PWEn (n = 0, 1, 2, 3) of the PWCON register. Output to the
port pin is separately enabled by setting the PWEn bits in the PWCON register. The PWM function is
reset by a chip reset. In idle mode, the PWM will function as configurated in PWCON. In power-down
state of the PWM will freeze when the internal clock stops. If the chip is awakened with an external
interrupt, the PWM will continue to function its state when power-down was entered.
The repetition frequency is given by:
Fosc
Fpwm =
[255 x (1+PWMP)]
An oscillator frequency of 24 MHz results in a repetition range of 367.65 Hz to 94.12 KHz. The high/low
ratio of PWMn is DACn/(255-DACn) for DACn values except 255. A DACn value 255 results in a high
PWMn output.
Fosc
PWMEN0
PWMEN1 ENDAC
OR
PWMEN2
AND
PWMEN3
OUTPUT P1.4
DAC0 8-BIT DETECT
BUFFER
OUTPUT
DAC1 8-BIT DETECT P1.5
BUFFER
OUTPUT P1.6
DAC2 8-BIT DETECT
BUFFER
OUTPUT
DAC3 8-BIT DETECT P1.7
BUFFER
The CHPCON is read only by default. Firmware designer must write 87H, 59H sequentially to this
special register CHPENR to enable the CHPCON write attribute, and write other value to disable
CHPCON write attribute. This register protects from writing to the CHPCON register carelessly.
SFRAL (C4H)
The programming low-order byte address of FLASH EPROM in-system programming mode
SFRAH (C5H)
The programming high-order byte address of FLASH EPROM in-system programming mode
SFRFD (C6H)
The programming data for on-chip FLASH EPROM in-system programming mode
SFRCN (C7H)
BIT NAME FUNCTION
7 - Reserve.
6 WFWIN On-chip FLASH EPROM bank select for in-system programming.
= 0: 32K bytes FLASH EPROM bank is selected as destination for re-
programming.
= 1: 4K bytes FLASH EPROM bank is selected as destination for re-
programming.
5 OEN FLASH EPROM output enable.
4 CEN FLASH EPROM chip enable.
3−0 CTRL[3:0] The flash control signals
- 12 -
Preliminary W78E858
CHPCON (BFH)
BIT NAME FUNCTION
7 SWRESET When this bit is set to 1, and both FBOOTSL and FPROGEN are set to 1.
(F04KMODE) It will enforce microcontroller reset to initial condition just like power on
reset. This action will re-boot the microcontroller and start to normal
operation. To read this bit can determine that the F04KBOOT mode is
running.
6 - Reserve.
5 ENEEPROM Enable on-chip 128 bytes EEPROM.
4 ENAUXRAM Enable on-chip 512 bytes auxiliary RAM.
3−2 - -
1 FBOOTSL The loader program location selection.
= 0: loader program in 32K memory bank.
= 1: loader program in 4K memory bank.
0 FPROGEN In system programming enable flag.
= 1: enable. The CPU switches to the programming flash mode after
entering the idle mode and waken up from interrupt. The CPU will
execute the loader program while in on-chip programming mode.
= 0: disable. The on-chip FLASH EPROM read-only. In-system
programmability is inhibit.
Interrupt System
External events and the real-time-driven on-chip peripherals require service by the CPU asynchronous
to do execution of any particular section of code. To tie the asynchronous actives of these functions to
normal program execution, a multiple-source, two-priority-level, nested interrupt system is provided.
The W78E858 acknowledges interrupt requests from fourteen sources as below:
• INT0 and INT1
• Timer0 and Timer1
• UART serial I/O
• INT2 to INT9 (at Port1)
IE1 (E8H)
BIT NAME FUNCTION
7 EX9 Enable external interrupt 9
6 EX8 Enable external interrupt 8
5 EX7 Enable external interrupt 7
4 EX6 Enable external interrupt 6
3 EX5 Enable external interrupt 5
2 EX4 Enable external interrupt 4
1 EX3 Enable external interrupt 3
0 EX2 Enable external interrupt 2
IP1 (F8H)
BIT NAME FUNCTION
7 PX9 External interrupt 9 priority level
6 PX8 External interrupt 8 priority level
5 PX7 External interrupt 7 priority level
4 PX6 External interrupt 6 priority level
3 PX5 External interrupt 5 priority level
2 PX4 External interrupt 4 priority level
1 PX3 External interrupt 3 priority level
0 PX2 External interrupt 2 priority level
IX1 (E9H)
BIT NAME FUNCTION
7 IL9 External interrupt 9 polarity level
6 IL8 External interrupt 8 polarity level
5 IL7 External interrupt 7 polarity level
4 IL6 External interrupt 6 polarity level
3 IL5 External interrupt 5 polarity level
2 IL4 External interrupt 4 polarity level
1 IL3 External interrupt 3 polarity level
0 IL2 External interrupt 2 polarity level
- 14 -
Preliminary W78E858
IRQ1 (C0H)
BIT NAME FUNCTION
7 IQ9 External interrupt 9 request flag
6 IQ8 External interrupt 8 request flag
5 IQ7 External interrupt 7 request flag
4 IQ6 External interrupt 6 request flag
3 IQ5 External interrupt 5 request flag
2 IQ4 External interrupt 4 request flag
1 IQ3 External interrupt 3 request flag
0 IQ2 External interrupt 2 request flag
F04KBOOT Mode
P4.3 P2.7 P2.6 MODE
X L L FO4KBOOT
L X X FO4KBOOT
Note: In application system design, user must take care the P2, P3, ALE, EA and PSEN pin status at
reset to avoid W78E858 entering the programming mode or F04KBOOT mode in normal operation.
Enter 4K Reboot M o d e T i m i n g
P2.6
X
P2.7
X
Ts=1us
Th > 24 clocks
RESET
Security
During the on-chip FLASH EPROM programming mode, the FLASH EPROM can be programmed and
verified repeatedly. Until the code inside the FLASH EPROM is confirmed OK, the code can be
protected. The protection of FLASH EPROM and those operations on it are described below:
The W78E858 has several special setting registers in FLASH EPROM block. Those bits of the security
register can’t be changed once they have been programmed from high to low. They can only be reset
through erase-all operation. The security register is located at the FFFFH on the same bank with 4K
LDROM i.e., P3.6 must set high at writer mode.
0000H
On-Chip
4KB LDROM
0FFEH
Reversed
- 16 -
Preliminary W78E858
WDTC (8FH)
BIT NAME FUNCTION
7 ENW Enable watch-dog timer if set.
6 CLRW Clear watch-dog timer and prescaler if set. This flag will be cleared auto-
matically.
5 WIDL If this bit is set, watch-dog is enabled under idle mode. If cleared, watch-dog
is disable under idle mode. Default is cleared.
4−3 - Reversed.
2 PS2 Watch-dog prescaler timer select.
1 PS1 Watch-dog prescaler timer select.
0 PS0 Watch-dog prescaler timer select.
PS2 PS1 PS0 PRESCALER SELCET WATCH-DOG TIME-OUT PERIOD (FOSC = 20 MHz)
0 0 0 2 19.66 mS
0 0 1 4 39.32 mS
0 1 0 8 78.64 mS
0 1 1 16 157.28 mS
1 0 0 32 314.57 mS
1 0 1 64 629.14 mS
1 1 0 128 1.25 mS
1 1 1 256 2.52 mS
Programmable Clock-out
A 50% duty cycle clock can be programmed to come out on P1.0. To configure the timer/counter2 as a
clock generator, bit C/T2 in T2CON register must be cleared and bit T2OE in T2MOD register must be
set. Bit TR2 (T2CON.2) also must be set to start timer. The clock-out frequency depends on the
oscillator frequency and reload value of Timer2 capture register (RCAP2H, RCAP2L) as shown in this
equation:
oscillatotr frequency
4 × (65536 − ( RCAP 2 H , RCAP 2 L))
In the clock-out mode, timer2 roll-overs will not generate an interrupt. This is similar to when it is used
as a baud-rate generator. It is possible to use Timer2 as a baud-rate generator and a clock and a clock
generator simultaneously.
W IDL
IDLE EXTERNAL RESET
SYSTEM RESET
Fosc 1/12 PRESCALER 14-BIT TIMER
ENW
CLRW
Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability
of the device.
- 18 -
Preliminary W78E858
*3. P0, ALE and PSEN are tested in the external access mode.
*4. XTAL1 is a CMOS input.
*5. Pins of P1, P2, P3, P4 can source a transition current when they are being externally driven from 1 to 0. The transition
current reaches its maximum value when VIN approximates to 2V.
9. AC CHARACTERISTICS
The AC specifications are a function of the particular process used to manufacture the part, the ratings
of the I/O buffers, the capacitive load, and the internal routing capacitance. Most of the specifications
can be expressed in terms of multiple input clock periods (TCP), and actual parts will usually
experience less than a ±20 nS variation. The numbers below represent the performance expected
from a 0.6 micron CMOS process when using 2 and 4 mA output buffers.
XTAL1
T CH
T CL
F OP, TCP
- 20 -
Preliminary W78E858
Notes:
1. Data memory access time is 8 TCP.
2. "∆" (due to buffer driving delay and wire loading) is 20 nS.
Note: "∆" (due to buffer driving delay and wire loading) is 20 nS.
Note: Ports are read during S5P2, and output data becomes available at the end of S6P2. The timing data are referenced to
ALE, since it provides a convenient reference.
- 22 -
Preliminary W78E858
S1 S2 S3 S4 S5 S6 S1 S2 S3 S4 S5 S6
XTAL1
T ALW
ALE
T APL
PSEN
T PSW
T AAS
PORT 2
T PDA
T AAH T PDH, T PDZ
PORT 0
S4 S5 S6 S1 S2 S3 S4 S5 S6 S1 S2 S3
XTAL1
ALE
PSEN
PORT 2 A8-A15
A0-A7 DATA
PORT 0
T DAR T DDA
T DDH, T DDZ
RD
T DRD
S4 S5 S6 S1 S2 S3 S4 S5 S6 S1 S2 S3
XTAL1
ALE
PSEN
PORT 2 A8-A15
T DAW TDWR
S5 S6 S1
XTAL1
ALE
TP D S T PDH T PDA
INPUT
SAMPLE
- 24 -
Preliminary W78E858
VDD
VDD
35 43 AD0 AD0 3 D0 Q0 2 A0 A0 10 11 AD0
EA P0.0 A0 O0
P0.1 42 AD1 AD1 4 D1 Q1 5 A1 A1 9 A1 O1 12 AD1
21 P0.2 41 AD2 AD2 7 D2 Q2 6 A2 A2 8 13 AD2
XTAL1 A2 O2
10 u P0.3 40 AD3 AD3 8 D3 Q3 9 A3 A3 7 A3 O3 15 AD3
P0.4 39 AD4 AD413 D4 Q4 12 A4 A4 6 A4 O4 16 AD4
R 22 38 AD5 AD514 15 A5 A5 5 17 AD5
XTAL2 P0.5 D5 Q5 A5 O5
CRYSTAL P0.6 37 AD6 AD617 D6 Q6 16 A6 A6 4 A6 18 AD6
O6
P0.7 36 AD7 AD718 D7 Q7 19 A7 A7 3 A7 O7 19 AD7
8.2 K 10 RST A8 25
GND 1 OC A8
P2.0 24 A8 A9 24 A9
C1 C2 25 A9 11 G A10 21
INT0 P2.1 A10
14 P2.2 26 A10 A11 23 A11
15 INT1 P2.3 27 A11 74LS373 A12 2 A12
16 T0 P2.4 28 A12 A13 26 A13
17 T1 P2.5 29 A13 A14 27 A14
P2.6 30 A14 A15 1 A15
2 P1.0 P2.7 31 A15
3 P1.1 GND 20 CE
4 P1.2 RD 19 22
P1.3 OE
5 WR 18
6 P1.4 32 2764
PSEN
7 P1.5 ALE 33
8 P1.6 13
TXD
9 P1.7 11
RXD
W78E858
Figure A
CRYSTAL C1 C2 R
6 MHz 68P − 100P 68P − 100P 6.8K
16 MHz 20P − 100P 20P − 100P 6.8K
24 MHz 10P − 68P 10P − 68P 6.8K
32 MHz 5P − 20P 5P − 20P 6.8K
40 MHz 5P 5P 3.3K
Notes:
1. C1, C2, R components refer to Figure A
2. Crystal layout must get close to XTAL1 and XTAL2 pins on user's application board.
VDD
VDD
35 P0.0 43 AD0 AD0 3 D0 Q0 2 A0 A0 10 A0 D0 11 AD0
EA P0.1 A1
42 AD1 AD1 4 D1 Q1 5 A1 9 A1 D1 12 AD1
21 XTAL1 P0.2 41 AD2 AD2 7 D2 Q2 6 A2 A2 8 A2 D2 13 AD2
10 u OSCILLATOR P0.3 40 AD3 AD3 8 9 A3 A3 7 A3 D3 15 AD3
D3 Q3
P0.4 39 AD4 AD4 13 D4 Q4 12 A4 A4 6 A4 D4 16 AD4
20 XTAL2 P0.5 38 AD5 AD5 14 D5 Q5 15 A5 A5 5 A5 D5 17 AD5
P0.6 37 AD6 AD6 17 D6 Q6 16 A6 A6 4 A6 D6 18 AD6
8.2 K P0.7 36 AD7 AD7 18 D7 Q7 19 A7 A7 3 A7 D7 19 AD7
10 RST A8 25 A8
24 GND 1
P2.0 A8 OC A9 24 A9
P2.1 25 A9 11 G A10 21 A10
14 INT0 P2.2 A11 23
26 A10 A11
15 INT1 P2.3 27 A11 74LS373 A12 2 A12
16 T0 P2.4 28 A12 A13 26 A13
17 P2.5 29 A13 A14 1 A14
T1 P2.6 30 A14
2 P1.0 P2.7 31 GND 20 CE
3 P1.1 22 OE
4 RD 19 27
P1.2 WR
5 P1.3 WR 18
6 P1.4 PSEN 32 20256
7 P1.5 ALE 33
8 P1.6 TXD 13
9 P1.7 RXD 11
W78E858
Figure B
- 26 -
Preliminary W78E858
A1 0.010 0.254
a 0 15 0 15
20
S 0.090 2.286
1
Notes:
E 1. Dimension D Max. & S include mold flash or
S
c tie bar burrs.
A A2
2. Dimension E1 does not include interlead flash.
A1 Base Plane
3. Dimension D & E1 include mold mismatch and
are determined at the mold . parting line.
L Seating Plane
4. Dimension B1 does not include dambar
protrusion/intrusion.
B
e1 eA 5. Controlling dimension: Inches.
a
B1
6. General appearance spec. should be based on
final visual inspection spec.
44-pin PLCC
HD
D
6 1 44 40
Dimension in inch Dimension in mm
Symbol Min. Nom. Max. Min. Nom. Max.
7 39
A 0.185 4.699
A1 0.020 0.508
44-pin PQFP
HD
D Dimension in inch Dimension in mm
Symbol Min. Nom. Max. Min. Nom. Max.
44 34
11
HE 0.510 0.520 0.530 12.95 13.2 13.45
Notes:
1. Dimension D & E do not include interlead
c flash.
2. Dimension b does not include dambar
A2 A protrusion/intrusion.
3. Controlling dimension: Millimeter
θ
A1 4. General appearance spec. should be based
See Detail F y L
Seating Plane on final visual inspection spec.
L1 Detail F
Headquarters Winbond Electronics (H.K.) Ltd. Winbond Electronics North America Corp.
No. 4, Creation Rd. III, Rm. 803, World Trade Square, Tower II, Winbond Memory Lab.
Science-Based Industrial Park, 123 Hoi Bun Rd., Kwun Tong, Winbond Microelectronics Corp.
Hsinchu, Taiwan Kowloon, Hong Kong
TEL: 852-27516023
Winbond Systems Lab.
TEL: 886-3-5770066
FAX: 886-3-5792697 FAX: 852-27552064 2730 Orchard Parkway, San Jose,
http://www.winbond.com.tw/ CA 95134, U.S.A.
Voice & Fax-on-demand: 886-2-7197006 TEL: 1-408-9436666
FAX: 1-408-9436668
Taipei Office
11F, No. 115, Sec. 3, Min-Sheng East Rd.,
Taipei, Taiwan
TEL: 886-2-7190505
FAX: 886-2-7197502
Note: All data and specifications are subject to change without notice.
- 28 -