Z86C83 Zilog., Z86C83 Datasheet

no-image

Z86C83

Manufacturer Part Number
Z86C83
Description
Z8 MCU MICROCONTROLLERS
Manufacturer
Zilog.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z86C831300
Manufacturer:
Zilog
Quantity:
5
FEATURES
Device
Z86C83
Z86C84
Note: * General-Purpose
GENERAL DESCRIPTION
The Z86C83/C84 Consumer Controller Processors
(CCP
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.
DS96DZ80203
28-Pin DIP, SOIC, and PLCC Packages
Clock Speed: 16 MHz
Three Expanded Register Groups
8-Channel, 8-Bit A/D Converter with Track and Hold,
and Unique R-Ladder A
Z86C84
Programmable Gain Stages, 3 s Settling Time
) are full-featured members of the CMOS Z8 micro-
ROM
(KB)
has
4
4
two
(Bytes)
RAM*
237
237
8-Bit
GND
Offset Control
Lines
D/A
I/O
21
17
Converters
3.0V to 5.5V
3.0V to 5.5V
Voltage
Range
with
Z86C83/C84
Z8
Unused analog inputs revert to standard digital I/O use.
Unique, programmable A
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.
C
USTOMER
®
Six Vectored, Prioritized Interrupts from Six Different
Sources
Two Analog Comparator Inputs with Programmable
Interrupt Polarity
Two Programmable 8-Bit Timers, each with a 6-Bit
Programmable Prescaler
Auto Latch Mask Option for P00, P01, and P02
Power-On Reset (POR) Timer
Permanent Watch-Dog Timer (WDT) Mask Option
Software-Programmable Pull-Up Resistors
On-Chip Oscillator for Crystal, Resonator or LC
MCU M
P
ROCUREMENT
ICROCONTROLLERS
GND
offset control of the A/D
S
PECIFICATION
1
1
1

Related parts for Z86C83

Z86C83 Summary of contents

Page 1

... 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. ...

Page 2

... DAC DAC2 ** AC0/P20 AC1/P21 AC2/P22 AC3/P23 Port 2 AC4/P24 AC5/P25 AC6/P26 AC7/P27 8-Channel AVCC 8-Bit A/D AGND Figure 1. Z86C83/C84 Functional Block Diagram 2 Power connections follow conventional descriptions below: Connection Power Ground Comparators Register File (2) 256 x 8-Bit Register Bus Internal Address Bus ROM ...

Page 3

... XTAL1 10 19 XTAL2 11 18 GND 12 17 VCC 13 16 P31 14 15 P32 Standard Mode Figure 2. Z86C83 28-Pin DIP and SOIC Pin Configuration* DS96DZ80203 Table 2. Z86C84 28-Pin DIP, SOIC Pin Identification* Direction No Symbol Input/Output 1-7 P21-P27 or AC1-AC7 Input 8 /RESET Input 9 XTAL1 Output ...

Page 4

... P24/AC4 5 6 P25/AC5 7 P26/AC6 Z86C83 8 P27/AC7 PLCC /RESET 9 10 XTAL1 XTAL2 Figure 4. Z86C83 28-Pin PLCC Pin Configuration 4 Table 4. Z86C84 28-Pin PLCC Pin Identification Direction No Symbol Input/Output 1-8 P20-P27 or AC0-AC7 Input 9 /RESET Input 10 XTAL1 Output 11 XTAL2 12 GND 13 V ...

Page 5

