PRELIMINARY PRODUCT SPECIFICATION
1
Z86L88/81/86/87/89/73
IR/LOW-VOLTAGE MICROCONTROLLER
FEATURES
Device Z86L88 Z86L81 Z86L86 Z86L87 Z86L89 Z86L73 ROM (KB) 16 24 32 16 24 32 RAM* (Bytes) 237 237 237 236 236 236 I/O Lines 23 23 23 31 31 31 Voltage Range 2.0V to 3.9V 2.0V to 3.9V 2.0V to 3.9V 2.0V to 3.9V 2.0V to 3.9V 2.0V to 3.9V
s
1
–
Programmable Input Glitch Filter for Pulse Reception
Five Priority Interrupts – Three External – Two Assigned to Counter/Timers Low Voltage Detection and Standby Mode Programmable Watch-Dog/Power-On Reset Circuits Two Independent Comparators with Programmable Interrupt Polarity On-Chip Oscillator that Accepts a Crystal, Ceramic Resonator, LC, RC (Mask Option), or External Clock Drive Mask Selectable 200 kOhms Pull-Ups on Ports 0, 2, 3 – All Eight Port 2 Bits at One Time or Not – Pull-Ups Automatically Disabled Upon Selecting Individual Pins as Outputs. Maskable Mouse/Trackball Interface on P00 Through P03. 32 kHz Oscillator Mask Option
s s s
Note: *General-Purpose s s
Low Power Consumption - 40 mW (Typical) Three Standby Modes – STOP – HALT – Low Voltage Special Architecture to Automate Both Generation and Reception of Complex Pulses or Signals: – One Programmable 8-Bit Counter/Timer with Two Capture Registers – One Programmable 16-Bit Counter/Timer with One 16-Bit Capture Register
s
s
s
s
s
GENERAL DESCRIPTION
The Z86LXX family of IR (Infrared) CCP™ (Consumer Controller Processor) Controllers are ROM/ROMless-based members of the Z8® single-chip microcontroller family with 256 bytes of internal RAM. The differentiating factor between these devices is the availability of ROM, and package options. For the 40 and 44-pin devices the use of external memory enables these Z8 microcontrollers to be used where code flexibility is required. Zilog’s CMOS microcontrollers offers fast executing, efficient use of memory, sophisticated interrupts, input/output bit manipulation capabilities, automated pulse generation/reception, and inDS96LV00800 ternal key-scan pull-up resistors. The Z86LXX product line offers easy hardware/software system expansion cost-effective and low power consumption. The Z86LXX architecture is based on Zilog's 8-bit microcontroller core with an Expanded Register File to allow access to register mapped peripherals, I/O circuits, and powerful counter/timer circuitry. The CCP offers a flexible I/O scheme, an efficient register and address space structure, and a number of ancillary features that are useful in many
PRELIMINARY
1
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
GENERAL DESCRIPTION (Continued)
consumer, automotive, computer peripheral, and battery operated hand-held applications. There are four basic address spaces available to support a wide range of configurations: Program Memory, Register File, Expanded Register File, and External Memory. The register file is composed of 256 bytes of RAM. It includes four I/O port registers, 16 control and status registers and the rest are General Purpose registers. The Expanded Register File consists of two additional register groups (F and D). External Memory is not available on 28pin versions. To unburden the program from coping with such real-time problems as generating complex waveforms or receiving and demodulating complex waveform/pulses, the Z86LXX family offers a new intelligent counter/timer architecture with 8-bit and 16-bit counter/timers (Figure 1). Also included are a large number of user-selectable modes, and two on-board comparators to process analog signals with separate reference voltages (Figure 2). 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 Power Ground Circuit VCC GND Device VDD VSS
HI16 8
LO16 8
16-Bit T16 1248 8 SCLK Clock Divider TC16H 16 8 TC16L And/Or Logic HI8 8 Input Glitch Filter Edge Detect Circuit 8 TC8H 8-Bit T8 8 TC8L LO8 8
Timer 16
Timer 8/16
Timer 8
Figure 1. Counter/Timers Diagram
2
PRELIMINARY
DS96LV00800
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
P00 P01 P02 P03 P04 P05 P06 P07 P10 P11 P12 P13 P14 P15 P16 P17 P20 P21 P22 P23 P24 P25 P26 P27
4
Register File 256 x 8-bit Port 0 Register Bus Port 3 Internal Address Bus ROM 24K/32K x 8 Internal Data Bus Z8 Core
Pref1 P31 P32 P33 P34 P35 P36 P37
1
4
8
Port 1 Expanded Register File Expanded Register Bus
Machine Timing & Instruction Control
XTAL /AS /DS R/W /RESET
R//RL (44-Pin)
I/O Bit Programmable
Port 2 Counter/Timer 8 8-Bit Counter/Timer 16 16-Bit
Power
VDD VSS
Figure 2. Functional Block Diagram
DS96LV00800
PRELIMINARY
3
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
PIN DESCRIPTION
P25 P26 P27 P04 P05 P06 P07 VDD XTAL2 XTAL1 P31 P32 P33 P34
1
28
Z86L88/86/81 DIP
14
15
P24 P23 P22 P21 P20 P03 VSS P02 P01 P00 Pref1 P36 P37 P35
Figure 3. 28-Pin DIP Pin Assignments
P25 P26 P27 P04 P05 P06 P07 VDD XTAL2 XTAL1 P31 P32 P33 P34
1
28
Z86L88/86/81 SOIC
14
15
P24 P23 P22 P21 P20 P03 VSS P02 P01 P00 Pref1 P36 P37 P35
Figure 4. 28-Pin SOIC Pin Assignments
4
PRELIMINARY
DS96LV00800
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
R//W P25 P26 P27 P04 P05 P06 P14 P15 P07 VDD P16 P17 XTAL2 XTAL1 P31 P32 P33 P34 /AS
1
40
Z86L73/89/87 DIP
20
21
/DS P24 P23 P22 P21 P20 P03 P13 P12 VSS P02 P11 P10 P01 P00 Pref1 P36 P37 P35 /RESET
1
Figure 5. 40-Pin DIP Pin Assignments
P21 P22 P23 P24 /DS R//RL R//W P25 P26 P27 P04
7
P20 P03 P13 P12 VSS VSS P02 P11 P10 P01 P00 6 1 40 39
Z86L73/89/73 PLCC
17 18
29 28
Pref1 P36 P37 P35 /RESET VSS /AS P34 P33 P32 P31
DS96LV00800
P05 P06 P14 P15 P07 VDD VDD P16 P17 XTAL2 XTAL1
Figure 6. 44-Pin PLCC Pin Assignments
PRELIMINARY
5
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
PIN DESCRIPTION (Continued)
33 P21 P22 P23 P24 /DS R//RL R//W P25 P26 P27 P04 34
P20 P03 P13 P12 VSS VSS P02 P11 P10 P01 P00 23 22
Z86L73/89/87 QFP
12 11
44 1
Pref1 P36 P37 P35 /RESET VSS /AS P34 P33 P32 P31
6
P05 P06 P14 P15 P07 VDD VDD P16 P17 XTAL2 XTAL1
Figure 7. 44-Pin QFP Pin Assignments
PRELIMINARY
DS96LV00800
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Table 1. Pin Identification 40-Pin DIP # 26 27 30 34 5 6 7 10 28 29 32 33 8 9 12 13 35 36 37 38 39 2 3 4 16 17 18 19 22 24 23 20 40 1 21 15 14 11 31 25 44-Pin PLCC # 40 41 44 5 17 18 19 22 42 43 3 4 20 21 25 26 6 7 8 9 10 14 15 16 29 30 31 32 36 38 37 33 11 13 35 28 27 23,24 1,2, 34 39 12 44-Pin QFP # 23 24 27 32 44 1 2 5 25 26 30 31 3 4 8 9 33 34 35 36 37 41 42 43 12 13 14 15 19 21 20 16 38 40 18 11 10 6,7 17,28,29 22 39 Symbol P00 P01 P02 P03 P04 P05 P06 P07 P10 P11 P12 P13 P14 P15 P16 P17 P20 P21 P22 P23 P24 P25 P26 P27 P31 P32 P33 P34 P35 P36 P37 /AS /DS R//W /RESET XTAL1 XTAL2 VDD VSS Pref1 R//RL Input Input Direction Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input Input Input Output Output Output Output Output Output Output Input Input Output Description Port 0 is Nibble Programmable. Port 0 can be configured as A15-A8 external program ROM Address Bus. Port 0 can be configured as a mouse/trackball input.
1
Port 1 is byte programmable. Port 1 can be configured as multiplexed A7-A0/D7-D0 external program ROM Address/Data Bus.
Port 2 pins are individually configurable as input or output.
IRQ2/Modulator input IRQ0 IRQ1 T8 output T16 output T8/T16 output Address Strobe Data Strobe Read/Write Reset Crystal, Oscillator Clock Crystal, Oscillator Clock Power Supply Ground Comparator 1 Reference ROM/ROMless
DS96LV00800
PRELIMINARY
7
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
PIN DESCRIPTION (Continued)
Table 2. Pin Identification 28-Pin DIP & SOIC 19 20 21 23 4 5 6 7 24 25 26 27 28 1 2 3 18 11 12 13 14 15 17 16 10 9 8 22 Symbol P00 P01 P02 P03 P04 P05 P06 P07 P20 P21 P22 P23 P24 P25 P26 P27 Pref1 P31 P32 P33 P34 P35 P36 P37 XTAL1 XTAL2 VDD VSS Direction Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input Input Input Input Output Output Output Output Input Output Description Port 0 is Nibble Programmable Port 0 can be configured as A15-A8 external program ROM Address Bus. Port 0 can be configured as a mouse/trackball input.
Port 2 pins are individually configurable as input or output.
Analog Ref Input IRQ2/Modulator input IRQ0 IRQ1 T8 output T16 output T8/T16 output Crystal, Oscillator Clock Crystal, Oscillator Clock Power Supply Ground
8
PRELIMINARY
DS96LV00800
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
ABSOLUTE MAXIMUM RATINGS
Symbol VCC TSTG TA Description Supply Voltage (*) Storage Temp. Oper. Ambient Temp. Min –0.3 –65° Max +7.0 +150° † Units 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 an extended period may affect device reliability.
1
Notes: : * Voltage on all pins with respect to GND. † See Ordering Information.
STANDARD TEST CONDITIONS
The characteristics listed below apply for standard test conditions as noted. All voltages are referenced to GND. Positive current flows into the referenced pin (Figure 8).
From Output Under T est
I
150 pF
Figure 8. Test Load Diagram
CAPACITANCE
TA = 25°C, VCC = GND = 0V, f = 1.0 MHz, unmeasured pins returned to GND. Parameter Input capacitance Output capacitance I/O capacitance Max 12 pF 12 pF 12 pF
DS96LV00800
PRELIMINARY
9
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
DC CHARACTERISTICS
Preliminary TA = 0°C to +70°C Sym Parameter VCC Min 7 7 0.8 VCC 0.8 VCC VSS – 0.3 VSS– 0.3 0.7 VCC 0.7 VCC VSS – 0.3 VSS – 0.3 VCC – 0.4 VCC – 0.4 VCC - 0.8 VCC - 0.8 0.4 0.4 0.8 0.8 0.8 0.8 0.8 VCC 0.8 VCC VSS – 0.3 VSS – 0.3 VCC VCC 0.2 VCC 0.2 VCC 25 25 1 1 1 1 –230 –400 10 15 250 850 0.1 0.2 0.5 0.3 0.3 0.2 1.5 2.0 0.5 0.9 10 10 B 100 B>C>A 101 C>B>A 110 B>A>C 111 Reserved IRQ1,IRQ4,Priority (Group C) 0 IRQ1>IRQ4 1 IRQ4>IRQ1 IRQ0,IRQ2 Priority (Group B) 0 IRQ2>IRQ0 1 IRQ0>IRQ2 IRQ3,IRQ5Priority (Group A) 0 IRQ5>IRQ3 1 IRQ3>IRQ5 Reserved (Must be 0)
0 P31 = Input (TIN) P36 = Output (TOUT) 1 P31 = /DAV2/RDY2 P36 = RDY2//DAV2 Reserved (Must be 0)
* Default Setting After Result
Figure 54. Port 3 Mode Register (F7H: Write Only)
Figure 56. Interrupt Priority Registers ((0) F9H: Write Only)
DS96LV00800
PRELIMINARY
61
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
R250 IRQ D7 D6 D5 D4 D3 D2 D1 D0
R253 RP D7 D6 D5 D4 D3 D2 D1 D0 Expanded Register Bank Pointer Default Setting After Reset = 0000 0000 Working Register Pointer
IRQ0 = P32 Input IRQ1 = P33 Input IRQ2 = P31 Input IRQ3 = T16 IRQ4 = T8 Inter Edge P31 ↓ P32 ↓ = 00 P31 ↓ P32 ↑ = 01 P31 ↑ P32 ↓ = 10 P31 ↑↓ P32 ↑↓ = 11
Figure 60. Register Pointer ((0) FDH: Read/Write)
Figure 57. Interrupt Request Register ((0) FAH: Read/Write)
R254 SPH D7 D6 D5 D4 D3 D2 D1 D0 Stack Pointer Upper Byte (SP15-SP8)
R251 IMR D7 D6 D5 D4 D3 D2 D1 D0
1 Enables IRQ4-IRQ0 (D0 = IRQ0) Reserved (Must be 0) Reserved (Must be 0) 0 Master Interrupt Disable* 1 Master Interrupt Enable * Default Setting After Reset
Figure 61. Stack Pointer High ((0) FEH: Read/Write)
R255 SPL D7 D6 D5 D4 D3 D2 D1 D0 Stack Pointer Lower Byte (SP7-SP0)
Figure 58. Interrupt Mask Register ((0) FBH: Read/Write)
R252 Flags D7 D6 D5 D4 D3 D2 D1 D0 User Flag F1 User Flag F2 Half Carry Flag Decimal Adjust Flag Overflow Tag Sign Flag Zero Flag Carry Flag
Figure 62. Stack Pointer Low ((0) FFH: Read/Write)
Figure 59. Flag Register ((0) FCH: Read/Write)
62
PRELIMINARY
DS96LV00800
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
PACKAGE INFORMATION
1
Figure 63. 28-Pin DIP Package Diagram
Figure 64. 28-Pin SOIC Package Diagram
DS96LV00800
PRELIMINARY
63
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
Figure 65. 40-Pin DIP Package Diagram
Figure 66. 44-Pin PLCC Package Diagram
64
PRELIMINARY
DS96LV00800
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
1
Figure 67. 44-Pin QFP Package Diagram
DS96LV00800
PRELIMINARY
65
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller
ORDERING INFORMATION Z86L88/81/86/87/89/73
8.0 MHz 28-Pin DIP Z86L8808PSC Z86L8108PSC Z86L8608PSC 28-Pin SIOC Z86L8808SSC Z86L8108SSC Z86L8608SSC 40-Pin DIP Z86L8708PSC Z86L8908PSC Z86L7308PSC 44-Pin PLCC Z86L8708VSC Z86L8908VSC Z86L7308VSC 44-Pin QFP Z86L8708FSC Z86L8908FSC Z86L7308FSC
Codes Package
P = Plastic DIP F = Plastic Quad Flat Pack V = Plastic Chip Carrier S = SOIC (Small Outline Integrated Circuit)
Temperature
S = 0°C to +70°C
Speed
8 = 8.0 MHz
For fast results, contact your local Zilog sales office for assistance in ordering the part desired.
Environmental
C = Plastic Standard
Example:
Z 86LXX 08 P S C is a Z86LXX, 8 MHz, DIP, 0°C to +70°C, Plastic Standard Flow Environmental Flow T emperature Package Speed Product Number Zilog Prefix
66
PRELIMINARY
DS96LV00800