PRELIMINARY CUSTOMER PROCUREMENT SPECIFICATION
1
Z86C02/E02/L02
LOW-COST, 512-BYTE ROM MICROCONTROLLERS
FEATURES
Device Z86C02 Z86E02 Z86L02 ROM (KB) 512 512 512 RAM* Speed Auto Permanent (Bytes) (MHz) Latch WDT 61 61 61 8 8 8 Optional Optional Optional Optional Optional Optional
s
1
ROM Mask/OTP Options: – Low-Noise (Z86C02/E02 only) – – – – – ROM Protect Auto Latch Permanent Watch-Dog Timer (WDT) RC Oscillator (Z86C02/L02 Only) 32 KHz Operation (Z86C02/L02 Only)
Note: *General-Purpose s s
18-Pin DIP and SOIC Packages
s
0°C to 70°C Standard Temperature –40°C to 105°C Extended Temperature (Z86C02/E02 only) 3.0V to 5.5V Operating Range (Z86C02) 4.5V to 5.5V Operating Range (Z86E02) 2.0V to 3.9V Operating Range (Z86L02) 14 Input / Output Lines Five Vectored, Prioritized Interrupts from Five Different Sources Two On-Board Comparators Software Enabled Watch-Dog Timer (WDT) Programmable Interrupt Polarity Two Standby Modes: STOP and HALT Low-Voltage Protection
One Programmable 8-Bit Counter/Timer with a 6-Bit Programmable Prescaler Power-On Reset (POR) Timer On-Chip Oscillator that Accepts RC, Crystal, Ceramic Resonator, LC, or External Clock Drive (C02/L02 only) On-Chip Oscillator that Accepts RC or External Clock Drive (Z86E02 SL1903 only) On-Chip Oscillator that Accepts Crystal, Ceramic Resonator, LC, or External Clock Drive (Z86E02 only) Clock-Free WDT Reset Low-Power Consumption (50mw) Fast Instruction Pointer (1.5µs @ 8 MHz) Fourteen Digital Inputs at CMOS Levels; Schmitt-Triggered
s s
s
s
s s
s
s s s s s
s s s s
GENERAL DESCRIPTION
Zilog's Z86C02/E02/L02 microcontrollers (MCUs) are members of the Z8® single-chip MCU family, which offer easy software/hardware system expansion. For applications demanding powerful I/O capabilities, the MCU's dedicated input and output lines are grouped into three ports, and are configurable under software control to provide timing, status signals, or parallel I/O. One on-chip counter/timer, with a large number of user-selectable modes, off-load the system of administering realtime tasks such as counting/timing and I/O data communi-
DS96DZ80301 (11/96)
PRELIMINARY
1-1
Z86C02/E02/L02 Low-Cost, 512-Byte ROM Microcontrollers
GENERAL DESCRIPTION (Continued)
cations. Additionally, two on-board comparators process analog signals with a common reference voltage (Figure 1). Note: All Signals with a preceding front slash, "/", are active Low, e.g.: B//W (WORD is active Low); /B/W (BYTE is active Low, only).
Input Vcc GND
Power connections follow conventional descriptions below: Connection Power Ground
XTAL
Circuit VCC GND
Device VDD VSS
Port 3
Machine Timing & Inst. Control
Counter/ Timer
ALU
Interrupt Control
FLAG
Program Memory
Two Analog Comparators
Register Pointer General-Purpose Register File
Program Counter
Port 2
Port 0
I/O (Bit Programmable)
I/O
Figure 1. Z86C02/E02/L02 Functional Block Diagram
1-2
PRELIMINARY
DS96DZ80301 (11/96)
Z86C02/E02/L02 Low-Cost, 512-Byte ROM Microcontrollers
GENERAL DESCRIPTION (Continued)
D7-D0 Z8 MCU A10-A0 Address Counter A10-A0 3 Bits PGM Mode Logic Option Bits D7-D0 Address MUX
A10-A0 Data MUX Z8 PORT2 /OE P31
EPROM D7-D0
Clear Clock P00 P01
EPM /CE /PGM P32 XT1 P02
VPP P33
Figure 2. EPROM Programming Mode Block Diagram
PIN DESCRIPTIONS
Table 1. 18-Pin Standard Mode Identification
P24 P25 P26 P27 Vcc XTAL2 XTAL1 P31 P32 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 P23 P22 P21 P20 GND P02 P01 P00 P33
Pin # 1-4 5 6 7 8 9 10 11-13 14 15-18
Symbol
Function
Direction In/Output Output Input Input Input Input In/Output In/Output
P24-P27 Port 2, Pins 4, 5, 6, 7 VCC Power Supply Crystal Oscillator Clock XTAL1 Crystal Oscillator Clock P31 Port 3, Pin 1, AN1 P32 Port 3, Pin 2, AN2 P33 Port 3, Pin 3, REF P00-P02 Port 0, Pins 0, 1, 2 GND Ground P20-P23 Port 2, Pins 0, 1, 2, 3 XTAL2
Standard Mode
Figure 3. 18-Pin Standard Mode Configuration
1-3
PRELIMINARY
DS96DZ80301 (11/96)
Z86C02/E02/L02 Low-Cost, 512-Byte ROM Microcontrollers
D4 D5 D6 D7 Vcc N/C /CE /OE EPM D3 D2 D1 D0 GND /PGM CLOCK CLEAR VPP
P24 P25 P26 P27 VCC XTAL2 XTAL1 P31 P32 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 P23 P22 P21 P20 GND P02 P01 P00 P33
1 2 3 4 5 6 7 8 9
18 17 16 15 14 13 12 11 10
1
EPROM Mode
Figure 4. 18-Pin EPROM Mode Configuration Table 2. 18-Pin EPROM Mode Identification Pin # 1-4 5 6 7 8 9 10 11 12 13 14 15-18 Symbol D4-D7 Vcc NC /CE /OE EPM VPP Clear Clock /PGM GND D0-D3 Function Data 4, 5, 6, 7 Power Supply No Connection Chip Enable Output Enable EPROM Program Mode Program Voltage Clear Clock Address Program Mode Ground Data 0, 1, 2, 3 Direction In/Output Pin # 1-4 Input Input Input Input Input Input Input In/Output 5 6 7 8 9 10 11-13 14 15-18
Figure 5. 18-Pin SOIC Configuration Table 3. 18-Pin SOIC Pin Identification Standard Mode Symbol P24-P27 Vcc XTAL2 XTAL1 P31 P32 P33 P00-P02 GND P20-P23 Function Port 2, Pins 4,5,6,7 Power Supply Crystal Osc. Clock Crystal Osc. Clock Port 3, Pin 1, AN1 Port 3, Pin 2, AN2 Port 3, Pin 3, REF Port 0, Pins 0,1,2 Ground Port 2, Pins 0,1,2,3 Direction In/Output
Output Input Input Input Input In/Output In/Output
DS96DZ80301 (11/96)
PRELIMINARY
1-4
Z86C02/E02/L02 Low-Cost, 512-Byte ROM Microcontrollers
ABSOLUTE MAXIMUM RATINGS
Parameter Ambient Temperature under Bias Storage Temperature Voltage on any Pin with Respect to VSS [Note 1] Voltage on VDD Pin with Respect to VSS Voltage on Pin 7 with Respect to VSS [Note 2] (Z86C02/L02) Voltage on Pin 7,8,9,10 with Respect to VSS [Note 2] (Z86E02) Total Power Dissipation Maximum Allowed Current out of VSS Maximum Allowed Current into VDD Maximum Allowed Current into an Input Pin [Note 3] Maximum Allowed Current into an Open-Drain Pin [Note 4] Maximum Allowed Output Current Sinked by Any I/O Pin Maximum Allowed Output Current Sourced by Any I/O Pin Maximum Allowed Output Current Sinked by Port 2, Port 0 Maximum Allowed Output Current Sourced by Port 2, Port 0 Notes: Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at any condition above those indicated in the operational sections of these specifications is not implied. Exposure to absolute maximum rating conditions for an extended period may affect device reliability. Total power dissipation should not exceed 462 mW for the package. Power dissipation is calculated as follows: Total Power dissipation = VDD x [IDD – (sum of IOH)] + sum of [(VDD – VOH) x IOH] + sum of (V0L x I0L) Min –40 –65 –0.7 –0.3 –0.7 –0.7 Max +105 +150 +12 +7 VDD+1 VDD+1 462 300 270 +600 +600 20 20 80 80 Units C C V V V V mW mA mA µA µA mA mA mA mA
1
–600 –600
1. This applies to all pins except where otherwise noted. 2. Maximum current into pin must be ±600µA. There is no input protection diode from pin to VDD. 3. This excludes Pin 6 and Pin 7. 4. Device pin is not at an output Low state.
STANDARD TEST CONDITIONS
The characteristics listed below apply for standard test conditions as noted. All voltages are referenced to Ground. Positive current flows into the referenced pin (Figure 6).
From Output Under Test
150 pF
Figure 6. Test Load Diagram
CAPACITANCE
TA = 25°C, VCC = GND = 0V, f = 1.0 MHz, unmeasured pins returned to GND. Parameter Input capacitance Output capacitance I/O capacitance DS96DZ80301 (11/96) Min 0 0 0 Max 15 pF 20 pF 25 pF PRELIMINARY 1-5
Z86C02/E02/L02 Low-Cost, 512-Byte ROM Microcontrollers
DC ELECTRICAL CHARACTERISTICS Z86C02
TA = 40°C to +105°C TA = 0°C to +70°C Sym. VCH Parameter Clock Input High Voltage VCC [4] 3.0V 5.5V VCL Clock Input Low Voltage 3.0V 5.5V VIH VIL VOH Input High Voltage Input Low Voltage Output High Voltage 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V VOL1 Output Low Voltage 3.0V 5.5V 3.0V 5.5V VOL2 Output Low Voltage 3.0V 5.5V VOFFSET Comparator Input Offset Voltage VLV VCC Low Voltage Auto Reset Input Leakage (Input Bias Current of Comparator) Output Leakage Comparator Input Common Mode Voltage Range 3.0V 5.5V 3.0V 5.5V VVICR 3.0V 5.5V 2.2 2.0 –1.0 –1.0 –1.0 –1.0 VSS–0.3 VSS–0.3 Min 0.8 VCC 0.8 VCC VSS–0.3 VSS–0.3 0.7 VCC 0.7 VCC VSS–0.3 VSS–0.3 VCC–0.4 VCC–0.4 VCC–0.4 VCC–0.4 0.8 0.4 0.8 0.4 1.0 0.8 25 25 2.8 3.0 1.0 1.0 1.0 1.0 VCC –1.0 VCC –1.5 Max VCC+0.3 VCC+0.3 0.2 VCC 0.2 VCC VCC+0.3 VCC+0.3 0.2 VCC 0.2 VCC
Typical @ 25°C 1.7 2.8 0.8 1.7 1.8 2.8 0.8 1.5 3.0 4.8 3.0 4.8 0.2 0.1 0.2 0.1 0.8 0.3 10 10 2.6 2.6 Units V V V V V V V V V V V V V V V V V V mV mV V V V µA µA µA µA V V IOH = –2.0 mA IOH = –2.0 mA Low Noise @ IOH = –0.5 mA Low Noise @ IOH = –0.5 mA IOL = +4.0 mA IOL = +4.0 mA Low Noise @ IOL = 1.0 mA Low Noise @ IOL = 1.0 mA IOL = +12 mA IOL = +12 mA [5] [5] [5] [5] Conditions Driven by External Clock Generator Driven by External Clock Generator Driven by External Clock Generator Driven by External Clock Generator [1] [1] [1] [1] [5] [5] Notes
[9] [10] VIN = 0V, VCC VIN = 0V, VCC VIN = 0V, VCC VIN = 0V, VCC [9] [10]
IIL
IOL
1-6
PRELIMINARY
DS96DZ80301 (11/96)
Z86C02/E02/L02 Low-Cost, 512-Byte ROM Microcontrollers
DC CHARACTERISTICS Z86C02
TA = 40°C to+105°C TA = 0°C to +70°C Typical VCC [4] Min Max @ 25°C Units 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 5.5V 3.0V 3.0V 5.5V 5.5V 3.0V 5.5V IALH Auto Latch High Current 3.0V 5.5V 3.5 7.0 8.0 11.0 2.5 4.0 4.0 5.0 3.5 7.0 5.8 9.0 8.0 11.0 2.5 4.0 3.0 4.5 4.0 5.0 10 20 10 20 12 32 –8 –16 1.5 3.8 3.0 4.4 0.7 2.5 1.0 3.0 1.5 3.8 2.5 4.0 3.0 4.4 0.7 2.5 0.9 2.8 1.0 3.0 1.0 1.0 1.0 1.0 3.0 16 -1.5 -8.0 mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA mA µA µA µA µA µA µA µA µA
1
Conditions @ 2 MHz @ 2 MHz @ 8 MHz @ 8 MHz @ 2 MHz @ 2 MHz @ 8 MHz @ 8 MHz @ 1 MHz @ 1 MHz @ 2 MHz @ 2 MHz @ 4 MHz @ 4 MHz @ 1 MHz @ 1 MHz @ 2 MHz @ 2 MHz @ 4 MHz @ 4 MHz Notes [5,6,7] [5,6,7] [5,6,7] [5,6,7] [5,6,7] [5,6,7] [5,6,7