Z86C03/C06 CMOS Z8 ® 8-BIT CCP™ CONSUMER CONTROLLER PROCESSORS CUSTOMERPROCUREMENTSPECIFICATION Z86C03/C06 CMOS Z8® 8-BIT CCP™ CONSUMERCONTROLLERPROCESSORS FEATURES Part Z86C03 Z86C06 ROM 512 bytes 1 Kbyte RAM 60 124 Speed 8 MHz 12 MHz ■ Software-Enabled Watch-Dog Timer ■ Power-On Reset Timer ■ 18-Pin Package (DIP, SOIC) ■ Two Standby Modes: STOP and HALT ■ 3.0 to 5.5 Volt Operating Range ■ Two Comparators with Programmable Interrupt Polarity ■ Operating Temperature: –40°C to +105°C ■ 14 Input/Output Lines (Two with Comparator Inputs) ■ Fast Instruction Pointer: 1.5 µs @ 8 MHz (C03); 1.0 µs @ 12 MHz (C06) ■ On-Chip Oscillator that Accepts a Crystal, Ceramic Resonator, LC, RC, or External Clock Drive. ■ Multiple Expanded Register File Control Registers and Two SPI Registers (Z86C06 only) ■ Serial Peripheral Interface (SPI) (Z86C06 Only) ■ Software Programmable Low EMI Mode ■ One/Two Programmable 8-Bit Counter/Timers, Each with a 6-Bit Programmable Prescaler ■ ROM Protect Option ■ Auto Latches ■ Six Vectored, Priority Interrupts from Six Different Sources GENERAL DESCRIPTION The Z86C03/C06 CCP ™ (Consumer Controller Processors) are members of Zilog's the Z8® single-chip microcontroller family with enhanced wake-up circuitry, programmable watch-dog timers and low noise/EMI options. These enhancements result in a more efficient, costeffective design and provide the user with increased design flexibility over the standard Z8 microcontroller core. With 512 and 1K bytes of ROM and 60 and 124 bytes of general-purpose RAM, respectively, these low cost, low power consumption CMOS microcontrollers offer fast execution, efficient use of memory, sophisticated interrupts, input/output bit manipulation capabilities, and easy hardware/software system expansion. DS95DZ80300 The Z86C03/C06 CCP architecture is characterized by Zilog’s 8-bit microcontroller core with the addition of an Expanded Register File to allow easy access to register mapped peripheral and I/O circuits. The Z86C03/C06 offers a flexible I/O scheme, an efficient register and address space structure, and a number of ancillary features that are useful in many consumer, automotive, and industrial applications. For applications demanding powerful I/O capabilities, the Z86C03/C06 provides 14 pins dedicated to input and output. These lines are grouped into two ports and are configurable under software control to provide timing, status signals, or parallel I/O. 1 Z86C03/C06 CMOS Z8® 8-BIT CCP™ C ONSUMER CONTROLLER PROCESSORS GENERAL DESCRIPTION (Continued) Three basic address spaces are available to support this wide range of configurations: Program Memory, Register File, and Expanded Register File. The Register File is composed of 61/125 bytes of General-Purpose Registers, two I/O Port registers, and 12/14 Control and Status registers. The Expanded Register File consists of three control registers in the Z86C03, and four control registers, a SPI Receive Buffer, and a SPI compare register in the Z86C06. C06 meets the needs of a variety of sophisticated controller applications (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 Ground VCC GND VDD VSS With powerful peripheral features such, as on-board comparators, counter/timer(s), Watch-Dog Timer (WDT), and Serial Peripheral Interface (SPI) (C06 only), the Z86C03/ Output Input Vcc GND XTAL Machine Timing & Inst. Control Port 3 1/2 Counter/ Timers † ALU FLAG Interrupt Control WDT, POR Prg. Memory 512/1K x 8Bit Register Pointer Two Analog Comparators Register File 78/145 x 8Bit Program Counter Serial * Peripheral Interface † Z86C03 has one counter/timer. * Serial Peripheral Interface for the Z86C06 only. Port 2 I/O (Bit Programmable) Figure 1. Z86C03/C06 Functional Block Diagram DS95DZ80300 2 Z86C03/C06 CMOS Z8 ® 8-BIT CCP™ CONSUMER CONTROLLER PROCESSORS PIN DESCRIPTION Table 1. 18-Pin DIP and SOIC Pin Identification P24 1 18 P23 P25 2 17 P22 P26 3 16 P21 P27 4 VCC 5 XTAL2 6 Z86C03 15 and Z86C06 14 DIP 13 XTAL1 7 12 P35 P31 8 11 P34 P32 9 10 P33 P20 GND P36 No Symbol Function Direction 1-4 5 6 7 P24-27 VCC XTAL2 XTAL1 Port 2, pins 4, 5, 6, 7 In/Output Power Supply Crystal Oscillator Clock Output Crystal Oscillator Clock Input 8-10 11-13 14 15-18 P31-33 P34-36 GND P20-23 Port 3, pins 1, 2, 3 Port 3, pins 4, 5, 6 Ground Port 2, pins 0, 1, 2, 3 Fixed Input Fixed Output In/Output Figure 2. 18-Pin DIP Pin Configuration P24 1 18 P23 P25 2 17 P22 P26 3 16 P21 P27 4 15 P20 14 GND 13 P36 Vcc 5 Z86C03 and Z86C06 SOIC XTAL2 6 XTAL1 7 12 P35 P31 8 11 P34 P32 9 10 P33 Figure 3. 18-Pin SOIC Pin Configuration DS95DZ80300 3 Z86C03/C06 CMOS Z8® 8-BIT CCP™ C ONSUMER CONTROLLER PROCESSORS ABSOLUTE MAXIMUM RATINGS Symbol Description Min Max Units VCC VIHM TSTG TA Supply Voltage* –0.3 Max Input Voltage** Storage Temp –65 Oper Ambient Temp † +7.0 12 +150 V V °C °C 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. Notes: * Voltage on all pins with respect to GND. ** Applies to Port pins only and must limit current going into or out of Port pins to 250 µA maximum. † See Ordering Information 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. CAPACITANCE 150 pF TA = 25° C, VCC = GND = 0V, f = 1.0 MHz, unmeasured pins returned to GND. Parameter Input Capacitance Output Capacitance I/O Capacitance Min Max 0 0 0 12 pF 20 pF 25 pF Figure 4. Test Load Configuration VCC SPECIFICATION VCC = 3.0V to 5.5V DS95DZ80300 4 Z86C03/C06 CMOS Z8 ® 8-BIT CCP™ CONSUMER CONTROLLER PROCESSORS DC ELECTRICAL CHARACTERISTICS Symbol Parameter VCH VCL VCC Note [3] TA = 0°C to +70°C Min Max Conditions Notes V V IIN≤250µA IIN≤250µA 2.4 V VCC+0.3 3.9 V DrivenbyExternal ClockGenerator DrivenbyExternal ClockGenerator VSS-0.3 0.2VCC 1.6 V 5.0V VSS-0.3 0.2VCC 2.7 V MaxInputVoltage 3.3V 5.0V ClockInputHigh Voltage 3.3V 0.9VCC VCC+0.3 5.0V 0.9VCC 3.3V ClockInputLow Voltage Typical @ 25°C Units 7 7 [7] [7] DrivenbyExternal ClockGenerator DrivenbyExternal ClockGenerator VIH InputHighVoltage 3.3V 5.0V 0.7VCC 0.7VCC VCC+0.3 VCC+0.3 1.8 2.8 V V VIL InputLowVoltage 3.3V 5.0V VSS-0.3 VSS-0.3 0.2VCC 0.2VCC 1.0 1.5 V V VOH OutputHighVoltage 3.3V (LowEMIMode) 5.0V VCC-0.4 VCC-0.4 3.1 4.8 V V IOH=-500µA IOH=-500µA VOL OutputLowVoltage 3.3V (LowEMIMode) 5.0V 0.35 0.18 V V IOL=+1.0mA IOL=+1.0mA VOH1 OutputHighVoltage 3.3V 5.0V 3.1 4.8 V V IOH=-2.0mA IOH =-2.0mA [12] [12] VOL1 OutputLowVoltage 3.3V 5.0V 0.8 0.4 0.2 0.1 V V IOL =+4.0 mA IOL =+4.0 mA [12] [12] VOL2 OutputLowVoltage 3.3V 1.0 0.4 V [12] 5.0V 1.0 0.5 V IOL=6mA, 3 Pin Max IOL=+12mA, 3 Pin Max 25 25 10 10 mV mV 0.8 0.4 VCC-0.4 VCC-0.4 VOFFSET ComparatorInput OffsetVoltage 3.3V 5.0V IIL InputLeakage (Input bias current ofcomparator) 3.3V 5.0V -1.0 -1.0 1.0 1.0 µA µA VIN=OV,VCC VIN=OV,VCC IOL OutputLeakage 3.3V 5.0V -1.0 -1.0 1.0 1.0 µA µA VIN=OV,VCC VIN=OV,VCC ICC SupplyCurrent 3.3V 5.0V 3.3V 5.0V mA mA mA mA @8MHz @8MHz @12MHz @12MHz DS95DZ80300 6 11.0 8.0 15 3.0 6.0 4.5 9.0 [12] [8] [8] [4,5] [9] [4,5] [9] [4,5] [9] [4,5] [9] 5 Z86C03/C06 CMOS Z8® 8-BIT CCP™ C ONSUMER CONTROLLER PROCESSORS DC ELECTRICAL CHARACTERISTICS (Continued) TA = 0°C to +70°C Min Max TA = –40°C to +105°C Min Max Symbol Parameter VCC Note [3] ICC1 3.3V 3.0 3.0 0.7 mA 5.0V 5 5 1.5 mA 3.3V 4.5 4.5 1.0 mA 5.0V 7.0 7.0 2.0 mA 3.3V 1.4 1.4 0.6 mA 5.0V 3.5 3.5 1.3 mA 3.3V 2.0 2.0 0.7 mA 5.0V 4.5 4.5 1.5 mA 3.3V 10 20 1.0 µA 5.0V 10 20 3.0 µA 3.3V 350 360 180 µA 5.0V 865 875 400 µA 3.3V 7.0 14.0 4.0 µA OV<VIN<VCC 5.0V 20.0 30.0 13 µA OV<VIN<VCC -4.0 -9.0 –8.0 –16.0 -3 -7 µA µA OV<VIN<VCC OV<VIN<VCC ICC2 IALL StandbyCurrent StandbyCurrent AutoLatchLow Current IALH AutoLatchHigh Current 3.3V 5.0V TPOR PowerOnReset 3.3V 5.0V VBO VCCBrownOut Voltage VICR ComparatorInput CommonMode VoltageRange Units 7 3 24 13 6 2 25 14 13 6.5 ms ms 1.50 2.65 1.2 2.95 2.4 V VCC-1.5 Notes: [1] ICC1 Typ Max Unit Freq Clock Driven 0.3 5.0 mA 8 MHz Crystal or Ceramic Resonator 3.0 5.0 mA 8 MHz [2] VSS = 0V = GND [3] 5.0V ± 0.5V, 3.0V ± 0.3V. [4] All outputs unloaded, I/O pins floating, inputs at rail. [5] C L1 = C L2 = 47 pF [6] Same as note [4] except inputs at VCC. DS95DZ80300 Typical @ 25°C VCC-1.5 [7] [8] [9] [10] [11] [12] [13] Conditions HALTModeVIN=OV, VCC@8MHz HALTModeVIN=OV, VCC@8MHz HALTModeVIN=OV, VCC@12MHz HALTModeVIN=OV, VCC@12MHz ClockDivideby16 @8MHz ClockDivideby16 @8MHz ClockDivideby16 @12MHz ClockDivideby16 @12MHz Notes [4, 5] [10] [4, 5] [10] [1] [4, 5] [10] [4, 5] [10] [4, 5] [10] [4, 5] [10] [4, 5] [10] [4, 5] [10] STOPModeVIN=OV, [6] [10] VCCWDTisnotRunning STOPModeVIN =OV, [6] [10] VCCWDTisnotRunning STOPModeVIN =OV, [6] [9] VCCWDTisRunning STOPModeVIN =OV, [6] [9] VCCWDTisRunning 2MHzmaxInt.CLKFreq.[13] V The input current must be limited to a maximum of 250 µA or less. Input bias current for comparitor inputs P31, P32, P33. Internal on-board RC is driving WDT. WDT is not running. System clock is external XTAL frequency divided by 2. Standard mode (not Low EMI Mode). The VBO voltage increases as the temperature decreases. 6 Z86C03/C06 CMOS Z8 ® 8-BIT CCP™ CONSUMER CONTROLLER PROCESSORS AC ELECTRICAL CHARACTERISTICS 3 1 Clock 2 7 T 2 3 7 IN 4 5 6 IRQ N 8 9 Clock Setup 11 Source 10 Figure 5. Additional Timing AC ELECTRICAL CHARACTERISTICS No Symbol Parameter VCC Note[3] T A = 0°C To +70 °C 8 MHz 12 MHz Min Max Min Max TA = -40°C To +105°C 8 MHz 12 MHz Min Max Min Max 1 TpC InputClockPeriod 3.3V 5.0V 125 125 125 125 2 TrC,TfC ClockInputRise andFallTimes 3.3V 5.0V 3 TwC InputClockWidth 3.3V 5.0V 37 37 26 26 37 37 4 TwTinL TimerInputLowWidth 3.3V 5.0V 100 70 100 70 5 TwTinH TimerInputHighWidth 3.3V 5.0V 5TpC 5TpC 5TpC 5TpC DS95DZ80300 DC DC 83 83 25 25 DC DC DC DC ns ns [1] [1] 15 15 ns ns [1] [1] 26 26 ns ns [1] [1] 100 70 100 70 ns ns [1] [1] 5TpC 5TpC 5TpC 5TpC 15 15 DC DC 83 83 Units Notes 25 25 [1] [7] [1] [7] 7 Z86C03/C06 CMOS Z8® 8-BIT CCP™ C ONSUMER CONTROLLER PROCESSORS AC ELECTRICAL CHARACTERISTICS (Continued) TA = -40°C To +105°C 8MHz 12MHz Min Max Min Max 8TpC 8TpC 8TpC 8TpC Parameter 6 TpTin TimerInputPeriod 3.3V 5.0V 7 TrTin, TtTin TimerInputRise andFallTimer 3.3V 100 100 100 100 ns [1] 5.0V 100 100 100 100 ns [1] 8 9 10 11 12 TwIL TwIH Twsm Tost Twdt Int.RequestInput LowTime Int.RequestInput HighTime STOPModeRecovery WidthSpec VCC Note[3] TA = 0°C To +70°C 8MHz 12MHz Min Max Min Max No Symbol 8TpC 8TpC 8TpC 8TpC Notes [1] [7] [1] [7] 3.3V 100 100 100 100 ns [1,2] 5.0V 70 70 70 70 ns [1,2] 3.3V 5TpC 5TpC 5TpC 5TpC [1,2] [7] 5.0V 5TpC 5TpC 5TpC 5TpC [1,2] [7] 3.3V 12 12 12 12 ns 5.0V 12 12 12 12 ns OscillatorStartupTime 3.3V 5TpC 5TpC 5TpC 5TpC 5.0V 5TpC 5TpC 5TpC 5TpC WatchdogTimer RefreshTime Units Reg. [4] ns 3.3V 15 15 12 12 [5] 5.0V 5 5 3 3 ms 3.3V 5.0V 3.3V 5.0V 3.3V 5.0V 30 16 60 30 250 120 30 16 60 30 250 120 25 12 50 25 200 100 25 12 50 25 200 100 ms ms ms ms ms ms D0 = 0 [6] D1 = 0 [6] D0 = 1 [6] D1 = 0 [6] D0 = 0 [6] D1 = 1 [6] D0 = 1 [6] D1 = 1 [6] Notes: [1] Timing Reference uses 0.9 VCC for a logic 1 and 0.1 VCC for a logic 0. [2] Interrupt request via Port 3 (P31-P33) [3] 5.0V ± 0.5V, 3.3V ± 0.3V [4] SMR-D5 = 0 (Stop mode delay off) [5] Reg. WDTMR [6] Internal RC Oscillator only. [7] System clock is XTAL frequency divided by 2. DS95DZ80300 8 Z86C03/C06 CMOS Z8 ® 8-BIT CCP™ CONSUMER CONTROLLER PROCESSORS © 1996 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 curent the information contained in this document. DS95DZ80300 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 FAX 408 370-8056 Internet: http://www.zilog.com 9