FEATURES
PRELIMINARY
P
RELIMINAR Y
C
USTOMER PROCUREMENT
Z86317
CMOS Z8® 8-BIT MICROCONTROLLER
S
PECIFICA TION
CMOS Z8® 8-BIT MCU
Z86317
Part ROM RAM* Speed I/O Package
Number (KB) (Bytes) (MHz) (18-Pin)
Z86317 2 124 4 13 DIP, SOIC
*General Purpose
■ 4.5- to 5.5-Volt Operating Range
■ 0°C to + 40°C Operating Temperature Range
■ Low-Power Consumption: 33 mW (Typical)
GENERAL DESCRIPTION
The Z86317 is a member of the Z8® family of CMOS
microcontrollers architected to be used in mouse applications. These devices offer on-board pull-up and pull-down
resistors, a scalable trip-point buffer to accommodate
opto-transistor outputs, and high drive ports capable of up
to 10 mA current sinking per pin (six pins maximum).
A permanently enabled Watch-Dog Timer ensures operational reliability across a broad range of mouse application
environments. The precision RC oscillator filters out highfrequency noise from the oscillator input pin. When configured as inputs, P24-P27 are configured as voltage divider
(25K pull-up / 7.5K pull-down). The input levels are adjusted for connection to the emitters of the opto-transistors
and switch at a voltage level of 0.4 V
For applications requiring powerful I/O capabilities, the
Z86317 provides dedicated input and output lines that are
grouped into three ports. There are two basic address
spaces available to support this configuration: Program
Memory, and 124 bytes of general-purpose registers.
DD.
■ P24-P27 Can be Configured as a Voltage Divider
During Input Mode
■ On-Chip Precision RC Oscillator (Tolerance = ± 10%)
■ Fast Instruction Pointer: 1.5 µs @ 4 MHz
■ ESD Protection Circuitry
■ Hardwired Watch-Dog Timer (WDT)
The Z86317 device provides two on-chip 8-bit programmable counter/timers with a large number of user-selectable modes. Each counter/timer is driven by its own 6-bit
programmable prescaler. The Z86317 counter/timers
offload system real-time tasks such as counting/timing
and input/output data communications for increased system efficiency.
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 V
Ground GND V
CC
V
DD
SS
DS96KEY1102
1
PRELIMINARY
GENERAL DESCRIPTION (Continued)
CMOS Z8® 8-BIT MCU
Z86317
Input
Port 3
Counter/
Timers (2)
Interrupt
Control
VDD
ALU
FLAG
Register
Pointer
Register File
144 x 8-Bit
VSS
AGND
RCIN
Machine
Timing & Inst.
Control
Prg. Memory
2048 x 8-Bit
Program
Counter
Port 2
I/O
(Bit Programmable)
Figure 1. Z86317 Functional Block Diagram
Port 0
I/O
2
DS96KEY1102
PIN DESCRIPTIONS
PRELIMINARY
CMOS Z8® 8-BIT MCU
Z86317
P24
P25
P26
P27
VDD
RCIN
AGND
P31
NC
1
2
3
4
5
6
7
8
9
Z86317
18
17
16
15
14
13
12
11
10
P23
P22
P21
P20
Gnd
P02
P01
P00
P33
Figure 2. 18-Pin DIP/SOIC Pin Configuration
PIN FUNCTIONS
RCIN. A precision 1% resistor is connected to RCIN,
generating oscillation with an internal capacitor.
Table 2. Z86317 RC Frequency vs. External Precision Resistor
Table 1. 18-Pin DIP/SOIC Pin Identification
Pin # Symbol Function Direction
1-4 P24-P27 Port 2, Pins 4,5,6,7 In/Output
5VDDPower Supply Input
6 RCIN RC Oscillator Input
7 AGND Analog Ground Input
8 P31 Port 3, Pin 1 Input
9 NC Not Connected
10 P33 Port 3, Pin 3, Input
11-13 P00-P02 Port 0, Pins 0,1,2 In/Output
14 V
SS
Ground Input
15-18 P20-P23 Port 2, Pins 0,1,2,3 In/Output
Resistor values and corresponding frequencies are shown
in the following table and graph chart.
External Resistor Average Frequency
14K 4.140 MHz
16K 3.627 MHz
20K 2.925 MHz
22K 2.681 MHz
24K 2.462 MHz
26K 2.273 MHz
External Resistor Average Frequency
28K 2.121 MHz
30K 1.982 MHz
32K 1.856 MHz
34K 1.755 MHz
36K 1.657 MHz
38K 1.568 MHz
DS96KEY1102
3