P
RODUCT
S
PECIFICATION
1
Z86E23
K
EYBOARD
M
ICROCONTROLLER
WITH
8K OTP
FEATURES
Device
Z86E23
EPROM
(KB)
8
RAM*
(Bytes)
236
I/O
Lines
32
Voltage
Range
4.5V to 5.5V
s
s
s
1
8 KB of EPROM
256 Bytes of RAM (236 for General-Purpose)
Two Programmable 8-Bit Counter/Timers Each With a
6-Bit Programmable Prescaler
Six Vectored, Priority Interrupts from Eight Different
Sources
System Clock Speeds up to 4 MHz
On-Chip Oscillator that Accepts a Crystal, Ceramic
Resonator, LC or External Clock Drive
Note:
*General-Purpose
s
s
40-Pin DIP or 44-Pin PLCC Package
Low Power Consumption - 165 mW (max.)
With Two Standby Modes: STOP & HALT
All Digital Inputs are TTL Levels
High-Voltage Protection on High-Voltage Inputs
s
s
s
s
s
GENERAL DESCRIPTION
The Z86E23 microcontroller is a member of the Z8
®
MCU
single-chip family with 8 KB of EPROM and 236 bytes of
general-purpose RAM.
The Z86E23 is a pin-compatible, One-Time-Programma-
ble (OTP) version of the Z8614 and Z8602 Keyboard Con-
troller.
Zilog’s CMOS microcontroller offers fast execution, effi-
cient use of memory, sophisticated interrupts, input/output
bit manipulation capabilities, and easy hardware/software
system expansion along with low-cost and low-power con-
sumption.
The Z86E23 architecture is based on Zilog’s 8-bit micro-
controller core. The device offers a flexible I/O scheme, an
efficient register and address space structure, and a num-
ber of ancillary features that are useful in many industrial
and advanced scientific applications.
There are two basic address spaces available to support
this wide range of configurations: Program Memory and
236 general-purpose registers.
To unburden the program from coping with real-time prob-
lems such as counting/timing, the Z86E23 offers two on-
chip counter/timers with a large number of user selectable
modes (Figure 1).
Power connections follow conventional descriptions be-
low:
Connection
Power
Ground
Circuit
V
CC
GND
Device
V
DD
V
SS
DS97KEY1801
1
Z86E23
Keyboard Microcontroller with 8K OTP
Zilog
GENERAL DESCRIPTION
(Continued)
Output Input
Vcc
GND
XTAL
/RESET
Port 3
Machine Timing and
Instruction Control
ALU
Counter/
Timers (2)
FLAGS
Prg. Memory
8192 x 8-Bit
Interrupt
Control
Register
Pointer
Register File
256 x 8-Bit
Program
Counter
Port 2
Port 0
4
4
Port 1
8
I/O
(Byte Programmable)
Output Open-Drain
I/O
(Bit Programmable)
I/O
(Nibble Programmable)
Output Open-Drain
Figure 1. Functional Block Diagram
2
DS97KEY1801
Zilog
Z86E23
Keyboard Microcontroller with 8K OTP
PIN DESCRIPTION
Standard Mode
Table 1. 40-Pin DIP Configuration
VCC
XTAL2
XTAL1
P37
P30
RESET
*NC
*NC
GND†
P35
GND
P32
P00
P01
P02
P03
P04
P05
P06
P07
1
40
P36
P31
P27
P26
P25
P24
P23
P22
P21
P20
P33
P34
P17
P16
P15
P14
P13
P12
P11
P10
1
Pin #
1
2
3
4
5
6
7
8
9
10
11
12
13-20
21-28
29
30
31-38
39
40
Symbol
V
CC
XTAL2
XTAL1
P37
P30
RESET
*NC
*NC
GND†
P35
GND
P32
P00-P07
P10-P17
P34
P33
P20-P27
P31
P36
Function
Power Supply
Crystal, Oscillator
Clock
Crystal, Oscillator
Clock
Port 3, Pin 7
Port 3, Pin 0
Reset
No Connection
No Connection
Ground
Port 3, Pin 5
Ground
Port 3, Pin 2
Port 0, Pins
0,1,2,3,4,5,6,7
Port 1, Pins
0,1,2,3,4,5,6,7
Port 3, Pin 4
Port 3, Pin 3
Port 2, Pins
0,1,2,3,4,5,6,7
Port 3, Pin 1
Port 3, Pin 6
Direction
Input
Output
Input
Output
Input
Input
DIP 40 - Pin
Input
Output
Input
Input
In/Output
In/Output
Output
Input
In/Output
Input
Output
20
21
Figure 2. 40-Pin DIP Pin Configuration
Note:
*Pins 7 and 8 are used for testing purposes. The customer must
use these pins as “floaters.”
†To avoid System ESD failure in Standard Mode, Pin 9 must be
grounded.
DS97KEY1801
3
Z86E23
Keyboard Microcontroller with 8K OTP
Zilog
PIN DESCRIPTION
(Continued)
RESET
*NC
*NC
GND†
P35
GND
P32
P00
P01
P02
R/RL
7
NC
P30
P37
XTAL1
XTAL2
VCC
P36
P31
P27
P26
P25
6
1
40
39
PLCC 44 - Pin
17
18
29
28
NC
P24
P23
P22
P21
P20
P33
P34
P17
P16
P15
Figure 3. 44-Pin PLCC Pin Configuration
Table 2. 44-Pin PLCC Pin Identification
Pin #
1
2
3
4
5
6
7
8
9
10
11
12
13
14-16
17
Symbol
V
CC
XTAL2
XTAL1
P37
P30
N/C
RESET
*NC
*NC
GND†
P35
GND
P32
P00-P02
R/RL
Function
Power Supply
Crystal, Oscillator
Clock
Crystal, Oscillator
Clock
Port 3, Pin 7
Port 3, Pin 0
Not Connected
Reset
Not Connected
Not Connected
Ground
Port 3, Pin 5
Ground
Port 3, Pin 2
Port 0, Pins 0,1,2
ROM/ROMless
Control
Direction
Input
Output
23-27
Input
Output
Input
Input
28
29-31
32
33
34-38
39
40-42
43
44
Pin #
18-22
P03
P04
P05
P06
P07
P10
P11
P12
P13
P14
NC
Table 2. 44-Pin PLCC Pin Identification
Symbol
P03-P07
P10-P14
NC
P15-P17
P34
P33
P20-P24
NC
P25-P27
P31
P36
Function
Port 0, Pins
3,4,5,6,7
Port 1, Pins
0,1,2,3,4
Not Connected
Port 1, Pins 5,6,7
Port 3, Pin 4
Port 3, Pin 3
Port 2, Pins
0,1,2,3,4
Not Connected
Port 2, Pins 5,6,7
Port 3, Pin 1
Port 3, Pin 6
Direction
In/Output
In/Output
In/Output
Output
Input
In/Output
Output
Input
Input
In/Output
Input
In/Output
Input
Output
Notes:
*Pins 8 and 9 are used for testing purposes. The customer must
use these pins as “floaters.”
†To avoid System ESD failure in Standard Mode, Pin 10 must
be grounded.
4
DS97KEY1801
Zilog
Z86E23
Keyboard Microcontroller with 8K OTP
PIN DESCRIPTION
EPROM Mode
Table 3. 40-Pin DIP Pin Identification
VCC
NC
XTAL1
NC
CE
RESET
*NC
*NC
VPP
NC
GND
EPM
A0
A1
A2
A3
A4
A5
A6
A7
1
21
NC
OE
PGM
NC
NC
A12
A11
A10
A9
A8
GND†
NC
D7
D6
D5
D4
D3
D2
D1
D0
1
Pin #
1
2
3
4
5
6
7
8
9
10
11
12
13-20
21-28
29
30
31-35
36-37
38
39
40
Notes:
Symbol
V
CC
NC
XTAL1
NC
CE
RESET
*NC
*NC
VPP
NC
GND
EPM
A0-A7
D0-D7
NC
GND†
A8-A12
NC
/PGM
/OE
NC
Function
Power Supply
Not Connected
Crystal, Oscillator
Clock
Not Connected
Chip Enable
Reset
Not Connected
Not Connected
Prog Voltage
Not Connected
Ground
EPROM Prog
Mode
Address
0,1,2,3,4,5,6,7
Data
0,1,2,3,4,5,6,7
Not Connected
Ground
Address
8,9,10,11,12
Not Connected
Prog Mode
Output Enable
Not Connected
Direction
Input
Input
Input
Input
Input
DIP 40 - Pin
Input
Input
Input
Input
In/Output
20
40
Figure 4. 40-Pin DIP Pin Configuration
(EPROM Mode)
Input
Input
Input
Input
*Pins 7 and 8 are used for testing purposes. The
customer must use these pins as “floaters.”
†To avoid System ESD failure in Standard Mode, Pin 30
must be grounded.
DS97KEY1801
5