z86l88 ZiLOG Semiconductor, z86l88 Datasheet

no-image

z86l88

Manufacturer Part Number
z86l88
Description
Low-voltage Ir Microcontroller
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z86l8808SSCR50YKTR
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z86l8808SSCR53J6TR
Manufacturer:
PHILIPS
Quantity:
649
Part Number:
z86l88R51JW
Manufacturer:
MNDSPEES
Quantity:
313
Z86L88
Low-Voltage IR Micro-
controller
Product Specification
PS024102-0804
ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126-3432
Telephone: 408.558.8500 • Fax: 408.558.8300 •
www.ZiLOG.com

Related parts for z86l88

z86l88 Summary of contents

Page 1

... Z86L88 Low-Voltage IR Micro- controller Product Specification PS024102-0804 ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126-3432 Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com ...

Page 2

This publication is subject to replacement by a later edition. To determine whether a later edition exists request copies of publications, contact: ZiLOG Worldwide Headquarters 532 Race Street San Jose, CA 95126-3432 Telephone: 408.558.8500 Fax: 408.558.8300 www.ZiLOG.com ZiLOG ...

Page 3

... Counter/Timer Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Counter/Timer Functional Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Power-On Reset (POR HALT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Port Configuration Register (PCON Stop-Mode Recovery Register (SMR Stop-Mode Recovery Register 2 (SMR2 Watch-Dog Timer Mode Register (WDTMR Mask Selectable Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 PS024102-0804 Z86L88 Low-Voltage IR Microcontroller Table of Contents iii ...

Page 4

... Z86L88 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Customer Feedback Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Customer Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Product Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Return Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Problem Description or Suggestion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 PS024102-0804 Z86L88 Low-Voltage IR Microcontroller Table of Contents iv ...

Page 5

... Figure 25. Interrupt Mask Register—FBH: Read/Write . . . . . . . . . . . . . . . . . . . 31 Figure 26. Flag Register—FCH: Read/Write . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Figure 27. Register Pointer—FDH: Read/Write . . . . . . . . . . . . . . . . . . . . . . . . 32 Figure 28. Stack Pointer High—FEH: Read/Write . . . . . . . . . . . . . . . . . . . . . . 32 Figure 29. Stack Pointer Low—FFH: Read/Write . . . . . . . . . . . . . . . . . . . . . . . 32 Figure 30. Register Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Figure 31. Glitch Filter Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Figure 32. 8-Bit Counter/Timer Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 PS024102-0804 Z86L88 Low-Voltage IR Microcontroller List of Figures v ...

Page 6

... Figure 49. Stop-Mode Recovery Register 2—(0F) DH:D2–D4, D6 Write Only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Figure 50. Watch-Dog Timer Mode Register—Write Only . . . . . . . . . . . . . . . . 66 Figure 51. Resets and WDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Figure 52. 28-Pin SOIC Package Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Figure 53. 28-Pin DIP Package Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Figure 54. 28-Pin SSOP Package Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Figure 55. Ordering Codes Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 PS024102-0804 Z86L88 Low-Voltage IR Microcontroller List of Figures vi ...

Page 7

... List of Tables Table 1. Z86L88 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Table 2. Power Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Table 3. 28-Pin DIP and SOIC Pin Identification . . . . . . . . . . . . . . . . . . . . . . . 5 Table 4. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Table 5. Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Table 6. DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 8

... Features Table 1 lists some of the features of the Z86L88 microcontroller. Table 1. Z86L88 Features Device ROM (KB) Z86L88 Note: *General purpose • Low power consumption—40 mW (typical) • Three standby modes STOP—2 µA (typical) – – HALT—0.8 mA (typical) – Low voltage • ...

Page 9

... General Description The Z86L88 is a ROM-based member of the Z8 MCU single-chip family of infrared (IR) controllers, featuring 237 bytes of general-purpose RAM and ROM, respectively. ZiLOG’s CMOS microcontrollers offer fast executing, efficient use of memory, sophisticated interrupts, input/output bit manipulation capabilities, auto- mated pulse generation/reception, and internal key-scan pull-up transistors ...

Page 10

... Table 2. Power Conventions Connection Power Ground Figure 2 shows the functional block diagram. PS024102-0804 Low-Voltage IR Microcontroller 16-Bit TC16L TC16H HI8 LO8 8 8 8-Bit TC8H TC8L Circuit Device GND V SS Z86L88 3 Timer 16 And/Or Timer 8/16 Logic Timer 8 ...

Page 11

... Register File 256 x 8-Bit Register Bus Internal Address Bus ROM 16K x 8 Internal Data Bus Expanded Register Bus Expanded Register File Counter/Timer 16 Counter/Timer 8 8-Bit Z86L88 Pref1 P31 P32 P33 Port 3 P34 P35 P36 P37 Z8 Core Machine XTAL Timing and Instruction Control ...

Page 12

... Port 0 is nibble programmable. Input/Output Port 0–3 can be configured as a Input/Output mouse/trackball input. Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Port 2 pins are individually Input/Output configurable as input or output. Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Input Analog ref input; connect to V Z86L88 Low-Voltage IR Microcontroller if not used CC 5 ...

Page 13

... P36 16 P37 10 XTAL1 9 XTAL2 Absolute Maximum Ratings Table 4 lists the absolute maximum ratings for the Z86L88 microcontroller. Table 4. Absolute Maximum Ratings Symbol Description V Supply Voltage (*) max T Storage Temperature STG T Oper. Ambient Temperature A Notes: * Voltage on all pins with respect to GND † ...

Page 14

... 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 4). From Output Under Test Figure 4. Test Load Diagram Capacitance Table 5 lists the capacitance for the Z86L88 microcontrollers. . Table 5. Capacitance Parameter Input capacitance Output capacitance I/O capacitance Note 25° ...

Page 15

... µ 2.0 V – µ 3.6 V – µ 2.0 V – µ 3.6 V – Z86L88 8 Notes µ I <250 A IN µ I <250 A IN Driven by External Clock Generator Driven by External Clock Generator Driven by External Clock Generator Driven by External Clock Generator I = –0 – ...

Page 16

... 2.0 V 500 3.6 V 800 2 3 2.0 CC increases as the temperature decreases. BO Z86L88 Low-Voltage IR Microcontroller Units Conditions Notes mA at 8.0 MHz 8.0 MHz 2, 3 µ kHz µ kHz ...

Page 17

... AC Characteristics This section discusses the alternating current (AC) characteristics. The timing dia- gram is shown in Figure 5 and described in Table 7. Clock T IN IRQ N Clock Setup Stop Mode Recovery Source Figure 5. Timing Diagram PS024102-0804 Low-Voltage IR Microcontroller Z86L88 10 3 ...

Page 18

... V 100 ns 3 2.0 V 3TpC 5.5 V 3TpC 2.0 V 8TpC 3.6 V 8TpC 2.0 V 100 ns 3.6 V 100 ns 2.0 V 100 ns 3 2.0 V 5TpC 3.6 V 5TpC 2.0 V 5TpC 3.6 V 5TpC 2 3 2.0 V 5TpC 3.6 V 5TpC Z86L88 11 Stop-Mode Recovery (D1, D0 ...

Page 19

... PS024102-0804 T = 0°C to +70°C A 8.0 MHz V Min CC 2 3.6 V 7.5 2 3.6 V 7 2.0 V 160 3 for a logic 1 and 0.1 V for a logic 0. CC Z86L88 Low-Voltage IR Microcontroller Stop-Mode Recovery (D1, D0) Max Units Notes ...

Page 20

... This option allows direct interface to mouse/trackball IR sensors. An optional pull-up transistor is available as a mask option on all Port 0 bits with nibble select. See Figure 6. Note: Internal pull-ups are disabled on any given pin or group of port pins when programmed into output mode. PS024102-0804 Low-Voltage IR Microcontroller CMOS trip inputs on P00–P03. DD Z86L88 13 ...

Page 21

... Open-Drain I/O Out In In Figure 6. Port 0 Configuration PS024102-0804 4 Port 0 (I/O) Z86L88 4 MCU *Mask Selectable 0 Trip Point Buffer Z86L88 Low-Voltage IR Microcontroller V Mask CC Option Resistive transistor pull-up Pad 14 ...

Page 22

... Port 2 also has an 8-bit input OR and AND gate that can be used to wake up the part. P20 can be programmed to access the edge-detection circuitry in demodula- tion mode. See Figure 7. Z86L88 MCU Open-Drain I/O Out In Figure 7. Port 2 Configuration PS024102-0804 Low-Voltage IR Microcontroller Port 2 I Mask Option Resistive transistor Pad Z86L88 15 pull-up ...

Page 23

... Pref1 and P33. The analog function is enabled by PS024102-0804 P31 P32 Z86L88 P33 MCU Port 3 (I/O) P34 P35 P36 P37 R247 = P3M D1 DIG. Comp1 + AN. – Comp1 + – Z86L88 Low-Voltage IR Microcontroller 1 = Analog 0 = Digital IRQ2, P31 Data Latch IRQ0, P32 Data Latch IRQ1, P33 Data Latch 16 ...

Page 24

... P31–P33 to be used in a Stop-Mode Recovery source, these inputs must be placed into digital mode. Comparator Outputs These outputs can be programmed to be output on P34 and P37 through the PCON register. See Figure 9. PS024102-0804 Low-Voltage IR Microcontroller C/T Comp. Int. RF1 IN AN1 IRQ2 AN2 IRQ0 RF2 IRQ1 T8 AO1 T16 T8/16 AO2 IN Z86L88 17 ...

Page 25

... P32 + Pref – 2 Figure 9. Port 3 Counter/Timer Output Configuration PS024102-0804 PCON, D0 MUX Comp 1 CTR2, D0 Out 35 MUX T16_Out CTR1, D6 Out 36 MUX T8/16_Out PCON, D0 P37 data MUX Comp 2 Z86L88 Low-Voltage IR Microcontroller V DD Pad P34 V DD Pad P35 V DD Pad P36 V DD Pad P37 18 ...

Page 26

... The Z86L88 device addresses internal program memory. The first 12 bytes are reserved for interrupt vectors. These locations contain the five 16-bit vectors that correspond to the five available interrupts. RAM The Z86L88 device has 237 bytes of RAM that make up the register file. 16383 Location of First byte of ...

Page 27

... The lower nibble selects the expanded register file bank and, in the case of the Z86L88 device, banks 0, F, and D are implemented the lower nibble allows the normal register file (bank addressed, but any other value from exchanges the lower 16 registers to an expanded register bank ...

Page 28

... EXPANDED REG. BANK (D) REGISTER** ( ( (D) 08 (D) 07 (D) 06 (D) 05 (D) 04 (D) 03 (D) 02 (D) 01 (D) 00 Z86L88 Low-Voltage IR Microcontroller RESET CONDITION SPL SPH ...

Page 29

... Disable T8 Data Capture Interrupt 1 = Enable T8 Data Capture Interrupt 00 = SCLK SCLK SCLK SCLK Counter Time-out Counter Time-out Occurred Effect Reset Flag Modulo Single Pass Disabled * Enabled Stop Enable T8 Z86L88 22 ...

Page 30

... Transmit Mode operating, the CTR1 bit has different 0 = P36 as Port Output * functions P36 as T8/T16_OUT Demodulation Mode Note: Changing from one mode P31 as Demodulator Input another cannot be done without 1 = P20 as Demodulator Input disabling the counter/timers. Transmit/Demodulation Modes 0 = Transmit Mode * 1 = Demodulation Mode Z86L88 23 ...

Page 31

... T16 Time-out Occurs Effect Reset Flag to 0 Transmit Mode 0 = Modulo-N for T16 1 = Single Pass for T16 Demodulator Mode 0 = T16 Recognizes Edge 1 = T16 Does Not Recognize Edge T16 Disabled * T16 Enabled Stop T16 Enable T16 Z86L88 24 ...

Page 32

... ON Reserved (must be 0) Stop-Mode Recovery Source 000 = POR Only * 001 = Reserved 010 = P31 011 = P32 100 = P33 101 = P27 110 = P2 NOR 0–3 111 = P2 NOR 0–7 Stop Delay 0 = OFF 1 = ON* Stop Recovery Level *** 0 = Low * 1 = High Stop Flag 0 = POR * 1 = Stop Recovery ** Z86L88 25 ...

Page 33

... NOR P31, P32, P33, P00, P07 110 = NAND P31, P32, P33, P00, P07 111 = NAND P31, P32, P33, P20, P21, P22 Reserved (must be 0) Recovery Level ** 0 = Low * 1 = High Reserved (must be 0) Note: If used in conjunction with SMR, either of the two specified events causes a Stop-Mode Recovery. Z86L88 26 ...

Page 34

... WDT during HALT 0 = OFF 1 = ON* WDT during STOP 0 = OFF 1 = ON* Reserved (must be 0) Comparator Output Port 3 0 P34, P37, Standard Output* 1 P34, P37, Comparator Output Reserved (must be 1) Port Open-drain 1 = Push-pull* Reserved (must be 1) Z86L88 27 ...

Page 35

... *Default setting after reset Figure 21. Port 3 Mode Register—F7H: Write Only PS024102-0804 Low-Voltage IR Microcontroller P27–P20 I/O Definition 0 = Defines bit as OUTPUT 1 = Defines bit as INPUT * 0 = Port 2 Open-Drain * 1 = Port 2 Push-Pull 0 = P31, P32 Digital Mode 1 = P31, P32 Analog Mode Reserved (must be 0) Z86L88 28 ...

Page 36

... R248 P01M Default setting after reset Figure 22. Port 0 and 1 Mode Register (F8h: Write Only) PS024102-0804 Z86L88 Low-Voltage IR Microcontroller P00–P03 Mode 0: Output 1: Input * Reserved; must be 0 Reserved; must be 1 Reserved; must be 0 P07–P04 Mode 0: Output 1: Input * Reserved; must be 0 ...

Page 37

... IRQ3, IRQ5, Priority (Group IRQ5>IRQ3 1 = IRQ3>IRQ5 Reserved (must be 0) IRQ0 = P32 Input IRQ1 = P23 Input IRQ2 = P31 Input IRQ3 = T16 IRQ4 = T8 Inner Edge P31 ↓ P32 ↓ P31 ↓ P32 ↑ P31 ↑ P32 ↓ P31 ↑↓ P32 ↑↓ Z86L88 30 ...

Page 38

... Figure 26. Flag Register—FCH: Read/Write PS024102-0804 Low-Voltage IR Microcontroller 1 = Enables IRQ5–IRQ0 (D0 = IRQ0) Reserved (must Master Interrupt Disable * 1 = Master Interrupt Enable ** User Flag F1 User Flag F2 Half Carry Flag Decimal Adjust Flag Overflow Flag Sign Flag Zero Flag Carry Flag Z86L88 31 ...

Page 39

... Note: Working register group E0–EF can only be accessed through working registers and indirect addressing modes. PS024102-0804 Low-Voltage IR Microcontroller Expanded Register Bank Pointer Working Register Pointer General-Purpose Register Byte (SP15–SP8) Stack Pointer Lower Byte (SP7–SP0) Z86L88 32 ...

Page 40

... Figure 30. Register Pointer Stack The Z86L88 internal register file is used for the stack. An 8-bit Stack Pointer (R255) is used for the internal stack that resides in the general-purpose registers (R4–R239). SPH is used as a general-purpose register only when using internal stacks. PS024102-0804 r ...

Page 41

... This register (Table 11) holds the captured data from the output of the 8-bit Counter/Timer0. This register is typically used to hold the number of counts when the input signal is 0HI16(D)09h. PS024102-0804 LVD HI8 LO8 HI16 LO16 TC16H TC16L TC8H TC8L Reserved CTR2 CTR1 CTR0 Bit Position Description R Captured Data 76543210 W No Effect Z86L88 Low-Voltage IR Microcontroller 34 ...

Page 42

... Table 14 describes the Counter/Timer2 MS-Byte Hold Register. Table 14. TC16H(D)07h Field Bit Position T16_Data_HI 76543210 PS024102-0804 Bit Position Description R Captured Data 76543210 W No Effect Bit Position Description R Captured Data 76543210 W No Effect Bit Position Description R Captured Data 76543210 W No Effect Description R/W Data Z86L88 Low-Voltage IR Microcontroller 35 ...

Page 43

... Table 16 describes the Counter/Timer8 High Hold Register. Table 16. TC8H(D)05h Field T8_Level_HI TC8L(D)04h Table 17 describes the Counter/Timer8 Low Hold Register. Table 17. TC8L(D)04h Field T8_Level_LO PS024102-0804 Description R/W Data Bit Position Description R/W Data 76543210 Bit Position Description R/W Data 76543210 Z86L88 Low-Voltage IR Microcontroller 36 ...

Page 44

... Single Pass Counter Time-Out 1 Counter Time-Out Occurred Effect 1 Reset Flag SCLK 0 1 SCLK SCLK SCLK/8 R/W 0 Disable Data Capture Int. 1 Enable Data Capture Int. R/W 0 Disable Time-Out Int. 1 Enable Time-Out Int. R/W 0* P34 as Port Output 1 T8 Output on P34 Z86L88 37 ...

Page 45

... Set this bit to allow an interrupt when data is captured into either LO8 or HI8 upon a positive or negative edge detection in demodulation mode. Counter_INT_Mask Set this bit to allow an interrupt when T8 has a time-out. P34_Out This bit defines whether P34 is used as a normal output pin or the T8 output. PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 38 ...

Page 46

... R/W --54---- R/W ----32 Z86L88 39 Description Transmit Mode Demodulation Mode Transmit Mode Port Output T8/T16 Output Demodulation Mode P31 P20 Transmit Mode AND OR NOR NAND Demodulation Mode Falling Edge Rising Edge Both Edges Reserved Transmit Mode ...

Page 47

... -------0 R Z86L88 40 Description Transmit Mode T8_OUT is 0 Initially T8_OUT is 1 Initially Demodulation Mode No Rising Edge Rising Edge Detected No Effect Reset Flag to 0 Transmit Mode T16_OUT is 0 Initially T16_OUT is 1 Initially Demodulation Mode No Falling Edge Falling Edge Detected ...

Page 48

... CTR1, D0. In demodulation mode, this bit is set to 1 when a falling edge is detected in the input signal. In order to reset it must be written to this location. Note: Modifying CTR1 (D1 or D0) while the counters are enabled causes unpredictable output from T8/16_OUT. PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 41 ...

Page 49

... T16 Does Not Recognize Edge Counter Time-Out 1 Counter Time-Out Occurred Effect 1 Reset Flag to 0 R/W 00 SCLK 01 SCLK/2 10 SCLK/4 11 SCLK/8 R/W 0 Disable Data Capture Int. 1 Enable Data Capture Int. R/W 0 Disable Time-Out Int. Enable Time-Out Int. R/W 0* P35 as Port Output 1 T16 Output on P35 Z86L88 42 ...

Page 50

... 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 that have a width less than specified (CTR1 D3, D2) are filtered out (see Figure 31). PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 43 ...

Page 51

... Z8 Data Bus Pos Edge Neg Edge CTR0 D4, D3 Clock SCLK Select Z8 Data Bus Figure 32. 8-Bit Counter/Timer Circuits PS024102-0804 Low-Voltage IR Microcontroller CTR1 D5, D4 Glitch Filter Edge Detector HI8 LO8 Clock 8-Bit Counter T8 TC8L TC8H Z86L88 Pos Edge Neg Edge CTR0 D2 IRQ4 CTR0 D1 T8_OUT 44 ...

Page 52

... TC8L is loaded TC8H is loaded. T8 counts down to 0, toggles T8_OUT, sets the time-out status bit (CTR0 D5), and generates an interrupt if enabled (CTR0 D1). One cycle is thus completed. T8 then loads from TC8H or TC8L according to the T8_OUT level and repeats the cycle. See Figure 35. PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 45 ...

Page 53

... Reset T8_OUT Enable T8 No T8_Timeout Yes Single Pass Single Pass? Modulo-N 1 T8_OUT Value Load TC8L Reset T8_OUT Enable T8 No T8_Timeout Yes Z86L88 Low-Voltage IR Microcontroller Load TC8H Set T8_OUT 0 Load TC8H Set T8_OUT Set Time-out Status Bit (CTR0, D5) and generate Timeout_Int if enabled 46 ...

Page 54

... positive edge, data is put into LO8; if PS024102-0804 Low-Voltage IR Microcontroller TC8H Counts T8_OUT toggles Time-out Interrupt T8_OUT Toggles TC8L TC8H TC8L TC8H Time-out Time-out Interrupt Interrupt An initial count of 0 causes TC8 to count from Z86L88 TC8L An initial count of 47 ...

Page 55

... D5) is set, an interrupt can be generated if enabled (CTR0 D1), and T8 continues counting from FFh (see Figure 36 and Figure 37). Pos T8 LO8 Figure 36. Demodulation Mode Count Capture Flowchart PS024102-0804 T8 (8-Bit) Count Capture T8_Enable (Set by User) No Yes Edge Present No Yes What Kind of Edge T8 HI8 FFh T8 Z86L88 Low-Voltage IR Microcontroller Neg 48 ...

Page 56

... Present Yes Enable TC8 No T8_Enable Bit Set Yes No Edge Present Yes T8 Time-out Set Edge Present Status Bit and Trigger Data Capture Int. if enabled Yes Set Edge Present Status Bit and Trigger Time Out Int. if enabled Continue Counting Z86L88 Low-Voltage IR Microcontroller No 49 ...

Page 57

... If T16 is in Single-Pass Mode, T16 is stopped at this point (see Figure 39). If T16 is in Modulo-N Mode, T16 is loaded with TC16H * 256 + TC16L and the counting continues (see Figure 40). PS024102-0804 Low-Voltage IR Microcontroller HI16 LO16 16-Bit Clock Counter T16 TC16H TC16L Z86L88 CTR2 D2 IRQ3 CTR2 D1 T16_OUT 50 ...

Page 58

... T16 is loaded with FFFFh and starts again. This T16 mode is generally used to measure space time, the length of time between bursts of carrier signal (marks). PS024102-0804 TC16H*256+TC16L Counts T16_OUT toggles Time-out Interrupt TC16H*256+TCl16 TC16H*256+TCl16 T16_OUT Toggles, T16_OUT Toggles, Time-out Interrupt Time-out Interrupt Z86L88 Low-Voltage IR Microcontroller TC16H*256+TCl16 51 ...

Page 59

... Ping-Pong operation, write 00 to bits D3 and D2 of CTR1. Note: Enabling Ping-Pong operation while the counter/timers are running might cause intermittent counter/timer function. Disable the counter/timers and then reset the status flags before instituting this operation. PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 52 ...

Page 60

... During Ping-Pong Mode The enable bits of T8 and T16 (CTR0 D7, CTR2 D7) are set and cleared alter- nately by hardware. The time-out bits (CTR0 D5, CTR2 D5) are set every time the counter/timers reach the terminal count. PS024102-0804 Time-out Time-out Z86L88 Low-Voltage IR Microcontroller Ping-Pong CTR1, D3 ...

Page 61

... CTR1 D3 Figure 42. Output Circuit Interrupts The Z86L88 features five different interrupts. The interrupts are maskable and pri- oritized, as shown in Figure 43. The five sources are divided as follows: three sources are claimed by Port 3 lines P33–P31and two by the counter/timers (see Table 21). The Interrupt Mask Register, globally or individually, enables or dis- ables the five interrupt requests ...

Page 62

... IRQ4 IRQ IMR IPR Global Interrupt Enable Priority Logic Vector Select Vector Location Comments 0,1 External (P32), Rising Falling Edge Triggered 2,3 External (P33), Falling Edge Triggered 4,5 External (P31), Rising Falling Edge Triggered IN 6,7 Internal 8,9 Internal Z86L88 Low-Voltage IR Microcontroller Low Voltage 8 Detection IRQ5 5 55 ...

Page 63

... LC, ceramic resonator, or any suitable external clock source (XTAL1 = Input; XTAL2 = Output). The crystal must be AT cut, 1 MHz to 8 MHz maximum, with a series resistance (RS) less than or equal to 100 Ohms. The Z86L88 on-chip oscillator can be driven with a low-cost RC network or other suit- able external clock source. PS024102-0804 ...

Page 64

... Stop-Mode Recovery ( SMR = 1) • WDT Time-Out PS024102-0804 XTAL1 C1 L XTAL2 130 µ MHz* XTAL1 XTAL2 External Clock Z86L88 Low-Voltage IR Microcontroller XTAL1 C1 R XTAL2 VCC (TYP pF 1K* XTAL1 XTAL2 and the oscilla- CC Standby BO 57 ...

Page 65

... To execute this action, you must execute a NOP (op code = FFH) immediately before the appropriate sleep instruc- tion. For example PS024102-0804 Low-Voltage IR Microcontroller NOP ; clear the pipeline STOP ; enter STOP Mode NOP ; clear the pipeline HALT ; enter HALT Mode Z86L88 58 ...

Page 66

... Mode Recovery signal. Bit D0 determines if SCLK/TCLK (shown in Figure 47) are divided not. The SMR is located in Bank F of the Expanded Register Group at address 0BH. PS024102-0804 Low-Voltage IR Microcontroller Comparator Output Port 3 0 P34, P37, Standard Output* 1 P34, P37, Comparator Output Reserved (must be 1) Port Open-drain 1 = Push-pull* Reserved (must be 1) Z86L88 59 ...

Page 67

... Stop-Mode Recovery Source 000 = POR Only * 001 = Reserved 010 = P31 011 = P32 100 = P33 101 = P27 110 = P2 NOR 0–3 111 = P2 NOR 0–7 Stop Delay 0 = OFF Stop Recovery Level *** 0 = Low * 1 = High Stop Delay 0 = POR * 1 = Stop Recovery ** SCLK TCLK Z86L88 Low-Voltage IR Microcontroller 60 ...

Page 68

... HALT Mode (where TCLK sources inter- rupt logic). After Stop-Mode Recovery, this bit is set Stop-Mode Recovery Source (D2, D3, and D4) These three bits of the SMR specify the wake-up source of the STOP recovery (Figure 48 and Table 23 on page 63). PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 61 ...

Page 69

... P33 P00 P07 P31 P32 P33 P00 P07 SMR D6 P31 P32 P33 P20 P21 P22 Z86L88 Low-Voltage IR Microcontroller SMR SMR SMR SMR SMR SMR ...

Page 70

... Mode Recovery source must be kept active for at least 5TpC. Stop-Mode Recovery Edge Select (D6 this bit position indicates that a High level on any one of the recovery sources wakes the Z86L88 from STOP Mode indicates Low level recovery. The default POR. Cold or Warm Start (D7) This bit is read only ...

Page 71

... NOR P31, P32, P33 100 = NAND P31, P32, P33 101 = NOR P31, P32, P33, P00, P07 110 = NAND P31, P32, P33, P00, P07 111 = NAND P31, P32, P33, P20, P21, P22 Reserved (must be 0) Recovery Level ** 0 = Low * 1 = High Reserved (must be 0) Z86L88 64 ...

Page 72

... A. POR Only 001 B. NAND of P23–P20 010 C. NAND or P27–P20 011 D. NOR of P33–P31 100 E. NAND of P33–P31 101 F. NOR of P33–P31, P00, P07 110 G. NAND of P33–P31, P00, P07 111 H. NAND of P33–P31, P22–P20 00 Reserved (Must be 0) Z86L88 65 ...

Page 73

... HALT. The default is 1. PS024102-0804 WDT TAP INT RC OSC 00 = 7.5 ms min 01* = 7.5 ms min min min WDT during HALT 0 = OFF 1 = ON* WDT during STOP 0 = OFF 1 = ON* Reserved (must be 0) Time-Out of Internal RC OSC 7.5 ms min 7.5 ms min 15 ms min 60 ms min Z86L88 Low-Voltage IR Microcontroller 66 ...

Page 74

... Clock Reset timers upon a Low-to-High input translation. Figure 51. Resets and WDT PS024102-0804 *CLR2 18 Clock Reset Filter Generator CLK WDT POR 7 CLK WDT/POR Counter Chain U Internal *CLR1 X RD OSC. Low Operating Voltage Det Z86L88 Low-Voltage IR Microcontroller Reset Internal Reset Active High TAP SELECT ...

Page 75

... These are listed in Table 26. Table 26. Mask Selectable Options RC/Other 32 kHz XTAL Port 0: 0–3 pull-ups Port 0: 4–7 pull-ups Port 2: 2–7 pull-ups Port 3: pull-ups Port 0: 0–3 Mouse Mode 0.4 V PS024102-0804 Low-Voltage IR Microcontroller RC/XTAL On/Off On/Off On/Off On/Off On/Off Trip On/Off DD Z86L88 68 ...

Page 76

... Ordering Information Figure 52 shows the 28-pin SOIC package diagram. Figure 53 shows the 28-pin DIP package diagram. Figure 54 shows the 28-pin SSOP package diagram. Figure 52. 28-Pin SOIC Package Diagram PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 69 ...

Page 77

... Figure 53. 28-Pin DIP Package Diagram PS024102-0804 Z86L88 Low-Voltage IR Microcontroller 70 ...

Page 78

... Figure 54. 28-Pin SSOP Package Diagram Z86L88 8.0 MHz 28-Pin DIP Z86L8808PSC Z86L8808PSG 28-Pin SOIC Z86L8808SSC Z86L8808SSG Note: For the die form, please contact ZiLOG. For fast results, contact your local ZiLOG sales office for assistance in ordering the part desired. PS024102-0804 Z86L88 Low-Voltage IR Microcontroller ...

Page 79

... S = SOIC (Small Outline Integrated Circuit) Temperature °C to +70 °C Speed 8 = 8.0 MHz Environmental C = Plastic Standard G = Lead free PS024102-0804 Z86L88, 8 MHz, DIP, 0 ° °C, Plastic Standard Flow Environmental Flow Temperature Package Speed Product Number ZiLOG Prefix Z86L88 Low-Voltage IR Microcontroller 72 ...

Page 80

... Fax: (408) 558-8300 Problem Description or Suggestion Provide a complete description of the problem or your suggestion. If you are reporting a specific problem, include all steps leading up to the occurrence of the problem. Attach additional pages as necessary. _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ PS024102-0804 Low-Voltage IR Microcontroller Country Phone Fax email Z86L88 73 ...

Page 81

... Each instance in Table 27 reflects a change to this document from its previous revision. Table 27. Revision History of this Document Revision Date Level Section August 01 2004 August 02 2004 PS024102-0804 Low-Voltage IR Microcontroller Description Original release Ordering Information. Added ordering information for lead-free packaging Z86L88 74 Page # All 71, 72 ...

Related keywords