Z86C8316PEC ZILOG [Zilog, Inc.], Z86C8316PEC Datasheet
Z86C8316PEC
Related parts for Z86C8316PEC
Z86C8316PEC Summary of contents
Page 1
FEATURES ROM RAM* Device (KB) (Bytes) Lines Z86C83 4 237 Z86C84 4 237 Note: * General-Purpose 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 ...
Page 2
Z86C83/C84 ® Z8 MCU Microcontrollers 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 ...
Page 3
PIN DESCRIPTION Table 1. Z86C83 28-Pin DIP, SOIC Pin Identification* No Symbol Function 1-7 P21-P27 Port 2, Bit 1-7 or AC1-AC7 Analog In 1-7 8 /RESET Reset 9 XTAL1 Oscillator Clock 10 XTAL2 Oscillator Clock 11 GND Ground 12 V ...
Page 4
Z86C83/C84 ® Z8 MCU Microcontrollers PIN DESCRIPTION (Continued) Table 3. Z86C83 28-Pin PLCC Pin Identification No Symbol Function 1-8 P20-P27 Port 2, Bit 0-7 or AC0-AC7 Analog In 0-7 9 /RESET Reset 10 XTAL1 Oscillator Clock 11 XTAL2 Oscillator Clock ...
Page 5
ABSOLUTE MAXIMUM RATINGS Parameter Ambient Temperature under Bias Storage Temperature Voltage on any Pin with Respect to V Voltage on V Pin with Respect Voltage on /RESET Pins with Respect to V Total Power Dissipation Maximum Current ...
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 ...
Page 7
DC ELECTRICAL CHARACTERISTICS V CC Sym Parameter Note 3 Min V Clock Input High 3.0V 0 Voltage 5.5V 0 Clock Input Low 3.0V GND-0.3 0 Voltage 5.5V GND-0.3 0 Input High Voltage ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
Page 16
Z86C83/C84 ® Z8 MCU Microcontrollers PIN FUNCTIONS Application Precaution The production test-mode environment may be enabled accidentally during normal operation if excessive noise surges above V occur on the /RESET pin. cc Recommendations for dampening voltage surges in both test ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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. ...
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 ...
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 IN ...
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, ...
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 ...
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, ...
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 ...
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) ...
Page 35
Z86C83/C84 ® Z8 MCU Microcontrollers FUNCTIONAL DESCRIPTION (Continued) STOP-Mode Recovery Source (D2, D3, and D4). These three bits of the SMR register specify the wake-up source of the STOP recovery (Figure 37 and Table 12). When the STOP-Mode Recovery Sources ...
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 ...
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 ...
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 ...
Page 39
EXPANDED REGISTER FILE CONTROL REGISTERS (0C) ADC0 (OC Channel Select (bits 2,1,0) CSEL2 Scan action Convert channel then ...
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 ...
Page 41
Z8 CONTROL REGISTERS R240 Reserved (Must be 0) Figure 51. Reserved R241 TMR Figure 52. Timer Mode Register (F1 R242 ...
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. ...
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 ...
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
... Z86C83/C84 ® Z8 MCU Microcontrollers ORDERING INFORMATION Z86C83 16 MHz 28-Pin DIP 28-Pin SOIC Z86C8316PSC Z86C8316SSC Z86C8316PEC Z86C8316SEC Z86C84 16 MHz 28-Pin DIP 28-Pin SOIC Z86C8416PSC Z86C8416SSC Z86C8416PEC Z86C8416SEC For fast results, contact your local Zilog sales office for assistance in ordering the part desired. ...