Z86L87/89/73/987
40-/44-/48-Pin Low-
Voltage Infrared
Microcontrollers
Product Specification
PS015906-0908
Copyright ©2008 by Zilog
®
, Inc. All rights reserved.
www.zilog.com
Warning:
DO NOT USE IN LIFE SUPPORT
LIFE SUPPORT POLICY
ZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE
SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF
THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b)
support or sustain life and whose failure to perform when properly used in accordance with instructions for
use provided in the labeling can be reasonably expected to result in a significant injury to the user. A
critical component is any component in a life support device or system whose failure to perform can be
reasonably expected to cause the failure of the life support device or system or to affect its safety or
effectiveness.
Document Disclaimer
©2008 by Zilog, Inc. All rights reserved. Information in this publication concerning the devices,
applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG,
INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY
OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT.
Z I L O G A L S O D O E S N O T A S S U M E L I A B I L I T Y F O R I N T E L L E C T U A L P R O P E RT Y
INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR
TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this
document has been verified according to the general principles of electrical and mechanical engineering.
Z8 is a registered trademark of Zilog, Inc. All other product or service names are the property of their
respective owners.
PS015906-0908
40-/44-/48-Pin Low-Voltage Infrared Microcontrollers
Product Specification
iii
Revision History
Each instance in Revision History reflects a change to this document from its previous
revision. For more details, refer to the corresponding pages and appropriate links in the
table below.
Date
September
2008
Revision Level
06
Description
Changed 44-Pin QFP to 44-Pin LQFP
in
Figure 4, Table 3, Figure 59,
and
Table 20.
Page Number
6, 8, 80, 82
PS015906-0908
Revision History
40-/44-/48-Pin Low-Voltage Infrared Microcontrollers
Product Specification
iv
Table of Contents
Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
DS (Output, Active Low) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
AS (Output, Active Low) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
XTAL1 Crystal 1 (Time-Based Input) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
XTAL2 Crystal 2 (Time-Based Output) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
R/W Read/Write (Output, Write Low) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Port 0 (P07–P00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Port 1 (P17–P10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Port 2 (P27–P20) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Port 3 (P37–P31) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
RESET (Input, Active Low) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Expanded Register File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Register File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Counter/Timer Functional Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Expanded Register File Control Registers (0D) . . . . . . . . . . . . . . . . . . . . . . . . . 56
Expanded Register File Control Registers (0F) . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Standard Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Part Number Suffix Designations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
PS015906-0908
Table of Contents
40-/44-/48-Pin Low-Voltage Infrared Microcontrollers
Product Specification
1
Architectural Overview
General Description
Zilog’s Z86L87/89/73/987 are ROM-based members of the Microcontroller Unit (MCU)
family of infrared (IR) microcontrollers. With 237 bytes of general-purpose RAM and
16/24/32/64 KB of ROM, Zilog’s CMOS microcontrollers offer fast executing, efficient
use of memory, sophisticated interrupts, input/output (I/O) bit manipulation capabilities,
automated pulse generation/reception, and internal key-scan pull-up transistors.
The Z86L87/89/73/987 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 Z8
®
offers a flexible I/O scheme, an efficient regis-
ter, and address space structure. It also offers number of ancillary features that are useful
in many consumer, automotive, computer peripheral, and battery-operated hand-held
applications.
There are four basic address spaces available to support a wide range of configurations:
1. Program Memory
2. Register File
3. Expanded Register File
4. 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 236 general-purpose registers. Register
FEh
(SPH) can be
used as a general-purpose register. The Expanded Register File consists of two additional
register groups (F and D).
To unburden the program from coping with such real-time problems as generating com-
plex waveforms or receiving and demodulating complex waveform/pulses, the Z86L87/
89/73/987 offers a new intelligent counter/timer architecture with 8-bit and 16-bit counter/
timers (see
Figure 1
on page 4,
Figure 2
on page 5, and
Table 2
on page 3). Also included
are a large number of user-selectable modes and two on-board comparators to process ana-
log signals with separate reference voltages (see
Figure 2
on page 5).
PS015906-0908
Architectural Overview