ZILOG Z86C15

Z86C15
CP96KEY0603
CUSTOMERPROCUREMENTSPECIFICATION
Z86C15
CMOS Z8® 8-BIT MCU
KEYBOARDCONTROLLER
FEATURES
ROM
(Kbytes)
RAM*
(Bytes)
I/O
Lines
Speed
(MHz)
Pin Count /
Package
4
236
32
5
40 DIP
44 PLCC
44 QFP
* General-Purpose
n
n
Six Vectored, Priority Interrupts from
Six Different Sources
n
Two Programmable 8-Bit Counter/Timers,
Each with 6-Bit Programmable Prescaler
n
Power-On Reset (POR) Timer, Hardware Watch-Dog
Timer (WDT)
n
Digital Inputs CMOS Levels with
Internal Pull-Up Resistors
4.5- to 5.5-Volt Operating Range
n
0°C to 70°C Operating Temperature Range
n
Expanded Register File
n
Four Direct Connect LED Drive Ports
n
Low-Power Consumption: 30 mW @ 5 MHz Typical
n
On-Chip RC Oscillator, 4 MHz to 5 MHz
GENERAL DESCRIPTION
The Z86C15 Keyboard Controller is a full-featured member of the Z8 ® microcontroller family offering a unique
register-to-register architecture that avoids accumulator
bottlenecks and is more code efficient than RISC
processors.
For applications demanding powerful I/O capabilities, the
Z86C15 provides 32 pins dedicated to input and output.
These lines are grouped into four ports, each port consisting of eight lines, and are configurable under software
control to provide timing, status signals, and serial or
parallel I/O ports.
Two on-chip counter/timers, with a large number of userselectable modes, are available to relieve the system of
administering real-time tasks, such as counting/timing and
I/O datacommunications.
The Z86C15 achieves low-EMI by means of several modifications in the output drivers and clock circuitry of the
device.
By means of an expanded register file, the designer has
access to three additional system control registers that
provide extra peripheral devices, I/O ports, and register
addresses (see Functional Block Diagram).
Notes:
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).
Power connections follow conventional descriptions below:
Connection
Circuit
Device
Power
Ground
VCC
GND
VDD
VSS
Six different internal or external interrupt sources are
maskable and prioritized so a vectored address is provided for efficient interrupt subroutine handling and
multitasking functions.
CP96KEY0603 (3/96)
1
Z86C15
CP96KEY0603
Machine
Timing & Inst.
Control
Port 3
WDT
ALU
Counter/
Timers (2)
POR
Flags
Program
Memory
Register
Pointer
Interrupt
Control
Port 2
Port 0
4
I/O
(Bit Programmable)
Program
Counter
Register File
258 x 8-Bit
Port 1
4
I/O
(Nibble Programmable)
8
I/O
(Byte Programmable)
Z86C15 Functional Block Diagram
2
/WDTOUT
GND
/RESET
Vcc
CLKOUT
Output Input
RCIN
GENERAL DESCRIPTION (Continued)
Z86C15
CP96KEY0603
PIN IDENTIFICATION
VCC
1
40
P36
CLKOUT
RCIN
P37
2
3
4
39
P31
P30
/RESET
5
6
38
37
36
P27
P26
P25
AGND
*NC
/WDTOUT
7
8
35
34
P24
P23
33
32
P22
P21
31
30
P20
P33
29
28
P34
P17
27
26
P16
P15
25
24
P14
P13
23
22
21
P12
P11
P10
P35
GND
P32
P00
P01
P02
P03
P04
P05
P06
P07
9
10
11
12
Z86C15
DIP
13
14
15
16
17
18
19
20
*Note: Pin 8 is connected to the chip, although it is
used only for testing. This pin must float.
40-Pin DIP Pin Configuration
40-Pin DIP Pin Identification
Pin #
Symbol
Function
Direction
Pin #
Symbol
Function
1
2
3
4
5
VCC
CLKOUT
RCIN
P37
P30
Power Supply
Z8 System Clock
RC Oscillator Clock
Port 3, Pin 7
Port 3, Pin 0
Input
Output
Input
Output
Input
11
12
13-20
21-28
29
GND
P32
P00-P07
P10-P17
P34
Ground
Port 3, Pin 2
Input
Port 0, Pins 0,1,2,3,4,5,6,7 In/Output
Port 1, Pins 0,1,2,3,4,5,6,7 In/Output
Port 3, Pin 4
Output
6
7
*8
9
10
/RESET
AGND
NC
/WDTOUT
P35
Reset
Analog Ground
Not Connected
Watch-Dog Timer
Port 3, Pin 5
Input
30
31-38
39
40
P33
P20-P27
P31
P36
Port
Port
Port
Port
Output
Output
Direction
3, Pin 3
Input
2, Pins 0,1,2,3,4,5,6,7 In/Output
3, Pin 1
Input
3, Pin 6
Output
3
Z86C15
CP96KEY0603
VCC
2
1 44 43 42 41 40
P25
CLKOUT
3
P26
RCIN
4
P27
P37
5
P31
P30
6
P36
N/C
PIN IDENTIFICATION (Continued)
/RESET
7
39
N/C
AGND
8
38
P24
*N/C
9
37
P23
/WDTOUT
10
36
P22
P35
11
35
P21
34
P20
33
P33
Z86C15
PLCC
GND
12
P32
13
P00
14
32
P34
P01
15
31
P17
P02
16
30
P16
N/C
17
29
P15
N/C
P14
P13
P12
P11
P10
P07
P06
P05
P04
P03
18 19 20 21 22 23 24 25 26 27 28
*Note: Pin 9 is connected to the chip, although it is used
only for testing. This pin must float.
44-Pin PLCC Pin Assignments
44-Pin PLCC Pin Identification
Pin #
Symbol
Function
Direction
Pin #
Symbol
Function
Direction
1
2
3
4
VCC
CLKOUT
RCIN
P37
Power Supply
Z8 System Clock
RC Oscillator Clock
Port 3, Pin 7
Input
Output
Input
Output
14-16
17
18-22
23-27
P00-P02
N/C
P03-P07
P10-P14
Port
Not
Port
Port
0, Pins 0, 1, 2
Connected
0, Pins 3, 4, 5, 6, 7
1, Pins 0, 1, 2, 3, 4
In/Output
5
6
7
8
P30
N/C
/RESET
AGND
Port 3, Pin 0
Not Connected
Reset
Analog Ground
Input
28
29-31
32
33
N/C
P15-P17
P34
P33
Not
Port
Port
Port
Connected
1, Pins 5, 6, 7
3, Pin 4
3, Pin 3
*9
10
11
12
13
N/C
/WDTOUT
P35
GND
P32
Not Connected
Watch-Dog Timer
Port 3, Pin 5
Ground
Port 3, Pin 2
34-38
39
40-42
43
44
P20-P24
N/C
P25-P27
P31
P36
Port
Not
Port
Port
Port
2, Pins 0, 1, 2, 3, 4
Connected
2, Pins 5, 6, 7
3, Pin 1
3, Pin 6
4
Input
Output
Output
Input
In/Output
In/Output
In/Output
Output
Input
In/Output
In/Output
Input
Output
P26
P25
P27
N/C
P30
P37
RCIN
CLKOUT
VCC
P36
P31
Z86C15
CP96KEY0603
44 43 42 41 40 39 38 37 36 35 34
1
33
2
32
/WDTOUT
3
4
31
30
P35
5
GND
P32
P00
6
/RESET
AGND
*N/C
Z86C15
QFP
7
8
9
10
11
P01
P02
N/C
N/C
P24
29
P23
P22
P21
28
27
26
25
24
23
P33
P34
P17
P16
P15
P20
N/C
P11
P12
P13
P14
P10
P07
P03
P04
P05
P06
12 13 14 15 16 17 18 19 20 21 22
*Note: Pin 3 is connected to the chip, although it is used
only for testing. This pin must float.
44-Pin QFP Pin Assignments
44-Pin QFP Pin Identification
Pin # Symbol
Function
Direction
Pin # Symbol
Function
Direction
1
2
*3
4
/RESET
AGND
N/C
/WDTOUT
Reset
Analog Ground
Not Connected
Watch-Dog Timer
Input
26
27
28-32
33
P34
P33
P20-P24
N/C
Port
Port
Port
Not
Output
Input
In/Output
5
6
7
8-10
11
P35
GND
P32
P00-P02
N/C
Port 3, Pin 5
Ground
Port 3, Pin 2
Port 0, Pins 0, 1, 2
Not Connected
Output
34-36
37
38
39
P25-P27
P31
P36
VCC
Port 2, Pins 5, 6, 7
Port 3, Pin 1
Port 36
Power Supply
In/Output
Input
Output
12-16
17-21
22
23-25
P03-P07
P10-P14
N/C
P15-P17
Port
Port
Not
Port
In/Output
In/Output
40
41
42
43
44
CLKOUT
RCIN
P37
P30
N/C
Z8 System Clock
RC Oscillator Clock
Port 3, Pin 7
Port 3, Pin 0
Not Connected
Output
Input
Output
Input
0, Pins 3,4,5,6,7
1, Pins 0,1,2,3,4
Connected
1, Pins 5, 6,7
Output
Input
In/Output
Input
In/Output
3, Pin 4
3, Pin 3
2, Pins 0, 1, 2, 3, 4
Connected
5
Z86C15
CP96KEY0603
ABSOLUTE MAXIMUM RATINGS
Symbol
Description
Min
Max Units
VCC
TSTG
TA
Supply Voltage*
Storage Temp
Oper Ambient Temp
–0.3
–65
0
+7.0
+150
+105
V
°C
°C
Notes:
* Voltage on all pins with respect to GND.
Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; 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 extended periods
may affect device reliability.
STANDARD TEST CONDITIONS
Standard Test Conditions. The characteristics listed
here apply for standard test conditions as noted. All
voltages are referenced to GND. Positive current flows into
the referenced pin (Test Load).
From Output
Under Test
150 pF
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
Max
12 pF
12 pF
12 pF
FREQUENCY
Frequency 4 MHz – 5 MHz
Tolerance ±10%
Frequency tolerance limit only applies to the packaged device and not die or wafer.
6
Z86C15
CP96KEY0603
DC CHARACTERISTICS (Z86C15)
VCC = 5.0V ±10% @ 0°C to +70°C
Parameter
VCH
VCL
VIH
VIL
Clock Input High Voltage
Clock Input Low Voltage
Input High Voltage
Input Low Voltage
0.7 VCC VCC to +0.3V
GND –0.3
0.2 VCC
0.7 VCC
VCC + 0.3
GND –0.3
0.2VCC
2.5
1.5
2.5
1.5
V
V
V
V
VRH
VRL
VOH
VOH
VOL
VOL
IOL
Reset Input High Voltage
Reset Input Low Voltage
Output High Voltage
Output High Voltage
Output Low Voltage
Output Low Voltage
Output Low
0.8 VCC
GND –0.3
VCC –0.4
VCC 0.6
2.1
1.7
3.1
V
V
V
V
V
V
mA
IOH = –2.0 mA
IOH = –2.0 mA (See note [1] below.)
IOL = 4 mA (See note [1] below.)
IOL= 4 mA
VOL= VCC –2.2 V (See note [1] below.)
IIL
IOL
ICC
Input Leakage
Output Leakage
VCC Supply Current
–1
–1
1
1
12
<1
<1
6
µA
µA
mA
VIN = 0V, 5.25V (See note [2] beow.)
VIN = 0V, 5.25V
@ 5.0 MHz
POR
ICC1
ICC2
Power On Reset
Standby Current
Standby Current
84
196
4
20
140
2.0
ms
mA
µA
HALT mode VIN = 0V, VCC @ 5 MHz
STOP mode VIN = 0V
RP
RP
Pull Up Resistor
Pull Up Resistor
(P26-P27)
Pull Up Resistor
(Reset)
6.76
14.04
10.4
Kohm
1.8
3
2.4
Kohm
40
80
60
Kohm
RP
Min
8
Max
Typical
@ 25°C Unit
Sym
VCC
0.2 VCC
0.8
.4
20
Condition
Driven by External Clock Generator
Driven by External Clock Generator
Note:
[1] Ports P37-P34. These may be used for LEDs or as general-purpose
outputs requiring high sink current.
[2] Input pin without pull-up resistor.
7
Z86C15
CP96KEY0603
AC ELECTRICAL CHARACTERISTICS (Z86C15)
Additional Timing Table
VCC
Note [4]
TA = 0°C to +70°C
5 MHz
Min
Max
No
Symbol
Parameter
1
2
3
4
5
TpC
TrC,TfC
TwC
TwTinL
TwTinH
Input Clock Period
Clock Input Rise & Fall Times
Input Clock Width
Timer Input Low Width
Timer Input High Width
5.0V
5.0V
5.0V
5.0V
5.0V
6
7
8A
8B
TpTin
TrTin
TwIL
TwIL
Timer Input Period
Timer Input Rise & Fall Timer
Int. Request Low Time
Int. Request Low Time
5.0V
5.0V
5.0V
5.0V
4TpC
9
10
TwIH
Twsm
Int. Request Input High Time
STOP Mode Recovery Width Spec
5.0V
5.0V
3TpC
20
5.0V
5TpC
11
Tost
Oscillator Startup Time
5.0V
12
Twdt
Watch-Dog Timer Delay Time
5.0V
5.0V
5.0V
5.0V
Notes:
[1] Timing Reference uses 0.7 VCC for a logic 1 and 0.2 VCC for a logic 0.
[2] Interrupt request via Port 3 (P31-P33).
[3] Interrupt request via Port 3 (P30).
[4] SMR-D5 = 0.
[5] D1 = 0, D0 = 0.{Reg. WDTMR)
[6] D1 = 0, D0 = 1.{Reg. WDTMR)
[7] D1 = 1, D0 = 0.{Reg. WDTMR)
[8] D1 = 1, D0 = 1.{Reg. WDTMR)
8
125
Units
100000
25
ns
ns
ns
ns
100
ns
ns
37
70
2.5TpC
70
3TpC
ns
5TpC
2
4
8
32
ms
ms
ms
ms
Notes
[1]
[1]
[1]
[1]
[1]
[1]
[1]
[1,2]
[1,3]
[1,2]
Reg. SMR
- D5=0
Reg. SMR
- D5=1
[4]
[5]
[6]
[7]
[8]
Z86C15
CP96KEY0603
AC ELECTRICAL CHARACTERISTICS
Additional Timing Diagram
3
1
Clock
2
7
2
3
7
TIN
4
5
6
IRQN
8
9
Clock
Setup
11
Stop
Mode
Recovery
Source
10
9
Z86C15
CP96KEY0603
© 1995 by Zilog, Inc. All rights reserved. No part of this document
may be copied or reproduced in any form or by any means
without the prior written consent of Zilog, Inc. The information in
this document is subject to change without notice. Devices sold
by Zilog, Inc. are covered by warranty and patent indemnification
provisions appearing in Zilog, Inc. Terms and Conditions of Sale
only. Zilog, Inc. makes no warranty, express, statutory, implied or
by description, regarding the information set forth herein or
regarding the freedom of the described devices from intellectual
property infringement. Zilog, Inc. makes no warranty of merchantability or fitness for any purpose. Zilog, Inc. shall not be
responsible for any errors that may appear in this document.
Zilog, Inc. makes no commitment to update or keep current the
information contained in this document.
10
Zilog’s products are not authorized for use as critical components in life support devices or systems unless a specific written
agreement pertaining to such intended use is executed between
the customer and Zilog prior to use. Life support devices or
systems are those which are intended for surgical implantation
into the body, or which sustains life whose failure to perform,
when properly used in accordance with instructions for use
provided in the labeling, can be reasonably expected to result in
significant injury to the user.
Zilog, Inc. 210 East Hacienda Ave.
Campbell, CA 95008-6600
Telephone (408) 370-8000
Telex 910-338-7621
FAX 408 370-8056
Internet: http://www.zilog.com