Z86318 ZILOG | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 26

Technical content

DS96KEY0103 (8/96) P R E L I M I N A R Y P RELIMINARY P RODUCT S PECIFICATION Z86318 MCU 8-B IT M ICROCONTROLLER

FEATURES

n –40 C to +105 C Operating Temperature Range n Low-Power Consumption: 33 mW (Typical) n ROM Mask Options: – Permanent Watch-Dog Timer – ROM Protect – Low-Voltage Protection – Pull-Up/Pull-Down I/O Pins (Nibble Programmable) – Feedback Resistor on the On-Chip Oscillator n On-Chip Oscillator (Crystal, Ceramic Resonator, LC, or External Clock Drive) n Fast Instruction Pointer: 1.5 m s @ 4 MHz n ESD Protection Circuitry GENERAL DESCRIPTION The Z86318 is a member of the Z8 MCU family of CMOS microcontrollers. This device offers on-board pull-up and pull-down resistors (ROM mask-option programmable on a nibble basis), a scalable trip-point buffer to accommodate opto-transistor outputs, and high drive ports capable of up to 20 mA current sinking per pin (3 pins maximum). The Z86318 features I/O Ports (IOL = 20 mA at VOL = 0.8V, 3 pins max.) to provide increased current sinking ca- pabilities. These devices also offer users a selection of ROM mask options, which include a permanently enabled Watch-Dog Timer that ensures operational reliability across a broad range of application environments. For applications requiring powerful I/O capabilities, the Z86318 provides dedicated input and output lines that are grouped into three ports. These ports can be configured by means of ROM mask options (nibble-programmable) as pull ups, pull downs, or neither. There are two basic ad- dress spaces available. Program Memory, and 124 bytes of general-purpose registers. The Z86318 devices provide two on-chip 8-bit programma- ble counter/timers with a large number of user-selectable modes. Each counter/timer is driven by its own 6-bit pro- grammable prescaler. The Z86318 counter/timers off-load system real-time tasks such as counting/timing and in- put/output data communications for increased system effi- ciency. Notes: All Signals with a preceding front slash, “/”, are ac- tive Low, e.g.; B//W (WORD is active Low); /B/W (BYTE is active Low, only). Power connections follow conventional descriptions be- low: Device ROM (KB) RAM* (Bytes) I/O Lines Voltage Range Z86318 124 14 21 0V to 6.0V Note: *General-Purpose Connection Circuit Device Power VCC VDD Ground GND VSS

Figure 1. Z86318 Functional Block Diagram

may affect device reliability. Figure 2. Z86318 18-Pin DIP/SOIC Table 1. Z86318 18 Pin DIP/SOIC Pin Identification

8 P31 Port 3, Pin 1 Input

9 P32 Port 3, Pin 2 Input

10 P33 Port 3, Pin 3 Input

*Voltages on all pins with respect to Ground.

TA = GND = 0V, f = 1.0 MHz, unmeasured pins returned to Ground. Figure 3. Test Load Diagram

DC ELECTRICAL CHARACTERISTICS T A = 0 C to +70 C Typical Sym Parameter V DD Min Max @ 25 C Units Conditions Max Input Voltage 4.0V 12 V V IN < 250 m A (Port Pins Only) V CH Clock Input High Voltage 4.0V 6.0V 0.7 V DD 0.7 V DD V DD + 0.3 V DD + 0.3 2.0 3.0 V V Driven by External Clock Generator V CL Clock Input Low Voltage 4.0V 6.0V V SS – 0.3 V SS – 0.3 0.2 V DD 0.2 V DD 0.8 1.5 V V Driven by External Clock Generator V IH Input High Voltage Schmitt-Triggered 4.0V 6.0V 0.7 V DD 0.7 V DD V DD + 0.3 V DD + 0.3 1.6 2.6 V V V IH Input High Voltage CMOS Input 4.0V 6.0V 0.7 V DD 0.7 V DD V DD + 0.3 V DD + 0.3 1.4 2.6 V V V IL Input Low Voltage Schmitt-Triggered 4.0V 6.0V V SS – 0.3 V SS – 0.3 0.2 V DD 0.2 V DD 0.8 1.5 V V V IL Input Low Voltage CMOS Input 4.0V 6.0V V SS – 0.3 V SS – 0.3 0.2 V DD 0.2 V DD 1.3 2.4 V V V OH Output High Voltage 4.0V 4.5V V DD – 0.4 V DD – 0.4 2.8 4.4 V V I OH = –2.0 mA VOL1 Output Low Voltage 4.0V 6.0V 0.6 0.4 0.2 0.1 V V IOL = +4.0 mA VOL2 Output Low Voltage 4.0V 6.0V 1.5 0.8 0.8 0.3 V V IOL = 20.0 mA, 3 Pin Max OL = 10.0 mA, 6 Pin Max VLV VCC Low-Voltage Protection* 1.6 2.7 2.3 V @ 2 MHz Max VTP Trip-Point Voltage* 4.0V 4.5V 1.5