... DD DS96DZ80203 [Note [Note Total power dissipation should not exceed 770 mW for the package. Power dissipation is calculated as follows: Total Power Dissipation = From Output Under T est Z86C83/C84 ® Z8 MCU Microcontrollers Min Max Units –40 +105 –65 +150 –0.6 +7 –0.3 +7 –0.6 ...

Page 6

... Z86C83/C84 ® Z8 MCU Microcontrollers CAPACITANCE GND = 0V 1.0 MHz, unmeasured pins returned to GND Parameter Min Input capacitance 0 Output capacitance 0 I/O capacitance 0 6 Max 20 pF 20pF 20 pF DS96DZ80203 ...

Page 7

... OV MHz MHz 3.58 MHz MHz mA HALT Mode MHz mA HALT Mode MHz mA Clock Divide-by- MHz mA Clock Divide-by- MHz Z86C83/C84 1 Notes ...

Page 8

... Z86C83/C84 ® Z8 MCU Microcontrollers V CC Sym Parameter Note 3 Min I Standby Current 3.0V CC2 5.5V 3.0V 5.5V V Input Common 3.0 0 ICR Mode Voltage Range 5 Auto Latch Low 3.0V ALL Current 5.5V I Auto Latch High 3.0V ALH Current 5. Low-Voltage 2 Protection Voltage Notes Typical CC1 Clock-Driven 0 GND = 0V. ...

Page 9

... AC ELECTRICAL CHARACTERISTICS Additional Timing Diagram Clock IRQ N 8 Clock Setup Stop-Mode Recovery Source DS96DZ80203 Figure 7. Additional Timing Z86C83/C84 ® Z8 MCU Microcontrollers 1 9 ...

Page 10

... Z86C83/C84 ® Z8 MCU Microcontrollers AC ELECTRICAL CHARACTERISTICS (Continued) Additional Timing Table (SCLK/TCLK = XTAL/2) No Symbol Parameter 1 TpC Input Clock Period 2 TrC,TfC Clock Input Rise & Fall Times 3 TwC Input Clock Width 4 TwTinL Timer Input Low Width 5 TwTinH Timer Input High Width 6 TpTin Timer Input Period ...

Page 11

... Z86C83/C84 ® Z8 MCU Microcontrollers AC ELECTRICAL CHARACTERISTICS (Continued) Additional Timing Table (Divide-By-One Mode, SCLK/TCLK = XTAL) No Symbol Parameter 1 TpC Input Clock Period 2 TrC,TfC Clock Input Rise & Fall Times 3 TwC Input Clock Width 4 TwTinL Timer Input Low Width 5 TwTinH Timer Input High Width ...

Page 12

... Z86C83/C84 ® Z8 MCU Microcontrollers AC ELECTRICAL CHARACTERISTICS Handshake Timing Diagrams Data In Data In Valid 1 /DAV (Input) RDY (Output) Data Out 7 /DAV (Output) RDY (Input) 12 Next Data In Valid 2 3 Delayed DAV 4 Figure 8. Input Handshake Timing Data Out Valid Figure 9. Output Handshake Timing 5 6 Delayed RDY ...

Page 13

... Z86C83/C84 ® Z8 MCU Microcontrollers AC ELECTRICAL CHARACTERISTICS (Continued) Handshake Timing Table No Symbol Parameter 1 TsDI(DAV) Data In Setup Time 2 ThDI(DAV) Data In Hold Time 3 TwDAV Data Available Width 4 TdDAVI(RDY) DAV Fall to RDY Fall Delay 5 TdDAVId(RDY) DAV Rise to RDY Rise Delay 6 TdRDY0(DAV) RDY Rise to DAV Fall Delay ...

Page 14

... Z86C83/C84 ® Z8 MCU Microcontrollers Table 5. D/A Converter Electrical Characteristics Parameter Resolution Integral non-linearity Differential non-linearity Setting time, 1/2 LSB Zero Error Full Scale error Supply Range Power dissipation, no load Ref Input resistance Output noise voltage VDHI range at 3 volts VDLO range at 3 volts VDHI– ...

Page 15

... Z86C83/C84 ® Z8 MCU Microcontrollers AC ELECTRICAL CHARACTERISTICS (Continued) Table 7. A/D Converter Electrical Characteristics Parameter Resolution Integral non-linearity Differential non-linearity Zero Error Supply Range Power dissipation, no load Clock frequency Input voltage range Conversion time Input capacitance on ANA VA range HI VA range LO VA -– Notes: Voltage: 3 ...

Page 16

... The pull-up resistor of a Port 2 I/O line is automatically disabled when the corresponding I output, regardless of the state of the corresponding P2RES bit value. Note: The Z86C83/C84 Emulator does not emulate the P2RES Register. Selection of the pull-ups are done via jumper settings on the emulator. DS96DZ80203 ...

Page 17

... Z86C83/C84 ® Z8 MCU Microcontrollers PIN FUNCTIONS (Continued) /OEN Out 1.5 2.3 Hysteresis In 17 Port 0 (I/O) R 500 k Figure 10. Port 0 Configuration 100K ROM Mask Pull-Up Option (P00-P02 only) Pad Notes: Auto Latch C83/E83: P00-P02 Mask Option P03-P06 Permanent C84/E84: P00 - P02 Mask Option DS96DZ80203 ...

Page 18

... Z86C83/C84 ® Z8 MCU Microcontrollers /C83 /C84 /E84 /OEN Data Analog Mux ADC ADC0 (Bits P27 P26 P25 P24 P23 P22 P21 P20 Select from Figure 11. Port 2 Configuration Port 2 (I/O) 10K Input_en P2RES P2 Pad DS96DZ80203 ...

Page 19

... Z86C83/C84 ® Z8 MCU Microcontrollers PIN FUNCTIONS (Continued) Port 3 (P37-P30). Port 6-bit, CMOS-compatible port, with three fixed inputs (P33-P31) and three fixed outputs (P34-P36), configured under software control for Input/Output, Counter/Timers, handshake. P31, P32, and P33 are standard CMOS inputs (no Auto Latches). Pins P34, P35, and P36 are push-pull output lines (Figure 11) ...

Page 20

... Z86C83/C84 ® Z8 MCU Microcontrollers Z86C83/C84 P31 (AN1) P32 (AN2) P33 (REF) From Stop-Mode Recovery Source 20 P36 P35 P34 P33 P32 P31 Port 3 R247 = P3M DIG Figure 12. Port 3 Input Configuration Port 3 (I/ Analog Digital IRQ2 P31 Data Latch IN IRQ0, P32 Data Latch ...

Page 21

... Z86C83/C84 ® Z8 MCU Microcontrollers PIN FUNCTIONS (Continued) Port Configuration Register (PCON). The PCON con- figures the ports individually for comparator output on Port 3. The PCON Register is located in the Expanded Register File at Bank F, location 00 (Figure 13). Bit 0 multiplexes comparator AN1 Output at P34. A "1" ...

Page 22

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION RESET. (Input, Active Low) . This pin initializes the MCU. Reset is accomplished either through Power-On Reset (POR), Watch-Dog Timer (WDT) Reset, or external reset. During POR, and WDT Reset, the internally generated reset is driving the reset pin Low for the POR time. Any ...

Page 23

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) \ Figure 16. Expanded Register File Architecture 23 DS96DZ80203 ...

Page 24

... Z86C83/C84 ® Z8 MCU Microcontrollers R253 Note: Default Setting After Reset = 00000000 Figure 17. Register Pointer Register Register File. The Register File consists of three I/O port registers, 237 general-purpose registers, 15 control and status registers, and four system configuration registers in the ...

Page 25

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) Counter/Timers. There are two 8-bit programmable counter/timers (T0-T1), each driven by its own 6-bit programmable prescaler. The T1 prescaler is driven by internal or external clock sources; however, the T0 prescaler is driven by the internal clock only (Figure 19). The 6-bit prescalers can divide the input frequency of the clock source by any integer number from ...

Page 26

... Z86C83/C84 ® Z8 MCU Microcontrollers Interrupts. The Z8 has six different interrupts from six different sources. These interrupts are maskable, prioritized (Figure 20) and the six sources are divided as follows: four sources are claimed by Port 3 lines P33-P30, and two in counter/timers (Table 10). The Interrupt Mask Register globally or individually enables or disables the six interrupt requests ...

Page 27

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) All Z8 interrupts are vectored through locations in the program memory. This memory location and the next byte contain the 16-bit address of the interrupt service routine for that particular interrupt request. To accommodate polled interrupt systems, interrupt inputs are masked and the Interrupt Request register is polled to determine which of the interrupt requests need service ...

Page 28

... Z86C83/C84 ® Z8 MCU Microcontrollers Analog-to-Digital Converter The Analog-to-Digital (ADC 8-bit half flash converter that uses two reference resistor ladders for its upper 4 bits (MSBs) and lower 4 bits (LSBs) conversion. Two reference voltage pins, AV and A , are provided for external ...

Page 29

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) ADC0 (A) Bank C, Register CSEL0 CSEL1 CSEL2 SCAN action Convert, then stop. A /Input/Output Control action * 1 = Enable selected channel (D on associated Port 20-27 Must Default After Reset Figure 23. ADC Control Register 0 (Read/Write) ...

Page 30

... Z86C83/C84 ® Z8 MCU Microcontrollers Figure 27 shows the input circuit of the ADC. When conversion starts the analog input voltage is connected to the MSB and LSB flash converter inputs as shown in the Input Impedance CKT diagram. Effectively, shunting 31 parallel internal resistance of the analog switches and simultaneously charging 31 parallel 0 ...

Page 31

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) Digital-to-Analog Converters The Z86C84 has two Digital-to-Analog Converters (DACs). Each DAC is an 8-bit resistor string, with a programmable 0.25X, 0.5X gain output buffer. The DAC output voltage settles after the internal data is latched into the DAC Data register ...

Page 32

... Z86C83/C84 ® Z8 MCU Microcontrollers The D/A conversion for DAC1 is driven by writing 8-bit data to the DAC1 data register (Bank C, Register 06H). The D/A conversion for DAC 2 is controlled by the DAC2 data register (Bank C, Register 07H). Each DAC data register is initialized to midrange 80H on power-up. There are two DAC control registers: DACR1 (Bank C, Register 04H) for DAC1, and DACR2 (Bank C, Register 05H) for DAC2 ...

Page 33

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) DAC Output in Volts 3.5V VDHI 2.15 1.7 1/4X 1/2X 1.26 VDLO .8 0 Notes: Vcc = 5.0V 10% VDHI = 3.5V VDLO = 0.8V Power-On Reset (POR). A timer circuit clocked by a dedicated on-board RC oscillator or by the XTAL oscillator is used for the POR timer function. The POR time allows ...

