Z86317 CMOS Z8® 8-BIT MCU P R E L I M I N A R Y PRELIMINAR Y CUSTOMER P ROCUREMENT S PECIFICA TION Z86317 CMOS Z8® 8-BIT MICROCONTROLLER FEATURES ■ P24-P27 Can be Configured as a Voltage Divider During Input Mode ■ On-Chip Precision RC Oscillator (Tolerance = ± 10%) *General Purpose ■ Fast Instruction Pointer: 1.5 µs @ 4 MHz ■ 4.5- to 5.5-Volt Operating Range ■ ESD Protection Circuitry ■ 0°C to + 40°C Operating Temperature Range ■ Hardwired Watch-Dog Timer (WDT) ■ Low-Power Consumption: 33 mW (Typical) Part ROM Number (KB) Z86317 2 RAM* Speed (Bytes) (MHz) 124 4 I/O Package (18-Pin) 13 DIP, SOIC 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 VDD. 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. DS96KEY1102 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 Ground VCC GND VDD VSS 1 Z86317 CMOS Z8® 8-BIT MCU P R E L I M I N A R Y GENERAL DESCRIPTION (Continued) Input VDD VSS RCIN AGND Machine Timing & Inst. Control Port 3 ALU Counter/ Timers (2) FLAG Prg. Memory 2048 x 8-Bit Register Pointer Interrupt Control Register File 144 x 8-Bit Port 2 Port 0 I/O (Bit Programmable) I/O Program Counter Figure 1. Z86317 Functional Block Diagram 2 DS96KEY1102 Z86317 CMOS Z8® 8-BIT MCU P R E L I M I N A R Y PIN DESCRIPTIONS Table 1. 18-Pin DIP/SOIC Pin Identification P24 1 18 P23 P25 2 17 P22 P26 3 16 P21 P27 4 15 P20 VDD 5 Z86317 14 Gnd RCIN 6 13 P02 AGND 7 12 P01 P31 8 11 P00 NC 9 10 P33 Pin # Symbol Function Direction 1-4 5 6 7 8 P24-P27 VDD RCIN AGND P31 Port 2, Pins 4,5,6,7 Power Supply RC Oscillator Analog Ground Port 3, Pin 1 In/Output Input Input Input Input 9 10 11-13 14 15-18 NC P33 P00-P02 VSS P20-P23 Not Connected Port 3, Pin 3, Port 0, Pins 0,1,2 Ground Port 2, Pins 0,1,2,3 Input In/Output Input In/Output 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. Resistor values and corresponding frequencies are shown in the following table and graph chart. Table 2. Z86317 RC Frequency vs. External Precision Resistor External Resistor Average Frequency External Resistor Average Frequency 14K 16K 4.140 MHz 3.627 MHz 28K 30K 2.121 MHz 1.982 MHz 20K 22K 2.925 MHz 2.681 MHz 32K 34K 1.856 MHz 1.755 MHz 24K 26K 2.462 MHz 2.273 MHz 36K 38K 1.657 MHz 1.568 MHz DS96KEY1102 3 Z86317 CMOS Z8® 8-BIT MCU P R E L I M I N A R Y 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 3). From Output Under Test I 150 pF Figure 3. Test Load Diagram ABSOLUTE MAXIMUM RATINGS Sym Parameter Min Max Units VDD TSTG TA Supply Voltage* Storage Temp Oper Ambient Temp –0.3 –65° † +7 +150° † V C C Notes: * Voltages on all pins with respect to Ground. † See Ordering Information. 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. CAPACITANCE TA = GND = 0V, f = 1.0 MHz, unmeasured pins returned to Ground. Parameter Input Capacitance Output Capacitance I/O Capacitance Min Max 0 0 0 10 pF 20 pF 25 pF VCC SPECIFICATION VCC = 4.5V to 5.5V When using the precision RC oscillator feature f = 4.0 MHz ± 10% under the following conditions: ■ VCC = 5.0V ± 10% ■ Temp 0 to 40°C ■ Application board capacitance: 2.0 pF max. 0.5 pF min. 4 DS96KEY1102 Z86317 CMOS Z8® 8-BIT MCU P R E L I M I N A R Y DC ELECTRICAL CHARACTERISTICS Symbol T A = 0 °C to +40 °C Min Max Typical @ 25°C Units VDD + 0.3 3.0 V VSS – 0.3 0.2 VDD 1.5 V 5.5V 0.7 VDD VDD + 0.3 2.6 V 5.5V 0.7 VDD VDD + 0.3 2.6 V 5.5V VSS – 0.3 0.2 VDD 1.5 V 5.5V VSS – 0.3 0.2 VDD 2.4 V 5.5V 5.5V 5.5V VDD – 0.4 0.4 0.8 5.5 0.1 0.3 V V V IOH = –2.0 mA IOL = +4.0 mA IOL = 10.0 mA, 6 Pin Max 2.5 3 2.7 V @ 2 MHz Max 1.9 1.5 –1.0 –1.0 2.5 2.1 1.0 1.0 2.2 1.8 0.4 0.4 V V µA µA P24-P27 5.5V 3.0 1.44 mA 5.5V 4.0 2.60 mA 5.5V 6.0 4.28 mA All Output and I/O Pins Floating @ 1 MHz All Output and I/O Pins Floating @ 2 MHz All Output and I/O Pins Floating @ 4 MHz 5.5V 1.3 0.70 mA 5.5V 1.5 0.80 mA 5.5V 2.0 1.0 mA Parameter VDD VCH Clock Input High Voltage 5.5V 0.7 VDD VCL Clock Input Low Voltage 5.5V VIH VOH VOL1 VOL2 Input High Voltage Schmitt-Triggered Input High Voltage CMOS Input Input Low Voltage Schmitt-Triggered Input Low Voltage CMOS Input Output High Voltage Output Low Voltage Output Low Voltage VLV VCC Low Voltage Protection VTP Trip Point Voltage IIL IOL Input Leakage Output Leakage 5.5V 4.5V 5.5V 5.5V IDD Supply Current VIH VIL VIL IDD1 IPU IPD IPU Standby Current Pull-Up Current P00-02 P31, P33 Pull-Down Current P00-02 P31, P33 Pull-Up Current P20, P22 4.5V 5.5 –20 4.5V 5.5 +20 4.5V 5.5 –450 Conditions Driven by External Clock Generator Driven by External Clock Generator VIN = OV, VCC VIN = OV, VCC HALT mode VIN = 0V, VCC @ 1 MHz HALT mode VIN = 0V, VCC @ 2 MHz HALT mode VIN = 0V, VCC @ 4 MHz –85 µA µA VIH @ 3V VIH @ 4V +95 µA µA VIL @ 1V VIL @ 1V –85 µA µA VIL = 0V VIL = 0V Notes: The device is functional to VLV voltage. The minimum operational VDD is determined by the value of the VLV voltage at ambient temperature. The VLV voltage increases as the temperature decreases. DS96KEY1102 5 P R E L I M I N A R Y Z86317 CMOS Z8® 8-BIT MCU AC ELECTRICAL CHARACTERISTICS Timing Diagrams 6 DS96KEY1102 Z86317 CMOS Z8® 8-BIT MCU P R E L I M I N A R Y AC ELECTRICAL CHARACTERISTICS No Symbol Parameter VDD Min TA = MHz Max 1 TpC Input Clock Period 5.5V 1,000 100,000 2 TrC,TfC Clock Input Rise and Fall Times 5.5V 3 TwC Input Clock Width 4 TwTinL 5 1 0 °C to 4 Min +40 °C MHz Max Units Notes 100,000 ns [1] 25 25 ns 5.5V 475 100 ns [1] Timer Input Low Width 5.5V 70 70 ns [1] TwTinH Timer Input High Width 5.5V 2.5TpC 2.5TpC [1] 6 TpTin Timer Input Period 5.5V 4TpC 4TpC [1] 7 TrTin, TtTin Timer Input Rise and Fall Timer 5.5V 8 TwIL Int. Request Input Low Time 5.5V 70 70 9 TwIH Int. Request Input High Time 5.5V 2.5TpC 2.5TpC 10 Twdt Watch-Dog Timer Time Out Timer 5.5V 10 10 ms [1] 11 TPOR Power-On Reset Time 5.5V 2 2 ms [1] 250 100 100 ns [1] ns [1,2] [1,2] Notes: [1] Timing Reference uses 0.9 VDD for a logic 1 and 0.1 VDD for a logic 0. [2] Interrupt request through Port 3 (P33-P31) DS96KEY1102 7 P R E L I M I N A R Y © 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 current the information contained in this document. 8 Z86317 CMOS Z8® 8-BIT MCU 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 DS96KEY1102