0.4 VDD

2.1 1.8 V V P24-P27 5.5V 6.0V 1.9 2.1 2.5 2.7 2.2 2.4 V V VOC Input Open-Circuit Voltage 4.5V 5.0V 0.95 1.05 1.15 1.25 1.04 1.15 V V No Off-Chip Resistance 5.5V 6.0V 1.15 1.25 1.39 1.49 1.27 1.37 V V IIL Input Leakage 3.0V 5.5V 6.0V –1.0 –1.0 –1.0 1.0 1.0 1.0 0.4 0.4 0.4 mA mA mA V IN = 0V, VCC IOL Output Leakage 4.0V 5.5V 6.0V –1.0 –1.0 –1.0 1.0 1.0 1.0 0.4 0.4 0.4 mA mA mA V IN = 0V, VCC Note: *The Z86318 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 temperature decreases.

Z8® MCU 8-Bit Microcontroller

6 P R E L I M I N A R Y

DC ELECTRICAL CHARACTERISTICS (Continued) TA = 0°C to +70°C Typical Sym. Parameter VDD Min. Max. @ 25 °C Units Conditions Notes IDD Supply Current 4.0V 4.0V 4.0V 1.5 2.0 3.0 0.41 0.93 1.64 mA mA mA @ 1 MHz @ 2 MHz @ 4 MHz [1] [1] [1] 6.0V 6.0V 6.0V 3.0 4.0 6.0 1.44 2.60 4.28 mA mA mA @ 1 MHz @ 2 MHz @ 4 MHz [1] [1] [1] I DD1 Standby Current 4.0V 4.0V 4.0V 0.6 0.8 1.0 0.15 0.20 0.3 mA mA mA HALT mode V IN = 0V, VCC @ 1 MHz HALT mode VIN = 0V, VCC @ 2 MHz HALT mode VIN = 0V, VCC @ 4 MHz 6.0V 6.0V 6.0V 1.3 1.5 2.0 0.70 0.80 1.0 mA mA mA HALT mode V IN = 0V, VCC @ 1 MHz HALT mode VIN = 0V, VCC @ 2 MHz HALT mode VIN = 0V, VCC @ 4 MHz IDD2 Standby Current 6.0V 10 1.5 mA STOP mode V IN = 0V, VCC IPU Pull-Up Current (100K) Port P00–P02; Port P22, P23; Port P31–P33 4.5V 6.0V -20 105 mAV IH @ 1V VIH @ 1V IPD Pull-Down Current (100K) Port P00–P02; Port P22, P23; Port P31–P33 4.5V 6.0V 114 mAV IL @ 3V VIL @ 4V IPU Pull-Up Current (10K) Port P20, P21 4.5V 6.0V 208 870 mAV IH @ 0V VIH @ 0V IPD Pull-Down Current (10K) Port P20, P21 4.5V 6.0V 170 870 mAV IH @ 3V VIH @ 3V Note: [1] All outputs unloaded, I/O pins floating, inputs at rail.

Figure 4. Electrical Timing Diagram

Z8® MCU 8-Bit Microcontroller

8 P R E L I M I N A R Y

AC ELECTRICAL CHARACTERISTICS (VDD = 4V to 6V –10%, TA = 0°C to +70°C, unless otherwise specified) TA = 0°C to +70°C

1 MHz 4 MHz

1 TpC Input Clock Period 6.0V 1,000 100,000 250 100,000 ns [1]

2 TrC,TfC Clock Input Rise

6.0V 25 25 ns 3 TwC Input Clock Width 6.0V 475 100 ns [1] 4 TwTinL Timer Input Low Width 6.0V 70 70 ns [1] 5 TwTinH Timer Input High Width 6.0V 2.5TpC 2.5TpC [1] 6 TpTin Timer Input Period 6.0V 4TpC 4TpC [1]

7 TrTin,

6.0V 100 100 ns [1] 8 TwIL Int. Request Input Low Time 6.0V 70 70 ns [1,2] 9 TwIH Int. Request Input High Time 6.0V 2.5TpC 2.5TpC [1,2] 10 Twdt Watch-Dog Timer 6.0V 24 24 ms 11 T POR Power-On Reset Time 6.0V 6 6 ms [1] 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).