Page 34

... Z86C83/C84 ® Z8 MCU Microcontrollers In order to enter STOP (or HALT) mode necessary to first flush the instruction pipeline to avoid suspending execution in mid-instruction this, the user must execute a NOP (opcode = FFH) immediately before the appropriate sleep instruction, that is, FF NOP ; clear the pipeline ...

Page 35

... STOP-Mode Recovery Edge Select (D6). A "1" in this bit position indicates that a high level on the output to the exclusive Or-Gate input from the selected recovery source wakes the Z86C83/C84 from STOP mode. A "0" indicates low-level recovery. The default POR. This bit is used for either SMR or SMR2. ...

Page 36

... Z86C83/C84 ® Z8 MCU Microcontrollers SMR SMR SMR VDD P31 P33 P32 Stop-Mode Recovery Edge Select (SMR) P33 From Pads Digital/Analog Mode Select (P3M) 36 SMR2 P20 P23 SMR SMR P20 ...

Page 37

... Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) Watch-Dog Timer Mode Register (WDTMR). The WDT is a retriggerable one-shot timer that resets the reaches its terminal count. The WDT is initially enabled by executing the WDT instruction and refreshed on subsequent executions of the WDT instruction. The WDT circuit is driven by an on-board RC oscillator or external oscillator from the XTAL1 pin ...

