P
RELIMINARY
P
RODUCT
S
PECIFICATION
1
Z86E30/E31/E40
Z8 4K OTP M
ICROCONTROLLER
FEATURES
Device
Z86E30
Z86E31
Z86E40
ROM
(KB)
4
2
4
RAM*
(Bytes)
237
125
236
I/O
Lines
24
24
32
Speed
(MHz)
16
16
16
s
1
Note:
*General-Purpose
s
s
s
Programmable OTP Options:
RC Oscillator
EPROM Protect
Auto Latch Disable
Permanently Enabled WDT
Crystal Oscillator Feedback Resistor Disable
RAM Protect
Low-Power Consumption: 60 mW
Fast Instruction Pointer: 0.75
µ
s
Two Standby Modes: STOP and HALT
Digital Inputs CMOS Levels, Schmitt-Triggered
Software Programmable Low EMI Mode
Two Programmable 8-Bit Counter/Timers Each
with a 6-Bit Programmable Prescaler
Six Vectored, Priority Interrupts from Six
Different Sources
Two Comparators
On-Chip Oscillator that Accepts a Crystal, Ceramic
Resonator, LC, RC, or External Clock Drive
Standard Temperature (V
CC
= 3.5V to 5.5V)
Extended Temperature (V
CC
= 4.5V to 5.5V)
Available Packages:
28-Pin DIP/SOIC/PLCC OTP (Z86E30/31 only)
28-Pin DIP Window (Z86E30/31 only)
40-Pin DIP OTP/Window (Z86E40 only)
44-Pin PLCC/QFP OTP (Z86E40 only)
44-Pin PLCC Window (Z86E40 only)
Software Enabled Watch-Dog Timer (WDT)
s
s
s
s
s
s
s
s
s
Push-Pull/Open-Drain Programmable on
Port 0, Port 1, and Port 2
s
s
s
s
24/32 Input/Output Lines
s
Auto Latches
Auto Power-On Reset (POR)
GENERAL DESCRIPTION
The Z86E30/E31/E40 8-Bit One-Time Programmable
(OTP) Microcontrollers are members of Zilog's single-chip
Z8
®
MCU family featuring enhanced wake-up circuitry,
programmable Watch-Dog Timers, Low Noise EMI op-
tions, and easy hardware/software system expansion ca-
pability.
Four basic address spaces support a wide range of mem-
ory configurations. The designer has access to three addi-
tional control registers that allow easy access to register
mapped peripheral and I/O circuits.
For applications demanding powerful I/O capabilities, the
Z86E30/E31 have 24 pins, and the Z86E40 has 32 pins of
dedicated input and output. These lines are grouped into
four ports, eight lines per port, and are configurable under
software control to provide timing, status signals, and par-
DS97Z8X0500
PRELIMINARY
1
Z86E30/E31/E40
Z8 4K OTP Microcontroller
allel I/O with or without handshake, and address/data bus
for interfacing external memory.
Notes:
All Signals with a preceding front slash, "/", are
active Low, for example, B//W (WORD is active Low); /B/W
(BYTE is active Low, only).
Zilog
Power connections follow conventional descriptions be-
low:
Connection
Power
Ground
Circuit
V
CC
GND
Device
V
DD
V
SS
(E40 Only)
VCC
Output Input
GND
XTAL /AS /DS R//W /RESET
Port 3
Machine Timing
&
Instruction Control
RESET
WDT POR
,
Counter/
Timers (2)
ALU
FLAGS
Interrupt
Control
Register
Pointer
Register File
Program
Counter
OTP
Two Analog
Comparators
Port 2
Port 0
Port 1
4
I/O
(Bit Programmable)
4
8
Address/Data or I/O
(Byte Programmable)
(E40 Only)
Address or I/O
(Nibble Programmable)
Figure 1. Z86E30/E31/E40 Functional Block Diagram
2
PRELIMINARY
DS97Z8X0500
Zilog
Z86E30/E31/E40
Z8 4K OTP Microcontroller
P21
P22
P23
P24
/DS
NC
R//W
P25
P26
P27
P04
7
P20
P03
P13
P12
GND
GND
P02
P11
P10
P01
P00
1
P30
P36
P37
P35
/RESET
R//RL
/AS
P34
P33
P32
P31
6
1
40
39
44-Pin PLCC
17
18
29
28
Figure 4. 44-Pin PLCC Pin Configuration
Standard Mode
Table 2. 44-Pin PLCC Pin Identification
Pin #
1-2
3-4
5
6-10
11
12
13
14-16
17-19
20-21
22
23-24
25-26
27
28
29-31
32
Symbol
GND
P12-P13
P03
P20-P24
/DS
NC
R//W
P25-P27
P04-P06
P14-P15
P07
VCC
P16-P17
XTAL2
XTAL1
P31-P33
P34
Function
Direction
Pin #
33
34
35
36
37
38
39
40-41
42-43
44
P05
P06
P14
P15
P07
VCC
VCC
P16
P17
XTAL2
XTAL1
Table 2. 44-Pin PLCC Pin Identification
Symbol
/AS
R//RL
/RESET
P35
P37
P36
P30
P00-P01
P10-P11
P02
Function
Address Strobe
ROM/ROMless
select
Reset
Port 3, Pin 5
Port 3, Pin 7
Port 3, Pin 6
Port 3, Pin 0
Port 0, Pins 0,1
Port 1, Pins 0,1
Port 0, Pin 2
Direction
Output
Input
Input
Output
Output
Output
Input
In/Output
In/Output
In/Output
Ground
Port 1, Pins 2,3 In/Output
Port 0, Pin 3
In/Output
Port 2, Pins
In/Output
0,1,2,3,4
Data Strobe
Output
No Connection
Read/Write
Output
Port 2, Pins 5,6,7In/Output
Port 0, Pins 4,5,6In/Output
Port 1, Pins 4,5 In/Output
Port 0, Pin 7
In/Output
Power Supply
Port 1, Pins 6,7 In/Output
Crystal Oscillator Output
Crystal Oscillator Input
Port 3, Pins 1,2,3Input
Port 3, Pin 4
Output
DS97Z8X0500
PRELIMINARY
5