XTAL1 has a pull-down resistor. current versus pin voltage are shown in Figures 6 and 7. Figure 5. Port 0 Configuration

10 P R E L I M I N A R Y

Figure 6. Typical Current Versus Pin Voltage Values

Figure 7. Typical Current Versus Pin Voltage Values

12 P R E L I M I N A R Y

are configured for pull-up/pull-down/none globally. figured as enabled or disabled. Figure 8. Port 2 P20-P23 Configuration Note: P20, P21: 10K Pull-Up/Down or none. P22, P23: 100K Pull-Up/Down or none. P23-20 are globally selected for Pull-Up/Down or none.

drawn if pull-up/pull-down is disabled. Figure 9. Port 2 P27-P24 Configuration

14 P R E L I M I N A R Y

Figure 10. Port 3 P31-P33 Configuration

mouse and trackball applications. resets the internal registers. need for an external reset circuit to reset on power-on. are programmed on-chip by means of a ROM mask option. Table 2. Z86318 Control Registers Figure 11. Program Memory Map

16 P R E L I M I N A R Y

Figure 12. Register File Figure 13. Register Pointer the active working-register group.

124 general-purpose registers. be driven by the internal clock source only (see Figure 15). interrupt request IRQ4 (T0) or IRQ5 (T1) is generated. Figure 14. Register File Architecture

18 P R E L I M I N A R Y

continue counting (modulo-n continuous mode). a gate input for the internal clock. Figure 15. Counter/Timers Block Diagram

enables or disables the four interrupt requests (Table 4). rupts are vectored through locations in program memory. Routine for that particular interrupt request. determine which of the interrupt requests needs service. each pin to ground (see Figure 17). Table 3. Interrupt Types, Sources, and Vectors Figure 16. Interrupt Block Diagram

20 P R E L I M I N A R Y

Figure 17. Oscillator Configuration

is not guaranteed to meet all AC and DC Characteristics. quency of 4 MHz is illustrated in Figure 18. Figure 18. Typical Z86318 VLV Versus Temperature

22 P R E L I M I N A R Y

Figure 19. Timer Mode Register (F1H :Read/Write) Figure 20. Counter Timer 1 Register (F2H : Read/Write) Figure 21. Prescaler 1 Register (F3H :Write Only)

0 Disable T0 Count

1 Enable T0 Count

0 No Function

1 Load T0

1 Load T1

0 Disable T1 Count

1 Enable T1 Count

00 External Clock Input

01 Gate Input

10 Trigger Input

0 T1 Single Pass

1 T1 Modulo

1 T1 Internal

0 T1 External Timing Inpu

Figure 22. Counter Timer 0 Register (F4H : Read/Write) Figure 23. Prescaler 0 Register (F5H : Write Only) Figure 24. Port 2 Mode Register (F6H : Write Only) Figure 25. Port 3 Mode Register (F7H : Write Only)

0 T0 Single Pass

1 T0 Modulo N

0 Defines Bit as OUTPUT

1 Defines Bit as INPUT

0 Port 2 Open-Drain

1 Port 2 Push-Pull

Figure 26. Port 0 and 1 Mode Register Figure 27. Interrupt Priority Register (F9H : Write Only) Figure 28. Interrupt Request Register

00 Output

01 Input

Figure 29. Interrupt Mask Register (FBH : Read/Write) Figure 30. Flag Register (FCH : Read/Write) Figure 31. Register Pointer (FDH : Read/Write) Figure 32. Stack Pointer (FFH: Read/Write)

1 Enables IRQ5-IRQ0

Z8® MCU 8-Bit Microcontroller

24 P R E L I M I N A R Y

PACKAGE INFORMATION

Figure 33. 18-Pin DIP Package Diagram Figure 34. 18-Pin SOIC Package Diagram

Z8® MCU 8-Bit Microcontroller P R E L I M I N A R Y 25

ORDERING INFORMATION

For fast results, contact your local Zilog sales offices for assistance in ordering the part desired. Codes Preferred Package P = DIP Longer Lead Time S = SOIC Temperature S = 0°C to +70°C Speed 04 = 4 MHz Environmental C = Plastic Standard Z86318 18-Pin DIP 18-Pin SOIC Z8631804PSC Z8631804SSC Z8631804PEC Z8631804SEC Example: Z 86318 04 P S C is a Z86318, 4 MHz, DIP, 0°C to +70°C, Plastic Standard Flow Environmental Flow T emperature Package Speed Product Number

Z8® MCU 8-Bit Microcontroller

26 P R E L I M I N A R Y