Page 38

... Z86C83/C84 ® Z8 MCU Microcontrollers WDTMR ( WDT TAP WDT During HALT 0 OFF 1 ON WDT During STOP 0 OFF 1 ON XTAL1/INT RC Select for WDT 0 On-Board RC 1 XTAL Reserved (Must Default setting after RESET † XTAL=SCLK/TCLK shown Figure 39. Watch-Dog Timer Mode Register (Write Only) WDT Time Select (D1, D0) ...

Page 39

... No Offset DAC1 Bank C, Register Low Level 1 = High Level DAC2 Bank C, Register Low Level 1 = High Level Z86C83/C84 ® Z8 MCU Microcontrollers DAC1 Gain 1 Not Used 1 1 1/4 X DAC1 Enable ...

Page 40

... Z86C83/C84 ® Z8 MCU Microcontrollers EXPANDED REGISTER FILE CONTROL REGISTERS ( ) SCLK/TCLK Divide-by-16 0 OFF External Clock Divide-by-2 0 SCLK/TCLK = XTAL/2* 1 SCLK/TCLK = XTAL Stop-Mode Recovery Source 000 POR Only and/or External Reset* 001 Reserved 010 P31 011 100 P33 101 P27 ...

Page 41

... R245 PRE0 Initial Value (When Written) (Range 1-256 Decimal 01-00 HEX) T1 Current Value (When READ) Figure 56. Prescaler 0 Register (F5 : Read/Write) H Z86C83/C84 ® Z8 MCU Microcontrollers 1 Count Mode 0 T1 Single Pass 1 T1 Modulo Clock Source 1 T1 Internal 0 T1 External Timing Input ...

Page 42

... Z86C83/C84 ® Z8 MCU Microcontrollers R247 P3M Port 2 Open-Drain* 1 Port 2 Push-Pull Port 3 Inputs 0 Digital* 1 Analog Reserved (Must be 0) *Default Setting After Reset Figure 57. Port 3 Mode Register (F7 R246 P2M *Default Setting After Reset Figure 58. Port 2 Mode Register (F6 ...

Page 43

... Z86C83/C84 ® Z8 MCU Microcontrollers Z8 CONTROL REGISTERS (Continued) R252 Flags User Flag F1 User Flag F2 Half Carry Flag Decimal Adjust Flag Overflow Flag Sign Flag Zero Flag Carry Flag Figure 63. Flag Register (F R253 Expanded Register Group ...

Page 44

... Z86C83/C84 ® Z8 MCU Microcontrollers PACKAGE INFORMATION 44 Figure 68. 28-Pin DIP Package Diagram Figure 69. 28-Pin SOIC Package Diagram DS96DZ80203 ...

Page 45

... DS96DZ80203 Figure 70. 28--Pin PLCC Package Diagram Z86C83/C84 ® Z8 MCU Microcontrollers 1 45 ...

Page 46

... S = Plastic SOIC Temperature - +105 C Speed MHz Environmental C = Plastic Standard Example: Z 86C83 Z86C83, 16 MHz, DIP +70 C, Plastic Standard Flow Environmental Flow Temperature Package Speed Product Number Zilog Prefix 46 28-Pin PLCC Z86C8316VSC ...

Related keywords