P
RELIMINARY
C
USTOMER
P
ROCUREMENT
S
PECIFICATION
1
Z86K13/K14/K15
K16/K17/K18
CMOS Z8
®
8-B
IT
MCU
K
EYBOARD
C
ONTROLLERS
FEATURES
Device
Z86K13
Z86K14
Z86K15
Z86K16
Z86K17
Z86K18
ROM
(KB)
2
3
4
2
3
4
I/O
Lines
32
32
32
32
32
32
Speed
(MHz)
4-5
4-5
4-5
4-5
4-5
4-5
Pin Count/
Package
40-DIP, 44-PLCC,
44-QFP, COB
40-DIP, 44-PLCC,
44-QFP, COB
40-DIP, 44-PLCC,
44-QFP, COB
40-DIP, 44-PLCC,
44-QFP, COB
40-DIP, 44-PLCC,
44-QFP, COB
40-DIP, 44-PLCC,
44-QFP, COB
s
s
1
Low-Power Consumption: 60 mW @ 5 MHz
Five Vectored, Priority Interrupts from FIve Different
Sources
A Programmable 8-Bit Counter/Timer, with 6-Bit
Programmable Prescaler
Power-On-Reset (POR) Timer, Hardware Watch-Dog
Timer (WDT)
Digital Inputs CMOS Levels with Internal Pull-Up
Resistors
Four Direct Connect LED Drive Ports
On-Chip RC Oscillator (Z86K13/14/15)
On-Chip Oscillator that Accepts a Crystal, Ceramic
Resonator, LC, or External Clock Drive (Z86K16/17/18)
Low System EMI Emission
s
s
s
s
s
s
s
s
s
4.5V to 5.5 V Operating Range
0
°
C to +70
°
C Operating Temperature Range
188 Bytes of Ram
s
GENERAL DESCRIPTION
The Z86KXX Keyboard Controllers are full-featured mem-
bers of the Z8
®
MCU family offering a unique register-to-
register architecture that avoids accumulator bottlenecks
and is more code efficient than RISC processors.
For keyboard applications demanding powerful I/O capa-
bilities, the Z86KXX provides 32 pins dedicated to input
and output for row, column, clock, data, and LEDs.
The on-chip counter/timer is available to relieve the system
of administering real-time tasks.
Five different internal or external interrupt sources are
maskable and prioritized in which a vectored address is
provided for efficient interrupt subroutine handling and
multitasking functions.
The Z86K15 achieves low EMI by means of several modi-
fications in the output drivers and clock circuitry of the de-
vice.
DS97KEY0204
PRELIMINARY
1
Z86K13/K14/K15/K16/K17/K18
CMOS Z8® 8-Bit MCU Keyboard Controllers
Zilog
GENERAL DESCRIPTION
(Continued)
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). Power connections follow
conventional descriptions below:
Connection
Power
Ground
Circuit
V
CC
Device
V
DD
V
SS
GND
XTAL1
VCC
Output Input
4
4
VCC
GND
3.3 V
VR
Port 3
Machine
Timing & Inst.
Control
WDT
ALU
D+
D-
USB SIE
and Trans
POR
Flags
Counter/
Timers
Register
Pointer
Interrupt
Control
Register File
208 x 8-Bytes
Program
Memory
4 KB ROM
Program
Counter
Port 2
Port 0
Port 1
4
I/O
Input (Bit Programmable)
8
Open-Drain
Output
8
Open-Drain
Output
Figure 1. Z86KXX Functional Block Diagram
2
PRELIMINARY
XTAL2
DS97KEY0204
Zilog
Z86K13/K14/K15/K16/K17/K18
CMOS Z8® 8-Bit MCU Keyboard Controllers
PIN DESCRIPTION
P30
P31
P32
P33
*NC
*NC
P27
P26
P25
P24
GND
VCC
P00
P01
P02
P03
P04
P05
P06
P07
1
40
Z86KXX
DIP
20
21
P23
P22
P21
P20
P37
P36
P35
P34
RCIN/XTAL1
AGND/XTAL2
GND
VCC
P17
P16
P15
P14
P13
P12
P11
P10
1
Notes:
*Pin 5 and 6 used for testing Ground during normal operation.
When Pin 5 is connected to V
CC
. Pin 6 is CLK OUT.
When Pin 5 is connected to GND, Pin 6 outputs nothing.
These pins must be tied to ground in application.
Figure 2. 40-Pin DIP Configuration
Table 1. 40-Pin DIP Pin Identification
Pin #
1-4
5-6
7-10
11
12
13-20
21-28
29
30
31
32
33-36
37-40
Symbol
P30-P33
NC
P27-P24
GND
V
CC
P00-P07
P10-P17
V
CC
GND
AGND/XTAL2
RCIN/XTAL1
P34-P37
P20-P23
Function
Port 3, Pins 0,1,2,3
Tied to GND
Port 2, Pins 7,6,5,4
Ground
Power Supply
Port 0, Pins 0,1,2,3,4,5,6,7
Port 1, Pins 0,1,2,3,4,5,6,7
Power Supply
Ground
Analog Ground or Crystal Clock Out
RCIN/Crystal Oscillator Clock
Port 3, Pins 4,5,6,7
Port 2, Pins 0,1,2,3
Direction
Input
In/Output
Input
Output
Output
Input
Output
Input
DS97KEY0204
PRELIMINARY
3
Z86K13/K14/K15/K16/K17/K18
CMOS Z8® 8-Bit MCU Keyboard Controllers
Zilog
PIN DESCRIPTION
(Continued)
NC
P27
P26
P25
P24
GND
VCC
P00
P01
P02
P03
7
NC
NC
P33
P32
P31
P30
P23
P22
P21
P20
P37
6
1
40
39
Z86KXX
PLCC
17
18
29
28
NC
P36
P35
P34
RCIN/XTAL1
NC
AGND/XTAL2
GND
VCC
P17
NC
Notes:
Pins 5 and 6 used for testing. Ground during normal operation
When Pin 43 is connected to V
CC
, Pin 44 is CLKOUT.
When Pin 43 is connected to GND. Pin 44 outputs nothing.
Figure 3. 44-Pin PLCC Pin Assignments
Table 2. 44-Pin PLCC Pin Assignments
Pin #
1-4
5-7
8-11
12
13
14-21
22-28
29
Symbol
P30-P33
NC
P27-P24
GND
V
CC
P00-P07
P10-P16
NC
Function
Direction
Pin #
30
31
32
33
Table 2. 44-Pin PLCC Pin Assignments
Symbol
P17
V
CC
Function
Port 1, Pin 7
Power Supply
Direction
Output
Port 3, Pins
Input
0,1,2,3
Test Pins (GND)
Port 2, Pins
In/Output
4,5,6,7
Ground
Power Supply
Port 0, Pins
Output
0,1,2,3,4,5,6,7
Port 1, Pins
Output
0,1,2,3,4,5,6
Not Connected
4
P04
P05
P06
P07
P10
P11
P12
P13
P14
P15
P16
34
35
36-38
39
40
41-44
GND
Ground
AGND/ XTAL2 Analog Ground
or Crystal Clock
Out
NC
Not Connected
RCIN/ XTAL1 RCIN/Crystal Input
Oscillator Clock
P34-P37
Port 3, Pins
Output
4,5,6,7
NC
Not Connected
P37
Port 3, Pin 7
Output
P20-P23
Port 2, Pins
In/Output
0,1,2,3
PRELIMINARY
DS97KEY0204
Zilog
Z86K13/K14/K15/K16/K17/K18
CMOS Z8® 8-Bit MCU Keyboard Controllers
NC
P36
P35
P34
RCIN/XTAL1
NC
AGND/XTAL2
GND
VCC
P17
NC
1
P16
P15
P14
P13
P12
P11
P10
P07
P06
P05
P04
33
P37
P20
P21
P22
P23
P30
P31
P32
P33
NC
NC
34
23
22
Z86KXX
QFP
44
1
12
11
Notes:
Pins 43 and 44 are used for testing ground during normal operation.
When Pin 45 is connected to V
CC
, Pin 46 is CLKOUT.
When Pin 45 is connected to GND. Pin 46 outputs nothing.
Figure 4. 44-Pin QFP Pin Assignments
Table 3. 44-Pin QFP Pin Identification
Pin #
1
2-5
6
7
8-15
16-22
23
24
25
Symbol
NC
P24-P27
GND
V
CC
P00-P07
P10-P16
NC
P17
V
CC
Function
Not Connected
Port 2, Pins
4,5,6,7
Ground
Supply Voltage
Port 0, Pins
0,1,2,3,4,5,6,7,
Port 1, Pins
0,1,2,3,4,5,6
Not Connected
Port 1, Pin 7
Supply Voltage
Direction
In/Output
Pin #
26
27
28
29
Output
Output
30-32
33
34
35-38
39-42
43-44
NC
P27
P26
P25
P24
GND
VCC
P00
P01
P02
P03
Table 3. 44-Pin QFP Pin Identification
Symbol
Function
Direction
Output
GND
Ground
AGND/ XTAL2 Analog Ground/
Crystal Clock Out
NC
Not Connected
RCIN / XTAL1 RCIN/Crystal
Oscillator Clock
P34-P36
Port 3, Pins 4,5,6
NC
Not Connected
P37
Port 3, Pin 7
P20-P23
Port 2, Pins
0,1,2,3
P30-P33
Port 3, Pins
0,1,2,3
NC
Test Pins (GND)
Input
Output
Output
Input
Input
DS97KEY0204
PRELIMINARY
5