Beruflich Dokumente
Kultur Dokumente
Z86E04/E08
Oscillator
Operating
ROM
Type
Operating
VCC
Temperature
(KB)
Package
Crystal
Crystal
Crystal
RC
RC
Crystal
Crystal
Crystal
RC
RC
Crystal
Crystal
Crystal
RC
RC
Crystal
Crystal
Crystal
RC
RC
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
4.5V - 5.5V
4.5V - 5.5V
3.0V - 5.5V
-40C/105C
0C/70C
0C/70C
0C/70C
0C/70C
-40C/105C
0C/70C
0C/70C
0C/70C
0C/70C
-40C/105 C
0C/70 C
0C/70C
0C/70C
0C/70C
-40C/105C
0C/70C
0C/70C
0C/70C
0C/70C
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
18-Pin DIP
18-Pin DIP
18-Pin DIP
18-Pin DIP
18-Pin DIP
18-Pin SOIC
18-Pin SOIC
18-Pin SOIC
18-Pin SOIC
18-Pin SOIC
18-Pin DIP
18-Pin DIP
18-Pin DIP
18-Pin DIP
18-Pin DIP
18-Pin SOIC
18-Pin SOIC
18-Pin SOIC
18-Pin SOIC
18-Pin SOIC
Several key product features of the extensive family of Zilog Z86E04/E08 CMOS OTP microcontrollers are presented in
the above table. This table enables the user to identify which of the twenty E04/E08 product variants most closely match
the users application requirements.
DS97Z8X0401
PRELIMINARY
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
FEATURES
Program Options:
Low Noise
ROM Protect
Auto Latch
Watch-Dog Timer (WDT)
EPROM/Test Mode Disable
GENERAL DESCRIPTION
Zilog's Z86E04/E08 Microcontrollers (MCU) are One-Time
Programmable (OTP) members of Zilogs single-chip Z8
MCU family that allow easy software development, debug,
prototyping, and small production runs not economically
desirable with masked ROM versions.
For applications demanding powerful I/O capabilities, the
Z86E04/E08'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.
Circuit
Device
Power
Ground
VCC
VDD
GND
VSS
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Input
XTAL
Vcc
Machine
Timing & Inst.
Control
Port 3
Counter/
Timers (2)
ALU
Interrupt
Control
FLAG
Two Analog
Comparators
GND
Register
Pointer
OTP
Program
Counter
General-Purpose
Register File
Port 2
Port 0
I/O
(Bit Programmable)
I/O
DS97Z8X0401
PRELIMINARY
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
D7 - 0
AD 11- 0
Z8 MCU
AD 11- 0
MSN
Port 3
Address
MUX
D7 - 0
AD 11- 0
EPROM
Data
MUX
D7 - 0
Z8
Port 0
Z8
Port 2
ROM PROT
Low Noise
PGM + Test
Mode Logic
VPP
P33
EPM
P32
/OE
P31
/PGM
P30
/CE
XT1
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
PIN DESCRIPTION
D4
D5
D6
D7
VCC
NC
/CE
/OE
EPM
18
10
D3
D2
D1
D0
GND
/PGM
CLOCK
CLEAR
VPP
P24
P25
P26
P27
VCC
XTAL2
XTAL1
P31
P32
18
10
D4D7
VCC
Data 4, 5, 6, 7
Power Supply
6
7
8
9
10
N/C
/CE
/OE
EPM
VPP
No Connection
Chip Enable
Output Enable
EPROM Prog Mode
Prog Voltage
Clear
Clock
/PGM
GND
D0D3
Clear Clock
Address
Prog Mode
Ground
Data 0,1, 2, 3
11
12
13
14
1518
DS97Z8X0401
Direction
In/Output
Input
Input
Input
Input
Input
Input
Input
P23
P22
P21
P20
GND
P02
P01
P00
P33
Standard Mode
Pin #
Symbol
Function
Direction
14
5
P24P27
Vcc
In/Output
6
7
8
9
10
1113
14
1518
XTAL2
XTAL1
P31
P32
P33
P00P02
GND
P20P23
Output
Input
Input
Input
Input
In/Output
In/Output
In/Output
PRELIMINARY
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Parameter
Min
Max
Units
40
65
0.7
+105
+150
+12
C
C
V
0.3
+7
0.6
VDD+1
1.65
300
W
mA
220
mA
+600
+600
25
25
60
45
A
A
mA
mA
mA
mA
600
600
Note
1
2
3
4
Notes:
1. This applies to all pins except where otherwise noted. Maximum current into pin must be 600 A.
2. There is no input protection diode from pin to V (not applicable to EPROM Mode).
3. This excludes Pin 6 and Pin 7.
4. Device pin is not at an output Low state.
DD
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
1
From Output
Under Test
150 pF
CAPACITANCE
TA = 25C, VCC = GND = 0V, f = 1.0 MHz, unmeasured pins returned to GND.
Parameter
Input capacitance
Output capacitance
I/O capacitance
DS97Z8X0401
Min
Max
0
0
0
10 pF
20 pF
25 pF
PRELIMINARY
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
DC ELECTRICAL CHARACTERISTICS
TA = 0C to +70C
Sym
Parameter
VINMAX
VCH
VCL
VCC [4]
Min
Max
Typical
Note 4
@ 25C
Units Conditions
Notes
3.0V
12
IIn<250 A
5.5V
12
IIn<250 A
Driven by External
Clock Generator
Driven by External
Clock Generator
Driven by External
Clock Generator
Driven by External
Clock Generator
3.0V
0.8 VCC
VCC+0.3
1.7
5.5V
0.8 VCC
VCC+0.3
2.8
3.0V
VSS0.3
0.2 VCC
0.8
5.5V
VSS0.3
0.2 VCC
1.7
VIH
3.0V
5.5V
0.7 VCC
0.7 VCC
VCC+0.3
VCC+0.3
1.8
2.8
V
V
VIL
3.0V
5.5V
VSS0.3
VSS0.3
0.2 VCC
0.2 VCC
0.8
1.5
V
V
VOH
3.0V
VCC0.4
3.0
IOH = 2.0 mA
5.5V
VCC0.4
4.8
IOH = 2.0 mA
3.0V
VCC0.4
3.0
5.5V
VCC0.4
4.8
VOL1
VOL2
IOL
VICR
3.0V
0.8
0.2
IOL = +4.0 mA
5.5V
0.4
0.1
IOL = +4.0 mA
3.0V
0.4
0.2
5.5V
0.4
0.1
3.0V
1.0
1.0
5.5V
0.8
0.8
3.0V
5.5V
2.2
25.0
25.0
3.0
10.0
10.0
2.8
mV
mV
V
3.0V
1.0
1.0
5.5V
1.0
1.0
3.0V
1.0
1.0
5.5V
1.0
1.0
VCC 1.0
PRELIMINARY
@ 6 MHz Max.
Int. CLK Freq.
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
TA = 0C to +70C
Sym
Parameter
ICC
Supply Current
ICC1
ICC
Standby Current
Supply Current
(Low Noise Mode)
DS97Z8X0401
VCC [4]
Min
Typical
Note 4
Max
@ 25C
3.0V
3.5
1.5
mA
5.5V
11.0
6.8
mA
3.0V
8.0
3.0
mA
5.5V
15.0
8.2
mA
3.0V
10.0
3.6
mA
5.5V
20.0
12.0
mA
3.0V
2.5
0.7
mA
5.5V
4.0
2.5
mA
3.0V
4.0
1.0
mA
5.5V
5.0
3.0
mA
3.0V
4.5
1.5
mA
5.5V
7.0
4.0
mA
3.0V
3.5
1.5
mA
5.5V
11.0
6.8
mA
3.0V
5.8
2.5
mA
5.5V
13.0
7.5
mA
3.0V
8.0
3.0
mA
5.5V
15.0
8.2
mA
PRELIMINARY
Units Conditions
All Output and I/O Pins
Floating @ 2 MHz
All Output and I/O Pins
Floating @ 2 MHz
All Output and I/O Pins
Floating @ 8 MHz
All Output and I/O Pins
Floating @ 8 MHz
All Output and I/O Pins
Floating @ 12 MHz
All Output and I/O Pins
Floating @ 12 MHz
HALT Mode VIN = 0V,VCC
@ 2 MHz
HALT Mode VIN = 0V,VCC
@ 2 MHz
HALT Mode VIN = 0V, VCC
@ 8 MHz
HALT Mode VIN = 0V, VCC
@ 8 MHz
HALT Mode VIN = 0V, VCC
@ 12 MHz
HALT Mode VIN = 0V, VCC
@ 12 MHz
All Output and I/O Pins
Floating @ 1 MHz
All Output and I/O Pins
Floating @ 1 MHz
All Output and I/O Pins
Floating @ 2 MHz
All Output and I/O Pins
Floating @ 2 MHz
All Output and I/O Pins
Floating @ 4 MHz
All Output and I/O Pins
Floating @ 4 MHz
Notes
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
7
7
7
7
7
7
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
ICC2
IALL
IALH
VCC [4]
Max
@ 25C
Units
3.0V
2.5
0.7
mA
5.5V
4.0
2.5
mA
3.0V
3.0
0.9
mA
5.5V
4.5
2.8
mA
3.0V
4.0
1.0
mA
5.5V
5.0
3.0
mA
3.0V
10.0
1.0
5.5V
10.0
1.0
3.0V
12.0
3.0
5.5V
32
16
3.0V
8.0
1.5
5.5V
16.0
8.0
Standby Current
(Low Noise Mode)
Standby Current
Min
Typical
Note 4
Conditions
Notes
7
7
7
7
7
7
7,8
7,8
Notes:
1. Port 2 and Port 0 only
2. VSS = 0V = GND
3. The device operates down to VLV of the specified frequency for VLV . The minimum operational VCC is determined on the value of
the voltage VLV at the ambient temperature. The VLV increases as the temperature decreases.
4. The VCC voltage specification of 3.0 V guarantees 3.3 V 0.3 V with typical values measured at VCC = 3.3V.
The VCC voltage specification of 5.5 V guarantees 5.0 V 0.5 V with typical values measured at VCC = 5.0 V.
5. Standard Mode (not Low EMI Mode)
6. Z86E08 only
7. All outputs unloaded and all inputs are at VCC or VSS level.
8. If analog comparator is selected, then the comparator inputs must be at VCC level.
10
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Sym
Parameter
VINMAX
VCH
VCL
VIH
VIL
VOH
VOL1
VOL2
IIL
Input Leakage
(Input Bias Current
of Comparator)
Output Leakage
IOL
VICR
Comparator Input
Common Mode
Voltage Range
DS97Z8X0401
VCC [4]
TA = -40C to
+105C
Typical
Note 4
Min
@ 25C
Max
Units
Conditions
Notes
4.5V
12.0
5.5V
12.0
4.5V
2.8
5.5V
2.8
4.5V
VSS0.3
0.2 VCC
1.7
5.5V
VSS0.3
0.2 VCC
1.7
4.5V
2.8
5.5V
2.8
4.5V
VSS0.3
0.2 VCC
1.5
5.5V
VSS0.3
0.2 VCC
1.5
4.5V
VCC0.4
4.8
IOH = 2.0 mA
5.5V
VCC0.4
4.8
IOH = 2.0 mA
4.5V
VCC0.4
5.5V
VCC0.4
4.5V
0.4
0.1
IOL = +4.0 mA
5.5V
0.4
0.1
IOL = +4.0 mA
4.5V
0.4
0.1
5.5V
0.4
0.1
4.5V
1.0
0.3
5.5V
1.0
0.3
4.5V
5.5V
25.0
25.0
3.8
10.0
10.0
2.8
mV
mV
V
4.5V
1.0
1.0
5.5V
1.0
1.0
4.5V
1.0
1.0
5.5V
1.0
1.0
1.8
VCC 1.5
PRELIMINARY
11
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Parameter
ICC
Supply Current
ICC1
ICC
12
Standby Current
Supply Current
(Low Noise Mode)
VCC [4]
Min
Typical
Note 4
Max
@ 25C
Units
4.5V
11.0
6.8
mA
5.5V
11.0
6.8
mA
4.5V
15.0
8.2
mA
5.5V
15.0
8.2
mA
4.5V
20.0
12.0
mA
5.5V
20.0
12.0
mA
4.5V
5.0
2.5
mA
5.5V
5.0
2.5
mA
4.5V
5.0
3.0
mA
5.5V
5.0
3.0
mA
4.5V
7.0
4.0
mA
5.5V
7.0
4.0
mA
4.5V
11.0
6.8
mA
5.5V
11.0
6.8
mA
4.5V
13.0
7.5
mA
5.5V
13.0
7.5
mA
4.5V
15.0
8.2
mA
5.5V
15.0
8.2
mA
PRELIMINARY
Conditions
Notes
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
5,7
7
7
7
7
7
7
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
TA = -40C to
+105C
Sym
Parameter
ICC1
Standby Current
(Low Noise Mode)
ICC2
IALL
IALH
Standby Current
VCC [4]
Min
Typical
Note 4
Max
@ 25C
Units
Conditions
4.5V
4.0
2.5
mA
5.5V
4.0
2.5
mA
4.5V
4.5
2.8
mA
5.5V
4.5
2.8
mA
4.5V
5.0
3.0
mA
5.5V
5.0
3.0
mA
4.5V
20
1.0
5.5V
20
1.0
4.5V
40
16
5.5V
40
16
4.5V
20.0
8.0
5.5V
20.0
8.0
Notes
7
7
7
7
7
7
7,8
7,8
Notes:
1. Port 2 and Port 0 only
2. VSS = 0V = GND
3. The device operates down to VLV of the specified frequency for VLV . The minimum operational VCC is determined on the value of
the voltage VLV at the ambient temperature. The VLV increases as the temperature decreases.
4. VCC = 4.5V to 5.5V, typical values measured at VCC = 5.0V
5. Standard Mode (not Low EMI Mode)
6. Z86E08 only
7. All outputs unloaded and all inputs are at VCC or VSS level.
8. If analog comparator is selected, then the comparator inputs must be at VCC level.
DS97Z8X0401
PRELIMINARY
13
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
AC ELECTRICAL CHARACTERISTICS
Clock
2
7
T
IN
4
5
6
IRQ
N
8
14
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
AC ELECTRICAL CHARACTERISTICS
Timing Table (Standard Mode for SCLK/TCLK = XTAL/2)
TA= 0 C to +70 C
8 MHz
No
Symbol
Parameter
TpC
TrC,TfC
TwC
TwTinL
TwTinH
TpTin
TrTin,
TtTin
TwIL
TwIH
10
Twdt
Watch-Dog Timer
Delay Time for Timeout
11
Tpor
12 MHz
VCC
Min
Max
Min
Max
Units
Notes
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
5.5V
125
125
DC
DC
25
25
83
83
DC
DC
15
15
ns
ns
ns
ns
ns
ns
ns
ns
100
100
ns
ns
ns
ns
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1,2
1,2
1
1,2
1
1
1
1
62
62
100
70
5TpC
5TpC
8TpC
8TpC
100
100
100
70
5TpC
5TpC
25
12
50
20
180
80
41
41
100
70
5TpC
5TpC
8TpC
8TpC
100
70
5TpC
5TpC
25
12
50
20
180
80
ms
ms
ms
ms
Notes:
1. Timing Reference uses 0.7 VCC for a logic 1 and 0.2 VCC for a logic 0.
2. Interrupt request through Port 3 (P33-P31)
3. The VDD voltage specification of 3.0V guarantees 3.3V 0.3V.
The VDD voltage specification of 5.5V guarantees 5.0V 0.5V.
DS97Z8X0401
PRELIMINARY
15
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
AC ELECTRICAL CHARACTERISTICS
Timing Table (Standard Mode for SCLK/TCLK = XTAL/2)
TA= 40 C to +105 C
8 MHz
12 MHz
No
Symbol
Parameter
VCC
Min
Max
Min
Max
Units
Notes
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
125
125
DC
DC
25
25
62
62
83
83
DC
DC
15
15
41
41
ns
ns
ns
ns
ns
ns
ns
ns
100
100
ns
ns
ns
ns
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1,2
1,2
1
1,2
1
1
1
1
TpC
TrC,TfC
TwC
TwTinL
TwTinH
TpTin
TrTin,
TtTin
TwIL
TwIH
10
Twdt
Watch-Dog Timer
Delay Time for Timeout
11
Tpor
70
70
5TpC
5TpC
8TpC
8TpC
70
70
5TpC
5TpC
8TpC
8TpC
100
100
70
70
5TpC
5TpC
10
10
12
12
100
100
70
70
5TpC
5TpC
10
10
12
12
100
100
ms
ms
ms
ms
Notes:
1. Timing Reference uses 0.7 VCC for a logic 1 and 0.2 VCC for a logic 0.
2. Interrupt request made through Port 3 (P33-P31).
16
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
AC ELECTRICAL CHARACTERISTICS
Low Noise Mode
No
Symbol
Parameter
VCC
TPC
TrC
TfC
TwC
4.
TwTinL
TwTinH
TpTin
TrTin,
TtTin
TwIL
Low Time
TwIH
High Time
10
Twdt
Watch-Dog Timer
Delay Time for Timeout
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
TA= 0 C to +70 C
1 MHz
4 MHz
Min
Max
Min
Max
1000
1000
DC
DC
25
25
500
500
100
70
2.5TpC
2.5TpC
4TpC
4TpC
250
250
100
70
2.5TpC
2.5TpC
25
12
Units
Notes
DC
DC
25
25
ns
ns
ns
ns
ns
ns
ns
ns
100
100
ns
ns
ns
ns
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1,2
1,2
1
1,2
1
1
125
125
100
70
2.5TpC
2.5TpC
4TpC
4TpC
100
100
100
70
2.5TpC
2.5TpC
25
12
ms
ms
Notes:
1. Timing Reference uses 0.7 VCC for a logic 1 and 0.2 VCC for a logic 0.
2. Interrupt request through Port 3 (P33-P31).
3. The VDD voltage specification of 3.0V guarantees 3.3V 0.3V.
The VDD voltage specification of 5.5V guarantees 5.0V 0.5V.
DS97Z8X0401
PRELIMINARY
17
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
No
Symbol
Parameter
VCC
TPC
TrC
TfC
TwC
4.
TwTinL
TwTinH
TpTin
TrTin,
TtTin
TwIL
TwIH
10
Twdt
Watch-Dog Timer
Delay Time for Timeout
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
4.5V
5.5V
TA= 40 C to +105 C
1 MHz
4 MHz
Min
Max
Min
Max
1000
1000
DC
DC
25
25
500
500
70
70
2.5TpC
2.5TpC
4TpC
4TpC
100
100
70
70
2.5TpC
2.5TpC
10
10
250
250
Units
Notes
DC
DC
25
25
ns
ns
ns
ns
ns
ns
ns
ns
100
100
ns
ns
ns
ns
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1,2
1,2
1
1,2
1
1
125
125
70
70
2.5TpC
2.5TpC
4TpC
4TpC
70
70
2.5TpC
2.5TpC
10
10
ms
ms
Notes:
1. Timing Reference uses 0.7 VCC for a logic 1 and 0.2 VCC for a logic 0.
2. Interrupt request through Port 3 (P33-P31).
18
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
PIN FUNCTIONS
OTP Programming Mode
D7-D0 Data Bus. Data can be read from, or written to, the
EPROM through this data bus.
VCC Power Supply. It is typically 5V during EPROM Read
Mode and 6.4V during the other modes (Program, Program Verify, and so on).
/CE Chip Enable (active Low). This pin is active during
EPROM Read Mode, Program Mode, and Program Verify
Mode.
/OE Output Enable (active Low). This pin drives the Data
Bus direction. When this pin is Low, the Data Bus is output.
When High, the Data Bus is input.
EPM EPROM Program Mode. This pin controls the different EPROM Program Modes by applying different
voltages.
VPP Program Voltage. This pin supplies the program voltage.
Clear Clear (active High). This pin resets the internal address counter at the High Level.
DS97Z8X0401
Application Precaution
The production test-mode environment may be enabled
accidentally during normal operation if excessive noise
surges above Vcc occur on the XTAL1 pin.
In addition, processor operation of Z8 OTP devices may be
affected by excessive noise surges on the Vpp, /CE,
/EPM, /OE pins while the microcontroller is in Standard
Mode.
Recommendations for dampening voltage surges in both
test and OTP Mode include the following:
PRELIMINARY
19
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Auto Latch. The Auto Latch puts valid CMOS levels on all
CMOS inputs (except P33, P32, P31) that are not externally driven. A valid CMOS level, rather than a floating node,
reduces excessive supply current flow in the input buffer.
On Power-up and Reset, the Auto Latch will set the ports
to an undetermined state of 0 or 1. Default condition is
Auto Latches enabled.
Z86E04
and
Z86E08
Port 0 (I/O)
Open
PAD
Out
1.5
In
500 k
20
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Port 2, P27-P20. Port 2 is an 8-bit, bit programmable, bidirectional, Schmitt-triggered CMOS-compatible I/O port.
These eight I/O lines can be configured under software
control to be inputs or outputs, independently. Bits programmed as outputs can be globally programmed as either push-pull or open-drain (Figure 8).
Z86E04
and
Z86E08
Port 2 (I/O)
Port 2
Open-Drain
Open
PAD
Out
1.5
2.3 Hysteresis
VCC @ 5.0V
In
500 k
DS97Z8X0401
PRELIMINARY
21
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Z86E04
and
Z86E08
R247 = P3M
Port 3
0 = Digital
1 = Analog
D1
TIN
DIG.
PAD
P31 (AN1)
IRQ2
+
AN.
IRQ3
P32 Data Latch
PAD
P32 (AN2)
IRQ0
PAD
P33 (REF)
Vcc
22
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Comparator Inputs. Two analog comparators are added
to input of Port 3, P31, and P32, for interface flexibility. The
comparators reference voltage P33 (REF) is common to
both comparators.
Typical applications for the on-board comparators; Zero
crossing detection, A/D conversion, voltage scaling, and
threshold detection. In Analog Mode, P33 input functions
serve as a reference voltage to the comparators.
FUNCTIONAL DESCRIPTION
The following special functions have been incorporated
into the Z86E04/E08 devices to enhance the standard Z8
core architecture to provide the user with increased design
flexibility.
RESET. This function is accomplished by means of a Power-On Reset or a Watch-Dog Timer Reset. Upon powerup, the Power-On Reset circuit waits for TPOR ms, plus 18
clock cycles, then starts program execution at address
000C (Hex) (Figure 10). The Z86E04/E08 control registers'
reset value is shown in Table 3.
INT OSC
XTAL OSC
Delay Line
TPOR msec
18 CLK
Reset Filiter
POR
(Cold Start)
Chip Reset
P27
(Stop Mode)
Power-On Reset (POR). A timer circuit clocked by a dedicated on-board RC oscillator is used for a POR timer function. The POR time allows VCC and the oscillator circuit to
stabilize before instruction execution begins. The POR
timer circuit is a one-shot timer triggered by one of the four
following conditions:
Stop-Mode Recovery
WDT time-out
WDH time-out
DS97Z8X0401
PRELIMINARY
23
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Addr.
Reg.
D7
D6
Reset Condition
D5
D4
D3
D2
FF
FD
FC
FB
FA
SPL
RP
FLAGS
IMR
IRQ
0
0
U
0
U
0
0
U
U
U
0
0
U
U
0
0
0
U
U
0
0
0
U
U
0
0
0
U
U
0
0
0
U
U
0
0
0
U
U
0
F9
F8*
F7*
F6*
F5
F4
F3
F2
F1
IPR
P01M
P3M
P2M
PRE0
T0
PRE1
T1
TMR
U
U
U
1
U
U
U
U
0
U
U
U
1
U
U
U
U
0
U
U
U
1
U
U
U
U
0
U
0
U
1
U
U
U
U
0
U
U
U
1
U
U
U
U
0
U
U
U
1
U
U
U
U
0
U
0
0
1
U
U
0
U
0
U
1
0
1
0
U
0
U
0
D1
D0
Comments
Note: *Registers are not reset after a STOP-Mode Recovery using P27 pin. A subsequent reset will cause these control registers to
be reconfigured as shown in Table 4 and the user must avoid bus contention on the port pins or it may affect device reliability.
24
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Program Memory. The Z86E04/E08 addresses up to
1K/2KB of Internal Program Memory (Figure 11). The first
12 bytes of program memory are reserved for the interrupt
vectors. These locations contain six 16-bit vectors that correspond to the six available interrupts. Bytes 0-1024/2048
are on-chip one-time programmable ROM.
1023/2047
3FH/7FFH
Location of
First Byte of
Instruction
Executed
After RESET 12
Interrupt
Vector
(Lower Byte)
Interrupt
Vector
(Upper Byte)
Location
255 (FFH)
On-Chip
ROM
0CH
Indentifiers
Stack Pointer (Bits 7-0)
SPL
254 (FE)
General-Purpose Register
GPR
253 (FD)
Register Pointer
252 (FC)
FLAGS
251 (FB)
IMR
250 (FA)
IRQ
249 (F9)
IPR
248 (F8)
P01M
247 (F7)
Port 3 Mode
P3M
246 (F6)
Port 2 Mode
P2M
245 (F5)
T0 Prescaler
PRE0
11
IRQ5
0BH
10
IRQ5
0AH
IRQ4
09H
IRQ4
08H
IRQ3
07H
IRQ3
06H
IRQ2
05H
IRQ2
04H
244 (F4)
Timer/Counter 0
IRQ1
03H
243 (F3)
T1 Prescaler
IRQ1
02H
242 (F2)
Timer/Counter 1
IRQ0
01H
241 (F1H)
Timer Mode
IRQ0
00H
RP
T0
PRE1
T1
TMR
Not Implemented
128
127 (7FH)
General-Purpose
Registers
4
3
Port 3
P3
Port 2
P2
Reserved
P1
Port 0
P0
0 (00H)
DS97Z8X0401
PRELIMINARY
25
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Stack Pointer. The Z86E04/E08 has an 8-bit Stack Pointer (R255) used for the internal stack that resides within the
124 general-purpose registers.
In the 4-bit mode, the register file is divided into eight working register groups, each occupying 16 continuous locations. The Register Pointer (Figure 13) addresses the
starting location of the active working-register group.
r7 r6
r5 r4
r3 r2
r1 r0
R253
(Register Pointer)
FF
Register Group F
R15 to R0
F0
7F
70
6F
60
5F
50
4F
40
3F
30
2F
Specified Working
Register Group
20
1F
10
0F
Register Group 1
R15 to R0
Register Group 0
R15 to R4*
I/O Ports
00
*Expanded Register Group (0) is selected in this figure
by handling bits D3 to D0 as "0" in Register R253(RP).
R3 to R0
26
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Write
Read
PRE0
Initial Value
Register
T0
Initial Value
Register
T0
Current Value
Register
2
4
6-Bit
Down
Counter
8-bit
Down
Counter
6-Bit
Down
Counter
8-Bit
Down
Counter
PRE1
Initial Value
Register
T1
Initial Value
Register
IRQ4
Internal Clock
External Clock
Clock
Logic
4
Internal Clock
Gated Clock
Triggered Clock
TIN P31
Write
Write
IRQ5
T1
Current Value
Register
Read
DS97Z8X0401
PRELIMINARY
27
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Source
AN2(P32)
REF(P33)
AN1(P31)
AN2(P32)
T0
T1
Vector
Location
0,1
2,3
4,5
6,7
8,9
10,11
Comments
External (F)Edge
External (F)Edge
External (F)Edge
External (R)Edge
Internal
Internal
Notes:
F = Falling edge triggered
R = Rising edge triggered
IRQ0 - IRQ5
IRQ
IMR
Global
Interrupt
Enable
Interrupt
Request
6
IPR
PRIORITY
LOGIC
Vector Select
28
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Clock. The Z86E04/E08 on-chip oscillator has a highgain, parallel-resonant amplifier for connection to a crystal,
LC, RC, ceramic resonator, or any suitable external clock
source (XTAL1 = INPUT, XTAL2 = OUTPUT). The crystal
should be AT cut, up to 12 MHz max., with a series resistance (RS) of less than or equal to 100 Ohms.
XTAL1
XTAL1
XTAL1
C1
C1
XTAL2
C2
Ceramic Resonator or
Crystal
C1, C2 = 47 pF TYP *
F = 8 MHz
LC
XTAL2
XTAL2
C2
XTAL1
C1
External Clock
XTAL2
RC
@ 5V Vcc (TYP)
C1 = 100 pF
R = 2K
F = 6 MHz
DS97Z8X0401
PRELIMINARY
29
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
A(Hz)
33K
56K
144K
315K
552K
1.4M
2.6M
4.4M
8M
12M
56 pFd
B(Hz)
31K
52K
130K
270K
480K
1M
2M
3M
5M
7M
A(Hz)
20K
34K
84K
182K
330K
884K
1.6M
2.8M
6M
8.8M
100 pFd
B(Hz)
20K
32K
78K
164K
300K
740K
1.3M
2M
4M
6M
A(Hz)
12K
20K
48K
100K
185K
500K
980K
1.7K
3.8K
6.3K
B(Hz)
11K
19K
45K
95K
170K
450K
820K
1.3M
2.7M
4.2M
0.00 1Fd
A(Hz)
1.4K
2.5K
6K
12K
23K
65K
130K
245K
600K
1.0M
B(Hz)
1.4K
2.4K
6K
12K
22K
61K
123K
225K
536K
950K
Notes:
33 pFd
A(Hz)
18K
30K
70K
150K
268K
690M
1.2M
2M
4.6M
7M
B(Hz)
18K
30K
70K
148K
250K
600K
1M
1.7M
3M
4.6M
56 pFd
A(Hz)
12K
20K
47K
97K
176K
463K
860K
1.5M
3.3M
5M
B(Hz)
12K
20K
47K
96K
170K
416K
730K
1.2M
2.4M
3.6M
100 pFd
A(Hz)
7.4K
12K
30K
60K
100K
286K
540K
950K
2.2M
3.6K
B(Hz)
7.7K
12K
30K
60K
100K
266K
480K
820K
1.6M
2.6M
0.00 1Fd
A(Hz)
1K
1.6K
4K
8K
15K
40K
80K
151K
360K
660K
B(Hz)
1K
1.6K
4K
8K
15K
40K
76K
138K
316K
565K
Notes:
30
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
HALT Mode. This instruction turns off the internal CPU
clock but not the crystal oscillation. The counter/timers and
external interrupts IRQ0, IRQ1, IRQ2 and IRQ3 remain active. The device is recovered by interrupts, either externally or internally generated. An interrupt request must be executed (enabled) to exit HALT Mode. After the interrupt
service routine, the program continues from the instruction
after the HALT.
Watch-Dog Timer (WDT). The Watch-Dog Timer is enabled by instruction WDT. When the WDT is enabled, it
cannot be stopped by the instruction. With the WDT instruction, the WDT is refreshed when it is enabled within
every 1 Twdt period; otherwise, the controller resets itself,
The WDT instruction affects the flags accordingly; Z=1,
S=0, V=0.
WDT = 5F (Hex)
Note: On the C12 ICEBOX, the IRQ3 does not wake the
device out of HALT Mode.
STOP Mode. This instruction turns off the internal clock
and external crystal oscillation and reduces the standby
current to 10 A. The STOP Mode is released by a RESET
through a Stop-Mode Recovery (pin P27). A Low input
condition on P27 releases the STOP Mode. Program execution begins at location 000C(Hex). However, when P27
is used to release the STOP Mode, the I/O port Mode registers are not reconfigured to their default power-on conditions. This prevents any I/O, configured as output when the
STOP instruction was executed, from glitching to an unknown state. To use the P27 release approach with STOP
Mode, use the following instruction:
LD
NOP
STOP
Opcode WDT (5FH). The first time Opcode 5FH is executed, the WDT is enabled and subsequent execution clears
the WDT counter. This must be done at least every TWDT;
otherwise, the WDT times out and generates a reset. The
generated reset is the same as a power-on reset of TPOR,
plus 18 XTAL clock cycles. The software enabled WDT
does not run in STOP Mode.
Opcode WDH (4FH). When this instruction is executed it
enables the WDT during HALT. If not, the WDT stops
when entering HALT. This instruction does not clear the
counters, it just makes it possible to have the WDT running
during HALT Mode. A WDH instruction executed without
executing WDT (5FH) has no effect.
Permanent WDT. Selecting the hardware enabled Permanent WDT option, will automatically enable the WDT upon
exiting reset. The permanent WDT will always run in HALT
Mode and STOP Mode, and it cannot be disabled.
Auto Reset Voltage (VLV). The Z86E04/E08 has an autoreset built-in. The auto-reset circuit resets the Z86E04/E08
when it detects the VCC below VLV.
Figure 18 shows the Auto Reset Voltage versus temperature. If the VCC drops below the VCC operating voltage
range, the Z86E04/E08 will function down to the VLV unless the internal clock frequency is higher than the specified maximum VLV frequency.
FF
6F
FF
7F
NOP
STOP
or
NOP
HALT
DS97Z8X0401
PRELIMINARY
31
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Vcc
(Volts)
2.9
2.8
2.7
2.6
2.5
2.4
Temp
2.3
40C 20C
0C
20C
40C
60C
80C
100C
32
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Programming Modes
VPP
EPM
/CE
/OE
/PGM
ADDR
DATA
EPROM READ1
NU
VH
VIL
VIL
VIH
ADDR
Out
4.5V
EPROM READ2
NU
VH
VIL
VIL
VIH
ADDR
Out
5.5V
PROGRAM
VH
VIL
VIH
VIL
ADDR
In
6.4V
PROGRAM VERIFY
VH
VIL
VIL
VIH
ADDR
Out
6.4V
EPROM PROTECT
VH
VH
VH
VIH
VIL
NU
NU
6.4V
VH
VIH
VH
VIH
VIL
NU
NU
6.4V
VH
VIH
VH
VIL
VIL
NU
NU
6.4V
WDT ENABLE
VH
VIL
VH
VIH
VIL
NU
NU
6.4V
EPROM/TEST MODE
VH
VIL
VH
VIL
VIL
NU
NU
6.4V
Notes:
1. VH =13.0V 0.25 VDC .
2. VIH = As per specific Z8 DC specification.
3. VIL= As per specific Z8 DC specification.
4. X = Not used, but must be set to VH or VIH level.
5. NU = Not used, but must be set to either VIH or VIL level.
6. IPP during programming = 40 mA maximum.
7. ICC during programming, verify, or read = 40 mA maximum.
8. * VCC has a tolerance of - 0.25V.
9. VCC = 5.0V is acceptable.
DS97Z8X0401
PRELIMINARY
33
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Name
1
2
3
2
2
2
s
s
s
5
6
7
8
9
10
11
12
13
14
15
16
17
2
0.95
2
2
188
s
ms
s
s
ns
ns
ms
s
s
s
ms
ns
ns
34
Min
Max
100
2.85
2
2
2
78
250
125
PRELIMINARY
Units
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
T2
P01 = Clock
T4
T3
T1
P00 = Clear
Vpp/EPM
T6
T5
Internal
Address
0 Min
Vih
Data
Vil
Invalid
Valid
Invalid
Valid
Legend:
T1 Reset Clock Width
T2 Input Clock High
T3 Input Clock Period
T4 Input Clock Low
T5 Clock to Address Counter Out Delay
T6 Epm/Vpp Set up Time
30 ns Min
100 ns Min
200 ns Min
100 ns Min
15 ns Max
40 s Min
DS97Z8X0401
PRELIMINARY
35
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
VIH
Address
Address Stable
VIL
17
VIH
Data
VIL
Address Stable
17
Invalid
Valid
Invalid
Valid
VH
VPP
VIL
VH
EPM
VIL
5.5V
12
VCC
4.5V
VIH
/CE
VIL
5
VIH
/OE
16
VIL
16
16
VIH
/PGM
VIL
3
36
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
VIH
Address
VIH
Data
Address Stable
VIL
Data Stable
VIL
10
VH
VPP
VIH
3
VH
EPM
VIL
6V
VCC
4.5V
VIH
/CE
VIL
5
VIH
/OE
VIL
13
16
VIH
/PGM
VIL
6
11
Program Cycle
Verify Cycle
DS97Z8X0401
PRELIMINARY
37
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
VIH
Address
VIL
VIH
Data
VIL
VH
VPP
VIH
3
6V
VCC
4.5V
4
VH
/CE
VIH
5
/OE
VIH
VH
EPM
VIH
VIL
VIH
/PGM
VIH
12
12
13
13
VIL
15
15
EPROM
Protect
Low
Noise
38
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
VIH
Address
VIL
VIH
Data
VIL
VH
VPP
VIH
3
6V
VCC
4.5V
4
VH
/CE
VIH
VIH
/OE
VIL
12
12
13
13
VIH
EPM
VIL
VIH
/PGM
12
12
13
13
VIL
15
15
15
Auto Latch
WDT
EPROM/Test
Mode Disable
DS97Z8X0401
PRELIMINARY
39
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Start
Addr =
First Location
Vcc = 6.4V
Vpp = 13.0V
N=0
Program
1 ms Pulse
Increment N
Yes
N = 25 ?
No
Fail
Verify
One Byte
Verify Byte
Fail
Pass
Pass
Prog. One Pulse
3xN ms Duration
Increment
Address
No
Last Addr ?
Yes
Vcc = Vpp = 4.5V
Verify All
Bytes
Pass
Fail
Verify All
Bytes
Pass
Device Failed
Fail
Device Passed
40
PRELIMINARY
DS97Z8X0401
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
Z8 CONTROL REGISTERS
R244 T0
R241 TMR
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
T0 Initial Value
(When Written)
(Range: 1-256 Decimal
01-00 HEX)
T0 Current Value
(When READ)
0 No Function
1 Load T0
0 Disable T0 Count
1 Enable T0 Count
0 No Function
1 Load T1
0 Disable T1 Count
1 Enable T1 Count
TIN Modes
00 External Clock Input
01 Gate Input
10 Trigger Input
(Non-retriggerable)
11 Trigger Input
(Retriggerable)
R245 PRE0
D7 D6 D5 D4 D3 D2 D1 D0
Reserved (Must be 0)
Count Mode
0 T0 Single Pass
1 T0 Modulo N
Reserved (Must be 0)
Prescaler Modulo
(Range: 1-64 Decimal
01-00 HEX)
R242 T1
D7 D6 D5 D4 D3 D2 D1 D0
T 1 Initial Value
(When Written)
(Range 1-256 Decimal
01-00 HEX)
T 1 Current Value
(When READ)
R246 P2M
D7 D6
D5
D4 D3
D2 D1
D0
R247 P3M
D7 D6 D5 D4 D3 D2 D1 D0
Prescaler Modulo
(Range: 1-64 Decimal
01-00 HEX)
0 Port 2 Open-Drain
1 Port 2 Push-pull
Port 3 Inputs
0 Digital Mode
1 Analog Mode
Reserved (Must be 0)
DS97Z8X0401
PRELIMINARY
41
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
R251 IMR
R248 P01M
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
1 Enables IRQ0-IRQ5
(D0 = IRQ0)
P02-P00 Mode
00 = Output
01 = Input
D5 D4 D3 D2 D1
D0
R249 IPR
D7
D6 D5 D4
D3 D2 D1
D0
User Flag F1
User Flag F2
R253 RP
D7 D6 D5 D4 D3 D2 D1 D0
R250 IRQ
D7 D6
D5 D4 D3 D2
D1 D0
R255 SPL
D7 D6
D5 D4 D3
D2 D1 D0
Reserved (Must be 0)
Stack Pointer Lower
Byte (SP 7 - SP 0 )
42
PRELIMINARY
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
PACKAGE INFORMATION
DS97Z8X0401
PRELIMINARY
43
Z86E04/E08
CMOS Z8 OTP Microcontrollers
Zilog
ORDERING INFORMATION
Z86E04
Z86E08
18-Pin DIP
18-Pin SOIC
18-Pin DIP
18-Pin SOIC
Z86E0412PSC
Z86E0412PEC
Z86E04012SC
Z86E0412SEC
Z86E0812PSC
Z86E0812PEC
Z86E0812SSC
Z86E0812SEC
For fast results, contact your local Zilog sales office for assistance in ordering the part(s) desired.
Codes
Preferred Temperature
S = 0C to +70C
E = 40C to +105C
Preferred Package
P = Plastic DIP
Speeds
12 =12 MHz
Environmental
C = Plastic Standard
Example:
Z 86E04 12 P S C
44
PRELIMINARY
DS97Z8X0401