Z86L81 Zilog., Z86L81 Datasheet
Z86L81
Related parts for Z86L81
Z86L81 Summary of contents
Page 1
... FEATURES ROM RAM* Device (KB) (Bytes) Z86L88 16 237 Z86L81 24 237 Z86L86 32 237 Z86L87 16 236 Z86L89 24 236 Z86L73 32 236 Note: *General-Purpose 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: – ...
Page 2
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, Regis- ter File, Expanded Register File, and External Memory. ...
Page 3
P00 P01 4 P02 P03 Port 0 P04 P05 4 P06 P07 P10 P11 P12 P13 Port 1 8 P14 P15 P16 P17 P20 P21 P22 P23 I/O Bit Port 2 P24 Programmable P25 P26 P27 DS96LV00800 Register File 256 ...
Page 4
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN DESCRIPTION 4 1 P25 28 P26 P27 P04 P05 P06 Z86L88/86/81 P07 DIP VDD XTAL2 XTAL1 P31 P32 P33 14 15 P34 Figure 3. 28-Pin DIP Pin Assignments 1 P25 28 P26 P27 P04 P05 P06 ...
Page 5
R//RL R//W DS96LV00800 1 R//W 40 P25 P26 P27 P04 P05 P06 P14 P15 Z86L73/89/87 P07 VDD DIP P16 P17 XTAL2 XTAL1 P31 P32 P33 P34 / Figure 5. 40-Pin DIP Pin Assignments P21 P22 ...
Page 6
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN DESCRIPTION (Continued) R//RL R// P21 34 P22 P23 P24 /DS Z86L73/89/87 P25 QFP P26 P27 P04 44 1 Figure 7. 44-Pin QFP Pin Assignments ...
Page 7
DIP # PLCC # QFP # ...
Page 8
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN DESCRIPTION (Continued) 28-Pin DIP & SOIC Symbol 19 P00 20 P01 21 P02 23 P03 4 P04 5 P05 6 P06 7 P07 24 P20 25 P21 26 P22 27 P23 28 P24 1 P25 2 ...
Page 9
ABSOLUTE MAXIMUM RATINGS Symbol Description Min V Supply Voltage –0.3 CC (*) T Storage Temp. –65 STG T Oper. Ambient A Temp. Notes Voltage on all pins with respect to GND. † See Ordering Information. STANDARD TEST CONDITIONS ...
Page 10
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller DC CHARACTERISTICS Preliminary Sym Parameter Max Input Voltage 2.0V 3.9V V Clock Input 2.0V CH High Voltage 3.9V V Clock Input 2.0V CL Low Voltage 3.9V V Input High Voltage 2.0V IH 3.9V V Input Low Voltage ...
Page 11
Sym Parameter I Standby Current 2.0V CC1 (WDT Off) 3.9V 2.0V 3.9V I Standby Current 2.0V CC2 3.9V 2.0V 3.9V T Power-On Reset 2.0V POR 3.9V Vram Static RAM Data Vram Retention Voltage V V Low Voltage LV CC (Vbo) ...
Page 12
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller AC CHARACTERISTICS External I/O or Memory Read and Write Timing Diagram R//W 12 Port 0, /DM 18 Port 1 1 /AS 4 /DS (Read) Port 1 /DS (Write) Figure 9. External I/O or Memory Read/Write Timing 12 ...
Page 13
AC CHARACTERISTICS Preliminary External I/O or Memory Read and Write Timing Table No Symbol Parameter 1 TdA(AS) Address Valid to /AS Rising Delay 2 TdAS(A) /AS Rising to Address Float Delay 3 TdAS(DR) /AS Rising to Read Data Required Valid ...
Page 14
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller AC CHARACTERISTICS Additional Timing Diagram Clock IRQ N Clock Setup Stop Mode Recovery Source Figure 10. Additional Timing ...
Page 15
AC CHARACTERISTICS Preliminary Additional Timing Table No Sym Parameter 1 TpC Input Clock Period 2 TrC,TfC Clock Input Rise and Fall Times 3 TwC Input Clock Width 4 TwTinL Timer Input Low Width 5 TwTinH Timer Input High Width 6 ...
Page 16
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller AC CHARACTERISTICS Handshake Timing Diagrams Data In Data In Valid 1 /DAV (Input) RDY (Output) Data Out 7 /DAV (Output) RDY (Input) 16 Next Data In Valid 2 3 Delayed DAV 4 Figure 11. Port Input Handshake ...
Page 17
AC CHARACTERISTICS Preliminary Handshake Timing Table No Sym 1 TsDI(DAV) Data In Setup Time 2 ThDI(DAV) Data In Hold Time 3 TwDAV Data Available Width 4 TdDAVI(RDY) DAV Falling to RDY Falling Delay 5 TdDAVId(RDY) DAV Rising to RDY Falling ...
Page 18
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN FUNCTIONS /DS (Output, active Low). Data Strobe is activated once for each external memory transfer. For a READ operation, data must be available prior to the trailing edge of /DS. For WRITE operations, the falling edge ...
Page 19
Z86LXX MCU OEN Out In In 0.4 VDD Trip Point Buffer DS96LV00800 4 Port 0 (I/O or A15 - A8) 4 Optional Handshake Controls /DAV0 and RDY0 (P32 and P35) * Mask Selectable Refer to the Z86C17 specification for application ...
Page 20
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN FUNCTIONS (Continued) Port 1 (P17-P10). Port multiplexed Address (A7-A0) and Data (D7-D0), CMOS compatible port. Port 1 is dedi- ® cated to the Zilog ZBus -compatible memory interface. The operations of Port 1 ...
Page 21
Port 2 (P27-P20). Port 8-bit, bidirectional, CMOS compatible I/O port. These eight I/O lines can be indepen- dently configured under software control as inputs or out- puts. Port 2 is always available for I/O operation. A mask ...
Page 22
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN FUNCTIONS (Continued) Port 3 (P37-P31). Port 7-bit, CMOS compatible three fixed input and four fixed output port. Port 3 consists of three fixed input (P33-P31) and four fixed output (P37- P34), and can ...
Page 23
P34 OUT Comp1 P31 + - Pref1 P37 OUT Comp2 P32 + - P33 (Pref2) PCON DS96LV00800 Counter/Timer T8 P34 OUT CTR0 0 = P34, P37 Standard Output P34, P37 Comparator Output Reset condition. * Figure 16. ...
Page 24
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller PIN FUNCTIONS (Continued) After the POR time, /RESET is a Schmitt-triggered input. To avoid asynchronous and noisy reset problems, the Z86LXX is equipped with a reset filter of four external clocks (4TpC). If the external reset signal ...
Page 25
Out 34 T8_Out Out 35 T16_Out Out 36 T8/16_Out Figure 18. Port 3 Counter Timer Output Configuration DS96LV00800 CTR0, D0 VDD MUX CTR2, D0 VDD MUX CTR1, D6 VDD MUX ...
Page 26
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller FUNCTIONAL DESCRIPTION The Z86LXX family of IR CCP incorporates special func- tions to enhance the Z8's functionality in consumer and battery operated applications. Program Memory. The Z86LXX family addresses 16/24/32 Kbytes of internal program memory. The first ...
Page 27
Expanded Register File. The register file has been ex- panded to allow for additional system control registers, and for mapping of additional peripheral devices into the register address area. The Z8 register address space R0 through R15 has been implemented ...
Page 28
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller REGISTER POINTER Working Register Expanded Register Bank/Group Pointer Group Pointer Z8 Register File (Bank0 EXP ANDED REG. GROUP (0) REGISTER** RESET CONDITION * ...
Page 29
R253 Default Setting After Reset = 0000 0000 Figure 22. Register Pointer Register Register File. The register file (bank 0) consists of four I/O port registers, 236 general-purpose registers, and 16 ...
Page 30
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller HI16(D)%09: Holds the captured data from the output of the 16-bit Counter/Timer16. This register holds the MS- Byte of the data. Field Bit Position T16_Capture_HI 76543210 L016(D)%08: Holds the captured data from the output of the 16-bit ...
Page 31
CTR0 (D)00: Counter/Timer8 Control Register. Field Bit Position T8_Enable 7------- Single/Modulo-N -6------- Time_Out --5------ T8 _Clock ---43--- Capture_INT_MASK -----2-- Counter_INT_Mask ------1- P34_Out -------0 Note: * Indicates the value upon Power-On Reset. CTR0: Counter/Timer8 Control Register Description T8 Enable. This field ...
Page 32
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller CTR1(D)%01: Controls the functions in common with the T8 and T16. Field Mode 7------- P36_Out/Demodulator -6------ _Input T8/T16_Logic/ --54---- Edge _Detect Transmit_Submode/ ----32-- Glitch_Filter Initial_T8_Out/ ------1- Rising Edge Initial_T16_Out/ -------0 Falling_Edge Note: *Default upon Power-On Reset 32 ...
Page 33
CTR1 Register Description Mode the Counter/Timers are in the transmit mode, otherwise they are in the demodulation mode. P36_Out/Demodulator_Input. In Transmit Mode, this bit defines whether P36 is used as a normal output pin or the ...
Page 34
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller CTR2 (D)%02: Counter/Timer16 Control Register. Field Bit Position T16_Enable 7------- Single/Modulo-N -6------ Time_Out --5----- T16 _Clock ---43--- Capture_INT_Mask -----2-- Counter_INT_Mask ------1- P35_Out -------0 Note: * Indicates the value upon Power-On Reset. CTR2 Description T16_Enable. This field enables ...
Page 35
SMR2(F)%0D: Stop-Mode Recovery Register 2. Field Bit Position Reserved 7------- Recovery Level -6------ Reserved --5----- Source ---432-- Reserved ------10 Notes: * Indicates the value upon Power-On Reset Port pins configured as outputs are ignored as a SMR recovery source. DS96LV00800 ...
Page 36
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Counter/Timer Functional Blocks P31 MUX P20 CTR1 D6 CTR1 D3,D2 Z8 Data Bus Pos Edge Neg Edge CTR0 D4, D3 Clock SCLK Select TC8H Z8 Data Bus 36 CTR1 D5,D4 Glitch Filter Figure 24. Glitch Filter Circuitry ...
Page 37
Input Circuit The edge detector monitors the input signal on P31 or P20. Based on CTR1 D5-D4, a pulse is generated at the Pos Edge or Neg Edge line when an edge is detected. Glitches in the input signal which ...
Page 38
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller T8 Demodulation Mode The user should program TC8L and TC8H to %FF. After T8 is enabled, when the first edge (rising, falling, or both depending on CTR1 D5, D4) is detected, it starts to count down. When ...
Page 39
Reset T8_Enable Bit Load TC8L Reset T8_OUT Set Time-out Status Bit (CTR0 D5) and Generate Timeout_Int If Enabled Single Pass Load TC8L Reset T8_OUT DS96LV00800 T8 (8-Bit) Transmit Mode No T8_Enable Bit Set CTR0, D7 Yes 0 CTR1, D1 Value ...
Page 40
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Disable (8-Bit) Demodulation Mode T8_Enable CTR0 Yes %FF TC8 First Edge Present No Yes Enable TC8 T8_Enable Bit Set Yes No Edge Present Yes Set Edge Present Status Bit And Trigger Data ...
Page 41
Z8 Data Bus Pos Edge Neg Edge CTR2 D4, D3 Clock Clock SCLK Select TC16H Z8 Data Bus T16 Transmit Mode In Normal or Ping-Pong Mode, the output of T16 when not enabled is dependent on CTR1, D0 ...
Page 42
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller “Counter Enable” Command, T16_OUT Switches To Its Initial Value (CTR1 D0) TC16H*256+TC16L T16_OUT “Counter Enable” Command, T16_OUT Switches To Its Initial Value (CTR1 D0) T16 Demodulation Mode The user should program TC16L and TC16H to %FF. After ...
Page 43
Ping-Pong Mode This operation mode is only valid in Transmit Mode. T8 and T16 need to be programmed in Single-Pass Mode (CTR0 D6, CTR2 D6) and Ping-Pong Mode needs to be programmed in CTR1 D3, D2. The user can begin ...
Page 44
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller T8_OUT T16_OUT MUX CTR1, D2 CTR1 D3 44 P34_INTERNAL P36_INTERNAL AND/OR/NOR/NAND Logic CTR1 D5,D4 P35_INTERNAL Figure 35. Output Circuit P34_EXT MUX CTR0 D0 MUX P36_EXT CTR1 ...
Page 45
Interrupts. The Z86LXX has five different interrupts. The interrupts are maskable and prioritized (Figure 36). The five sources are divided as follows: three sources are claimed by Port 3 lines P33-P31, the remaining two by the Interrupt Interrupt Request DS96LV00800 ...
Page 46
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Table 5. Interrupt Types, Sources, and Vectors Vector Name Source Location IRQ0 /DAV0 IRQ0 IRQ1, IRQ1 2, 3 IRQ2 /DAV2 IRQ2, TIN IRQ3 T16 6, 7 IRQ4 When more than ...
Page 47
Power-On Reset (POR). A timer circuit clocked by a ded- icated on-board RC oscillator is used for the Power-On Re- set (POR) timer function. The POR time allows V the oscillator circuit to stabilize before instruction execu- tion begins. The ...
Page 48
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Port Configuration Register (PCON). The PCON regis- ter configures the comparator output on Port locat the expanded register file at Bank F, location 00 (Fig- ure 38). PCON (FH) 00H D7 D6 ...
Page 49
VCC P31 P32 P33 To IRQ1 P27 P20 P23 P20 P27 DS96LV00800 SMR SMR SMR SMR ...
Page 50
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller SCLK/TCLK Divide-by-16 Select (D0 the SMR controls a Divide-by-16 prescaler of SCLK/TCLK. The pur- pose of this control is to selectively reduce device power consumption during normal processor execution (SCLK control) and/or HALT mode (where ...
Page 51
SMR2 (0F Note: If used in conjunction with SMR, either of the two specified events will cause a Stop-Mode Recovery. *Default Setting After Reset DS96LV00800 Reserved (Must be 0) Reserved (Must ...
Page 52
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Watch-Dog Timer Mode Register (WDTMR). The WDT is a retriggerable one-shot timer that resets the reaches its terminal count. The WDT must initially be en- abled by executing the WDT instruction and refreshed on ...
Page 53
WDT Time Select (D0, D1). Selects the WDT time period configured as shown in Table 8. Table 8. WDT Time Select Time-Out Internal RC OSC min min ...
Page 54
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller Mask Selectable Options. There are seven Mask Select- able Options to choose from based on ROM code require- ments. These are: RAM Protect On/Off RC/Other RC/XTAL 32 kHz XTAL On/Off Port 04-07 Pull-Ups On/Off Port 00-03 Pull-Ups ...
Page 55
EXPANDED REGISTER FILE CONTROL REGISTERS (0D) CTR0 (0D Default Setting After Reset DS96LV00800 0 P34 as Port Output* 1 Timer8 Output 0 Disable T8 Time Out Interrupt 1 Enable T8 ...
Page 56
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller CTR1 (0D *Default setting after Reset Note: Care must be taken in differentiating Transmit Mode from Demodulation Mode. Depending on which of these two modes is operating, the CTR1 bit will have different ...
Page 57
CTR2 (0D) 02H Default Setting After Reset DS96LV00800 0 P35 is Port Output* 1 P35 is TC16 Output 0 Disable T16 Time-Out Interrupt 1 Enable T16 Time-Out Interrupt 0 Disable T16 ...
Page 58
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller EXPANDED REGISTER FILE CONTROL REGISTERS (0F) SMR (0F Default Setting After Reset ** Default Setting After Reset and Stop-Mode Recovery 58 SCLK/TCLK Divide-by-16 0 OFF 1 ON ...
Page 59
SMR2 (0F) 0DH Note: If used in conjunction with SMR, either of the two specified events will cause a Stop-Mode Recovery. *Default Setting After Reset DS96LV00800 Reserved (Must be 0) Reserved (Must ...
Page 60
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller WDTMR (0F Default Setting After Reset PCON (FH) 00H Default Setting After Reset 60 WDT TAP 00 01 ...
Page 61
Z8 STANDARD CONTROL REGISTER DIAGRAMS R246 P2M *Default Setting After Reset Figure 53. Port 2 Mode Register (F6H: Write Only) R247 P3M Default ...
Page 62
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller R250 IRQ Figure 57. Interrupt Request Register ((0) FAH: Read/Write) R251 IMR Default Setting After Reset Figure 58. Interrupt Mask ...
Page 63
PACKAGE INFORMATION DS96LV00800 Figure 63. 28-Pin DIP Package Diagram Figure 64. 28-Pin SOIC Package Diagram Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller 63 1 ...
Page 64
Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller 64 Figure 65. 40-Pin DIP Package Diagram Figure 66. 44-Pin PLCC Package Diagram DS96LV00800 ...
Page 65
DS96LV00800 Figure 67. 44-Pin QFP Package Diagram Z86L88/81/86/87/89/73 IR/Low-Voltage Microcontroller 65 1 ...
Page 66
... DIP Z86L8808PSC Z86L8708PSC Z86L8108PSC Z86L8908PSC Z86L8608PSC Z86L7308PSC 28-Pin SIOC 44-Pin PLCC Z86L8808SSC Z86L8708VSC Z86L8108SSC Z86L8908VSC Z86L8608SSC Z86L7308VSC For fast results, contact your local Zilog sales office for as- sistance in ordering the part desired. Example: Z 86LXX Codes Package P = Plastic DIP ...