background image
DS96DZ80203
1
1
C
USTOMER
P
ROCUREMENT
S
PECIFICATION
FEATURES
s
28-Pin DIP, SOIC, and PLCC Packages
s
Clock Speed: 16 MHz
s
Three Expanded Register Groups
s
8-Channel, 8-Bit A/D Converter with Track and Hold,
and Unique R-Ladder A
GND
Offset Control
s
Z86C84 has two 8-Bit D/A Converters with
Programmable Gain Stages, 3
µ
s Settling Time
s
Six Vectored, Prioritized Interrupts from Six Different
Sources
s
Two Analog Comparator Inputs with Programmable
Interrupt Polarity
s
Two Programmable 8-Bit Timers, each with a 6-Bit
Programmable Prescaler
s
Auto Latch Mask Option for P00, P01, and P02
s
Power-On Reset (POR) Timer
s
Permanent Watch-Dog Timer (WDT) Mask Option
s
Software-Programmable Pull-Up Resistors
s
On-Chip Oscillator for Crystal, Resonator or LC
GENERAL DESCRIPTION
The Z86C83/C84 Consumer Controller Processors
(CCP
) are full-featured members of the CMOS Z8 micro-
controller family offering a unique register-to-register ar-
chitecture that avoids accumulator bottlenecks for higher
code efficiency than RISC processors.
The Z86C83/C84 are designed to be used in a wide variety
of embedded control applications, such as appliances,
process controls, keyboards, security systems, battery
chargers, and automotive modules.
For applications requiring powerful I/O capabilities, the
Z86C83/C84 devices can have up to 21/17 (C83/C84
respectively) pins dedicated to input and output. These
lines are grouped into three ports, and are configured by
software to provide digital/analog I/O timing and status
signals.
An on-chip, half-flash 8-bit
±
1/2 Least Significant Bit (LSB)
A/D converter can multiplex up to eight analog inputs.
Unused analog inputs revert to standard digital I/O use.
Unique, programmable A
GND
offset control of the A/D
resistor ladder compresses the converter's dynamic range
for maximum effective 9-bit A/D resolution.
The Z86C84 has two 8-bit
±
1/2 LSB D/A converters. High
and low reference voltages provide precise control of the
output voltage range. Programmable gain for each D/A
converter provides a maximum effective 10-bit resolution
for many tasks.
On-chip 8-bit counter/timers with many user-selectable
modes simplify real-time tasks, such as counting, timing,
and generation of PWM signals.
The designer can prioritize six different maskable,
vectored, internal or external interrupts for efficient
interrupt handling and multitasking functions.
Z86C83/C84
1
Z8
®
MCU M
ICROCONTROLLERS
Device
ROM
(KB)
RAM*
(Bytes)
I/O
Lines
Voltage
Range
Z86C83
4
237
21
3.0V to 5.5V
Z86C84
4
237
17
3.0V to 5.5V
Note:
* General-Purpose
background image
Z86C83/C84
Z8
®
MCU Microcontrollers
2
DS96DZ80203
GENERAL DESCRIPTION
(Continued)
By means of an expanded register file, the designer has
access to additional control registers for configuring per-
ipheral functions including the A/D and D/A converters,
counter/timers, and I/O port functions (Figure 1).
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
CC
V
CC
Ground
GND
V
SS
Figure 1. Z86C83/C84 Functional Block Diagram
Notes:
** Not available on Z86C83.
† Not available on Z86C84.
Port 0
P00
P01
P02
P03†
P04†
P05†
P06†
P31
P32
P33
Port 3
Register File
256 x 8-Bit
ROM
4K x 8
Z8
®
Core
Register Bus
Internal
Address Bus
Internal Data Bus
Expanded
Register File
Expanded
Register Bus
Counter/Timer
8-Bit (2)
Machine
Timing
and
Instruction
Control
Power
XTAL 1/2
VCC
P34
P35
P36
AC0/P20
AC1/P21
AC2/P22
AC3/P23
AC4/P24
AC5/P25
AC6/P26
AC7/P27
Port 2
Comparators
(2)
/RESET
GND
8-Channel
8-Bit A/D
**Dual
8-Bit
DAC
AVCC
AGND
VDHI **
VDL0 **
DAC1 **
DAC2 **
background image
Z86C83/C84
Z8
®
MCU Microcontrollers
DS96DZ80203
3
1
PIN DESCRIPTION
Table 1. Z86C83 28-Pin DIP, SOIC Pin Identification*
No
Symbol
Function
Direction
1-7
P21-P27
or AC1-AC7
Port 2, Bit 1-7
Analog In 1-7
Input/Output
8
/RESET
Reset
Input
9
XTAL1
Oscillator Clock
Input
10
XTAL2
Oscillator Clock
Output
11
GND
Ground
12
V
CC
Power
13-15
P31-P33
Port 3, Bits 1-3
Input
16
P34
Port 3, Bit 4
Output
17
P36
Port 3, Bit 6
Output
18
P35
Port 3, Bit 5
Output
19-25
P0-P06
Port 0, Bits 0-6
Input/Output
26
A
GND
Analog Ground
27
AV
CC
Analog Power
28
P20
or AC0
Port 2, Bit 0
Analog In 0
Input/Output
Note:
* DIP and SOIC Pin Description and Configuration are identical.
Figure 2. Z86C83 28-Pin DIP and SOIC Pin
Configuration*
1
2
9
3
4
5
6
7
8
28
27
26
25
24
23
22
21
20
P27/AC7
P26/AC6
AVCC
P25/AC5
P24/AC4
P23/AC3
P22/AC2
P21/AC1
P20/AC0
/RESET
XTAL1
P34
XTAL2
GND
VCC
P31
P32
P33
Z86C83
10
19
AGND
P36
13
11
12
18
17
16
P04
P06
P05
P01
P35
P00
14
15
P03
P02
Standard Mode
Table 2. Z86C84 28-Pin DIP, SOIC Pin Identification*
No
Symbol
Function
Direction
1-7
P21-P27
or AC1-AC7
Port 2, Bit 1-7
Analog In 1-7
Input/Output
8
/RESET
Reset
Input
9
XTAL1
Oscillator Clock
Input
10
XTAL2
Oscillator Clock
Output
11
GND
Ground
12
V
CC
Power
13-15 P31-P33
Port 3, Bits 1-3
Input
16
P34
Port 3, Bit 4
Output
17
P36
Port 3, Bit 6
Output
18
P35
Port 3, Bit 5
Output
19-21 P0-P02
Port 0, Bits 0-3
Input/Output
22
VDLO
D/A Ref. Volt.,Low
Input
23
VDHI
D/A Ref. Volt.,High
Input
24-25 DAC2-1
D/A Converter
Output
26
A
GND
Analog Ground
27
AV
CC
Analog Power
28
P20
or AC0
Port 2, Bit 0
Analog In 0
Input/Output
Note:
* DIP and SOIC Pin Description and Configuration are identical
Figure 3. Z86C84 28-Pin DIP and SOIC Pin
Configuration*
1
2
9
3
4
5
6
7
8
28
27
26
25
24
23
22
21
20
P27/AC7
P26/AC6
AVCC
P25/AC5
P24/AC4
P23/AC3
P22/AC2
P21/AC1
P20/AC0
/RESET
XTAL1
P34
XTAL2
GND
VCC
P31
P32
P33
Z86C84
10
19
AGND
P36
13
11
12
18
17
16
VDHI
DAC1
P01
P35
P00
14
15
VDLO
P02
* Standard Mode
DAC2
background image
Z86C83/C84
Z8
®
MCU Microcontrollers
4
DS96DZ80203
PIN DESCRIPTION
(Continued)
Table 3. Z86C83 28-Pin PLCC Pin Identification
No
Symbol
Function
Direction
1-8
P20-P27
or AC0-AC7
Port 2, Bit 0-7
Analog In 0-7
Input/Output
9
/RESET
Reset
Input
10
XTAL1
Oscillator Clock
Input
11
XTAL2
Oscillator Clock
Output
12
GND
Ground
13
V
CC
Power
14-16
P31-P33
Port 3, Bits 1-3
Input
17
P34
Port 3, Bit 4
Output
18
P36
Port 3, Bit 6
Output
19
P35
Port 3, Bit 5
Output
20-26
P00-P06
Port 0, Bits 0-6
Input/Output
27
A
GND
Analog Ground
28
AV
CC
Analog Power
Figure 4. Z86C83 28-Pin PLCC Pin Configuration
9
5
6
7
8
P27/AC7
P26/AC6
P25/AC5
P24/AC4
/RESET
XTAL1
XTAL2
10
11
1
2
3
4
28
27
26
A
VCC
P23/AC3
P22/AC2
P21/AC1
P20/AC0
AGND
P06
P34
GND
VCC
P31
P32
P33
P36
13
12
18
17
16
14
15
25
24
23
22
21
20
19
P04
P05
P01
P35
P00
P03
P02
Z86C83
PLCC
Table 4. Z86C84 28-Pin PLCC Pin Identification
No
Symbol
Function
Direction
1-8
P20-P27
or AC0-AC7
Port 2, Bit 0-7
Analog In 0-7
Input/Output
9
/RESET
Reset
Input
10
XTAL1
Oscillator Clock
Input
11
XTAL2
Oscillator Clock
Output
12
GND
Ground
13
V
CC
Power
14-16 P31-P33
Port 3, Bits 1-3
Input
17
P34
Port 3, Bit 4
Output
18
P36
Port 3, Bit 6
Output
19
P35
Port 3, Bit 5
Output
20-22 P00-P02
Port 0, Bits 0-3
Input/Output
23
VDLO
D/A Ref. Volt,Low
Input
24
VDHI
D/A Ref. Volt.,High
Input/Output
25-26 DAC2-DAC1 D/A Converter
Output
27
A
GND
Analog Ground
28
AV
CC
Analog Power
Figure 5. Z86C84 28-Pin PLCC Pin Configuration
9
5
6
7
8
P27/AC7
P26/AC6
P25/AC5
P24/AC4
/RESET
XTAL1
XTAL2
10
11
1
2
3
4
28
27
26
A
VCC
P23/AC
3
P22/AC
2
P21/AC1
P20/AC
0
AGND
DAC1
P34
GND
VCC
P31
P32
P33
P36
13
12
18
17
16
14
15
25
24
23
22
21
20
19
VDHI
DAC2
P01
P35
P00
VDLO
P02
Z86C84
PLCC
background image
Z86C83/C84
Z8
®
MCU Microcontrollers
DS96DZ80203
5
1
ABSOLUTE MAXIMUM RATINGS
Notice:
Stresses greater than those listed under Absolute
Maximum Ratings may cause permanent damage to the
device. This is a stress rating only; functional 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 an
extended period may affect device reliability.
Total power dissipation should not exceed 770 mW for the
package. Power dissipation is calculated as follows:
STANDARD TEST CONDITIONS
The characteristics listed below apply for standard test
conditions as noted. All voltages are referenced to
Ground. Positive current flows into the referenced pin
(Figure 6).
V
DD
SPECIFICATION
V
DD
= 3.0V to 5.5V
Parameter
Min
Max
Units
Ambient Temperature under Bias
–40
+105
C
Storage Temperature
–65
+150
C
Voltage on any Pin with Respect to V
SS
[Note 1]
–0.6
+7
V
Voltage on V
CC
Pin with Respect to V
SS
–0.3
+7
V
Voltage on /RESET Pins with Respect to V
SS
[Note 2]
–0.6
V
CC
+1
V
Total Power Dissipation
770
mW
Maximum Current out of V
SS
140
mA
Maximum Current into V
CC
125
mA
Maximum Current into an Input Pin [Note 3]
–600
+600
µ
A
Maximum Current into an Open-Drain Pin [Note 4]
–600
+600
µ
A
Maximum Output Current Sinked by Any I/O Pin
25
mA
Maximum Output Current Sourced by Any I/O Pin
25
mA
Notes:
1. This applies to all pins except XTAL and /RESET pins and where otherwise noted.
2. There is no input protection diode from pin to V
CC
.
3. This excludes XTAL pins.
4. Device pin is not at an output Low state.
Total Power Dissipation =
V
CC
x [ I
CC
– (sum of I
OH
) ]
+ sum of [ (V
CC
– V
OH
) x I
OH
]
+ sum of (V
0L
x I
0L
)
Figure 6. Test Load Diagram
From Output
Under Test
150 pF
I
background image
Z86C83/C84
Z8
®
MCU Microcontrollers
6
DS96DZ80203
CAPACITANCE
T
A
= 25
°
C, V
CC
= GND = 0V, f = 1.0 MHz, unmeasured pins returned to GND.
Parameter
Min
Max
Input capacitance
0
20 pF
Output capacitance
0
20pF
I/O capacitance
0
20 pF
background image
Z86C83/C84
Z8
®
MCU Microcontrollers
DS96DZ80203
7
1
DC ELECTRICAL CHARACTERISTICS
Sym Parameter
V
CC
Note 3
T
A
= 0
°
C
to +70
°
C
T
A
= –40
°
C
to +105
°
C
Typical
[13]
@ 25
°
C Units Conditions
Notes
Min
Max
Min
Max
V
CH
Clock Input High
Voltage
3.0V
0.7 V
CC
V
CC
+0.3
0.7 V
CC
V
CC
+0.3
1.3
V
Driven by External Clock
Generator
5.5V
0.7 V
CC
V
CC
+0.3
0.7 V
CC
V
CC
+0.3
2.5
V
Driven by External Clock
Generator
V
CL
Clock Input Low
Voltage
3.0V
GND-0.3
0.2 V
CC
GND-0.3
0.2 V
CC
0.7
V
Driven by External Clock
Generator
5.5V
GND-0.3
0.2 V
CC
GND-0.3
0.2 V
CC
1.5
V
Driven by External Clock
Generator
V
IH
Input High Voltage
3.0V
0.7 V
CC
V
CC
+0.3
0.7 V
CC
V
CC
+0.3
1.3
V
5.5V
0.7 V
CC
V
CC
+0.3
0.7 V
CC
V
CC
+0.3
2.5
V
V
IL
Input Low Voltage
3.0V
GND-0.3
0.2 V
CC
GND-0.3
0.2 V
CC
0.7
V
5.5V
GND-0.3
0.2 V
CC
GND-0.3
0.2 V
CC
1.5
V
V
OH1
Output High
Voltage
3.0V
V
CC
-0.4
V
CC
-0.4
3.1
V
I
OH