ChipFind - документация

Электронный компонент: P87CL881H/001/1

Скачать:  PDF   ZIP

Document Outline

DATA SHEET
Product specification
File under Integrated Circuits, IC17
1999 Apr 16
INTEGRATED CIRCUITS
P87CL881H
Low-voltage microcontroller with
63-kbyte OTP program memory
and 2-kbyte RAM
1999 Apr 16
2
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
CONTENTS
1
FEATURES
2
GENERAL DESCRIPTION
3
ORDERING INFORMATION
4
BLOCK DIAGRAM
5
PINNING INFORMATION
5.1
Pinning
5.2
Pin description
6
FUNCTIONAL DESCRIPTION
6.1
Special Function Registers
6.2
I/O facilities
6.3
Internal data memory
6.4
OTP programming
6.5
Oscillator circuitry
6.6
Non-conformance
7
LIMITING VALUES
8
DC CHARACTERISTICS
9
AC CHARACTERISTICS
9.1
AC testing
10
PACKAGE OUTLINE
11
SOLDERING
11.1
Introduction to soldering surface mount
packages
11.2
Reflow soldering
11.3
Wave soldering
11.4
Manual soldering
11.5
Suitability of surface mount IC packages for
wave and reflow soldering methods
12
DEFINITIONS
13
LIFE SUPPORT APPLICATIONS
14
PURCHASE OF PHILIPS I
2
C COMPONENTS
1999 Apr 16
3
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
1
FEATURES
Full static 80C51 CPU; enhanced 8-bit architecture with:
Minimum 6 cycles per instruction (twice as fast as a
standard 80C51 core)
Non-page oriented instructions
Direct addressing
Four 8-byte RAM register banks
Stack depth limited only by available internal RAM
(maximum 256 bytes)
Multiply, divide, subtract and compare instructions.
Very low current consumption
Single supply voltage of 2.7 to 3.6 V
Frequency: 1 to 10 MHz
Operating temperature:
-
25 to +70
C
44-pin LQFP package
Four 8-bit ports (32 I/O lines)
63-kbyte One-Time Programmable (OTP) program
memory; programmable in parallel mode or in-system
via I
2
C-bus interface.
256-byte internal RAM
1792-byte internal AUX-RAM
External address range: 64 kbytes of ROM and
64 kbytes of RAM
Amplitude Controlled Oscillator (ACO) suitable for use
with a quartz crystal or ceramic resonator
Improved Power-on/Power-off reset circuitry (POR)
Low Voltage Detection (LVD) with 11 software
programmable levels
8 interrupts on Port 1, edge or level sensitive triggering
selectable via software power-saving use for keyboard
control
Twenty source, twenty vector interrupt structure with two
priority levels
Wake-up from Power-down mode via LVD or external
interrupts at Port 1
Two 16-bit timer/event counters
Additional 16-bit timer/event counters, with capture,
compare and PWM function
Watchdog Timer
Full duplex enhanced UART with double buffering
I
2
C-bus interface for serial transfer on two lines,
maximum operating frequency 400 kHz.
2
GENERAL DESCRIPTION
The P87CL881 is an 8-bit microcontroller especially suited
for pager applications.
The P87CL881 is manufactured in an advanced CMOS
technology and is based on single chip technology.
The device is optimized for low power consumption and
has two software selectable features for power reduction:
Idle and Power-down modes. In addition, all derivative
blocks switch off their clock if they are inactive.
The instruction set of the P87CL881 is based on that of
the 80C51. The P87CL881 also functions as an arithmetic
processor having facilities for both binary and BCD
arithmetic plus bit-handling capabilities. The instruction set
consists of over 100 instructions: 49 one-byte,
46 two-byte, and 16 three-byte.
This data sheet details the specific properties of the
P87CL881; for details of the P87CL881 core and the
derivative functions see the
"TELX family" data sheet and
"8051-Based 8-bit Microcontrollers; Data Handbook IC20".
3
ORDERING INFORMATION
Note
1. Please refer to the Order Entry Form (OEF) for this device for the full type number to use when ordering. This type
number will also specify the required program and options.
TYPE
NUMBER
(1)
PRODUCT TYPE
PACKAGE
NAME
DESCRIPTION
VERSION
P87CL881H/000
Blank OTP
LQFP44
plastic low profile quad flat package;
44 leads; body 10
10
1.4 mm
SOT389-1
P87CL881H/xxx
Factory-programmed OTP
1999
Apr
16
4
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
4
BLOCK DIAGRAM
handbook, full pagewidth
MGL617
XTAL1
XTAL2
ACO
80C51
core
excluding
ROM/RAM
TWO 16-BIT
TIMER/
EVENT
COUNTERS
(T0, T1)
CLK
(2)
PARALLEL
I/O PORTS
P0
P1
P3
P2
TXD
(4)
T2COMP
(2)
SDA
(2)
SCL
(2)
RXD
(4)
AD0 to AD7
(1)
A8 to A15
(3)
T2
(2)
RST
PORENABLE
T2EX
(2)
CPU
SERIAL
UART
PORT
DATA
MEMORY
RAM
DATA
MEMORY
AUX-RAM
VDD
VSS
8-bit
internal bus
PROGRAM
MEMORY
ROM
16-BIT
TIMER/EVENT
COUNTER WITH
CAPTURE/
COMPARE/
(T2)
EEPROM
I
2
C-BUS
INTERFACE
WATCHDOG
TIMER
(T3)
POR
LVD
P87CL881H
T0
(4)
T1
(4)
INT0
(4)
INT1
(4)
INT2 to INT8
(2)
7
RD
(4)
WR
(4)
EA
PSEN
ALE
EW
VDDP
VSSP VPP
(5)
Fig.1 Block diagram.
(1) Alternative function of Port 0.
(2) Alternative function of Port 1.
(3) Alternative function of Port 2.
(4) Alternative function of Port 3.
(5) Alternative function of pin 6.
1999 Apr 16
5
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
5
PINNING INFORMATION
5.1
Pinning
Fig.2 Pin configuration.
handbook, full pagewidth
P87CL881H
MGL616
1
2
3
4
5
6
7
8
9
10
11
33
32
31
30
29
28
27
26
25
24
23
12
13
14
15
16
17
18
19
20
21
22
44
43
42
41
40
39
38
37
36
35
34
P1.5/INT7
P1.6/INT8/SCL
P1.7/INT9/SDA
RST
P3.0/RXD/data
PORENABLE/VPP
P3.1/TXD/clock
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
P2.5/A13
P2.6/A14
P2.7/A15
PSEN
ALE
EW
EA
P0.7/AD7
P0.6/AD6
P0.5/AD5
P0.4/AD4
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
V
DDP
V
DD
P1.0/INT2/T2
P1.1/INT3/T2EX
P1.2/INT4/T2COMP
P1.3/INT5
P1.4/INT6/CLK
P3.6/WR
P3.7/RD
XT
AL2
XT
AL1
V
SSP
V
SS
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
1999 Apr 16
6
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
5.2
Pin description
Table 1
LQFP package
SYMBOL
PIN
DESCRIPTION
V
DD
39
Power supply for core.
V
DDP
38
Power supply for I/O ring.
V
SS
17
Ground for core.
V
SSP
16
Ground for I/O ring.
RST
4
RESET. A LOW level on this pin for two machine cycles while the oscillator is running,
resets the device. The RST pin is also an output which can be used to reset other ICs.
PORENABLE/V
PP
6
PORENABLE. If set to a logic 1, the internal Power-on reset circuit is enabled. If external
reset circuitry is used, it is recommended to keep PORENABLE LOW in order to achieve
the lowest power consumption. This pin is also used for the OTP programming voltage
V
PP
.
EW
28
Enable Watchdog Timer.
XTAL2
14
Crystal output. Output of the amplitude controlled oscillator. If an external oscillator
clock is used this pin not used.
XTAL1
15
Crystal input. Input to the amplitude controlled oscillator. Also the input for an externally
generated clock source.
PSEN
26
Program Store Enable. Read strobe to external program memory. When executing
code out of external program memory, PSEN is activated twice each machine cycle.
However, during each access to external data memory two PSEN activations are
skipped. During Power-down mode the PSEN pin stays HIGH.
ALE
27
Address Latch Enable. Latches the low byte of the address during accesses to external
memory. It is activated every six oscillator periods and may be used for external timing or
clocking purposes. For improved EMC behaviour, the toggle of the ALE pin can be
disabled by setting the RFI bit in the PCON register by software. This bit is cleared on
reset and can be set and cleared by software. When set, the ALE pin will be pulled-down
internally, switching an external address latch to a quiet state. The MOVX instruction will
still toggle ALE if external memory is accessed. ALE will retain its normal HIGH state
during Idle mode and a LOW state during the Power-down mode while in the EMC mode.
Additionally, during internal access (EA = 1) ALE will toggle normally when the address
exceeds the internal program memory size. During external access (EA = 0) ALE will
always toggle normally, whether the RFI bit is set or not.
EA
29
External Access. When EA is held HIGH, the CPU executes out of the internal program
memory (unless the program counter exceeds the highest address for internal program
memory). When EA is held LOW, the CPU executes out of external program memory
regardless of the value of the program counter. The state of the EA pin is internally
latched at reset.
1999 Apr 16
7
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
P0.0/AD0
37
Port 0. 8-bit bidirectional I/O port with alternative functions. Every port pin can be used
as open-drain, standard port, high-impedance input or push-pull output, according to
Section 6.2. AD7 to AD0 provide the multiplexed low-order address and data bus during
accesses to external memory.
P0.1/AD1
36
P0.2/AD2
35
P0.3/AD3
34
P0.4/AD4
33
P0.5/AD5
32
P0.6/AD6
31
P0.7/AD7
30
P1.0/INT2/T2
40
Port 1. 8-bit bidirectional I/O port with alternative functions. Every port pin except P1.6
and P1.7 (I
2
C-bus pins) can be used as open-drain, standard port, high-impedance input
or push-pull output, according to Section 6.2. Port 1 also serves the alternative functions
INT2 to INT9 interrupts, Timer 2 external input and Timer 2 compare output, external
clock output CLK and I
2
C-bus clock and I
2
C-bus data in/outputs.
P1.1/INT3/T2EX
41
P1.2/INT4/
T2COMP
42
P1.3/INT5
43
P1.4/INT6/CLK
44
P1.5/INT7
1
P1.6/INT8/SCL
2
P1.7/INT9/SDA
3
P2.0/A8
18
Port 2. 8-bit bidirectional I/O port with alternative functions. Every port pin can be used
as open-drain, standard port, high-impedance input or push-pull output, according to
Section 6.2. Port 2 emits the high order address byte during accesses to external
memory that use 16-bit addresses (MOVX @ DPTR). In this application it uses the
strong internal pull-ups when emitting logic 1's. During accesses to external memory that
use 8-bit addresses (MOVX @ Ri), Port 2 emits the contents of the P2 Special Function
Register.
P2.1/A9
19
P2.2/A10
20
P2.3/A11
21
P2.4/A12
22
P2.5/A13
23
P2.6/A14
24
P2.7/A15
25
P3.0/RXD/data
5
Port 3. 8-bit bidirectional I/O port with alternative functions. Every port pin can be used
as open-drain, standard port, high-impedance input or push-pull output, according to
Section 6.2. RXD/data is the serial port receiver data input (asynchronous) or data I/O
(synchronous). TXD/clock is the serial port transmitter data output (asynchronous) or
clock output (synchronous). INT0 and INT1 are external interrupt lines. T0 and T1 are
external inputs for Timers 0 and 1 respectively. WR is the external memory write strobe
and RD is the external memory read strobe.
P3.1/TXD/clock
7
P3.2/INT0
8
P3.3/INT1
9
P3.4/T0
10
P3.5/T1
11
P3.6/WR
12
P3.7/RD
13
SYMBOL
PIN
DESCRIPTION
1999 Apr 16
8
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
6
FUNCTIONAL DESCRIPTION
For the functional and block descriptions of the P87CL881, refer to the
"TELX family" data sheet.
6.1
Special Function Registers
Table 2
Special Function Registers memory map and reset values; note 1
REGISTER NAME
REGISTER MNEMONIC
SFR ADDRESS
RESET VALUE
(2)
80C51 core
Accumulator
ACC
E0H
0000 0000
B Register
B
F0H
0000 0000
Data Pointer Low byte
DPL
82H
0000 0000
Data Pointer High byte
DPH
83H
0000 0000
Program Counter High byte
PCH
no SFR
0000 0000
Program Counter Low byte
PCL
no SFR
0000 0000
Power Control Register
PCON
87H
0000 0000
Prescaler Register
PRESC
F3H
0000 0000
Program Status Word
PSW
D0H
0000 0000
Stack Pointer
SP
81H
0000 0111
XRAM Page Register
XRAMP
FAH
XXXX X
000
Timers 0 and 1
Timer/Counter Control Register
TCON
88H
0000 0000
Timer/Counter 0 High byte
TH0
8CH
0000 0000
Timer/Counter 1 High byte
TH1
8DH
0000 0000
Timer/Counter 0 Low byte
TL0
8AH
0000 0000
Timer/Counter 1 Low byte
TL1
8BH
0000 0000
Timer/Counter Mode Control Register
TMOD
89H
0000 0000
Ports
Alternative Port Function Control Register
ALTP
A3H
0000 0000
Port P0 output data Register
P0
80H
1111 1111
Port P0 Configuration A Register
P0CFGA
8EH
1111 1111
Port P0 Configuration B Register
P0CFGB
8FH
0000 0000
Port P1 output data Register
P1
90H
0111 1111
Port P1 Configuration A Register
P1CFGA
9EH
0000 1000
Port P1 Configuration B Register
P1CFGB
9FH
0111 1111
Port P2 output data Register
P2
A0H
1111 1111
Port P2 Configuration A Register
P2CFGA
AEH
1111 1111
Port P2 Configuration B Register
P2CFGB
AFH
0000 0000
Port P3 output data Register
P3
B0H
1111 1111
Port P3 Configuration A Register
P3CFGA
BEH
1111 1110
Port P3 Configuration B Register
P3CFGB
BFH
1111 1111
1999 Apr 16
9
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Timer 2
Timer 2 Compare High byte
COMP2H
ABH
0000 0000
Timer 2 Compare Low byte
COMP2L
AAH
0000 0000
Timer 2 Reload/Capture High byte
RCAP2H
CBH
0000 0000
Timer 2 Reload/Capture Low byte
RCAP2L
CAH
0000 0000
Timer/Counter 2 Control Register
T2CON
C8H
0000 0000
Timer/Counter 2 High byte
TH2
CDH
0000 0000
Timer/Counter 2 Low byte
TL2
CCH
0000 0000
Interrupt logic
Interrupt Enable Register 0
IEN0
A8H
0000 0000
Interrupt Enable Register 1
IEN1
E8H
0000 0000
Interrupt Enable Register 2
IEN2
F1H
0000 0000
Interrupt Priority Register 0
IP0
B8H
0000 0000
Interrupt Priority Register 1
IP1
F8H
0000 0000
Interrupt Priority Register 2
IP2
F9H
0000 0000
Interrupt Sensitivity Register 1
ISE1
E1H
0000 0000
Interrupt Polarity Register
IX1
E9H
0000 0000
Interrupt Request Flag Register 1
IRQ1
C0H
0000 0000
Low Voltage Detection
LVD Control Register
LVDCON
F2H
0000 0000
PORACO
Reset Status Register
RSTAT
E6H
XXX
1 1000
UART
Serial Port Buffer
S0BUF
99H
0000 0000
Serial Port Control Register
S0CON
98H
0000 0000
I
2
C-bus interface
Address Register
S1ADR
DBH
0000 0000
Serial Control Register
S1CON
D8H
0000 0000
Data Shift Register
S1DAT
DAH
0000 0000
Serial Status Register
S1STA
D9H
1111 1000
Watchdog timer
Watchdog Timer Control Register
WDCON
A5H
1010 0101
Watchdog Timer Interval Register
WDTIM
FFH
0000 0000
REGISTER NAME
REGISTER MNEMONIC
SFR ADDRESS
RESET VALUE
(2)
1999 Apr 16
10
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Notes
1. E7H and FDH are reserved locations and must not be written to.
2. Where: X = undefined state.
OTP interface
OTP Address High Register
OAH
D5
X
00
X XXXX
OTP Address Low Register
OAL
D4
XXXX XXXX
OTP Data Register
ODATA
D6
XXXX XXXX
OTP In-System Programming Register
OISYS
DC
000X 0000
OTP Test Register
OTEST
D7
0000 0000
REGISTER NAME
REGISTER MNEMONIC
SFR ADDRESS
RESET VALUE
(2)
6.2
I/O facilities
6.2.1
P
ORTS
The P87CL881 has 32 I/O lines treated as 32 individually
addressable bits or as four parallel 8-bit addressable ports.
Ports 0, 1, 2 and 3 perform the following alternative
functions:
Port 0 Provides the multiplexed low-order address and
data bus for expanding the device with standard
memories and peripherals.
Port 1 Used for a number of special functions:
P1.0 to P1.7 provides the inputs for the external
interrupts INT2 to INT9
P1.0/T2 and P1.1/T2EX for external inputs of Timer 2
P1.2/T2COMP for external activation and compare
output of Timer 2
P1.4/CLK for the clock output
P1.6/SCL and P1.7/SDA for the I
2
C-bus interface are
real open-drain outputs or high-impedance; no other
port configurations are available.
Port 2 Provides the high-order address bus when
expanding the device with external program
memory and/or external data memory.
Port 3 Pins can be configured individually to provide:
P3.0/RXD/data and P3.1/TXD/clock which are serial
port receiver input and transmitter output (UART)
P3.2/INT0 and P3.3/INT1 are external interrupt request
inputs
P3.4/T0 and P3.5/T1 as counter inputs
P3.6/WR and P3.7/RD are control signals to write and
read to external memories.
To enable a port pin alternative function, the port bit latch
in its SFR must contain a logic 1.
Each port consists of a latch (Special Function Registers
P0 to P3), an output driver and input buffer. All ports have
internal pull-ups. Figure 3(a) shows that the strong
transistor P1 is turned on for only 1 oscillator period after a
LOW-to-HIGH transition in the port latch. When on, it turns
on P3 (a weak pull-up) through the inverter IN1. This
inverter and transistor P3 form a latch which holds the
logic 1.
6.2.2
P
ORT
I/O
CONFIGURATION
I/O port output configurations are determined by the
settings in the port configuration SFRs. Each port has two
associated SFRs: PnCFGA and PnCFGB, where `n'
indicates the specific port number (0 to 3). One bit in each
of the 2 SFRs relates to the output setting for the
corresponding port pin, allowing any combination of the
2 output types to be mixed on those port pins.
For example, the output type of P1.3 is controlled by
setting bit 3 in the SFRs P1CFGA and P1CFGB.
The port pins may be individually configured via the SFRs
with one of the following modes (P1.6 and P1.7 can be
open-drain or high-impedance but never have any diodes
against V
DD
).
Mode 0 Open-drain; quasi-bidirectional I/O with
n-channel open-drain output. Use as an output
(e.g. Port 0 for external memory accesses
(EA = 0) or access above the built-in memory
boundary) requires the connection of an external
pull-up resistor. The ESD protection diodes
against V
DD
and V
SS
are still present. Except for
the I
2
C-bus pins P1.6 and P1.7, ports which are
configured as open-drain still have a protection
diode to V
DD
. See Fig.3a.
1999 Apr 16
11
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Mode 1 Standard port; quasi-bidirectional I/O with
pull-up. The strong pull-up p1 is turned on for
only one oscillator periods after a LOW-to-HIGH
transition in the port latch. After these two
oscillator periods the port is only weakly driven
through p2 and `very weakly' driven through p3.
See Fig.3b.
Mode 2 High-impedance; this mode turns all port output
drivers off. Thus, the pin will not source or sink
current and may be used as an input-only pin with
no internal drivers for an external device to
overcome. See Fig.3c.
Mode 3 Push-pull; output with drive capability in both
polarities. In this mode, pins can only be used as
outputs. See Fig.3d.
Tables 2 and 3 show the configuration register settings for
the four output configurations. The electrical
characteristics of each output configuration are specified
in Chapter 8. The default port configuration after reset is
given in Table 2.
In case of external memory access, the appropriate
options for ports P0, P2 and P3.6/P3.7 (WR/RD, only in
case of external data memory access) must be set by
software.
For Special Function Registers for port configurations/data
please refer to Table 2, note 1.
Table 3
Port configuration register settings
Note
1. Mode changes may cause glitches to occur during transitions. When modifying both registers, write instructions
should be carried out consecutively.
MODE
(1)
PnCFGA
PnCFGB
PORT OUTPUT CONFIGURATION
NORMAL PORTS
I
2
C-BUS PORTS (P1.6 AND P1.7)
0
0
0
open-drain
open-drain
1
1
0
quasi-bidirectional
open-drain
2
0
1
high-impedance
high-impedance
3
1
1
push-pull
open-drain
1999 Apr 16
12
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
handbook, full pagewidth
MBK004
this diode is not
implemented
on the I
2
C-bus pins
VSS
VDD external
n
Q
from port latch
external
pull-up
I/O pin
input data
VDD
VSS
Fig.3 Port configuration options.
a. Open-drain.
c. High-impedance.
d. Push-pull.
b. Standard/quasi-bidirectional.
handbook, full pagewidth
MBK001
p1
p2
p3
input data
1 oscillator
period
n
VSS
VDD
strong pull-up
I/O pin
Q
from port latch
IN1
VSS
handbook, full pagewidth
MBK002
this diode is not
implemented
on the I
2
C-bus pins
input data
VDD
I/O pin
VSS
handbook, full pagewidth
MBK003
p
n
strong pull-up
Q
from port latch
VSS
VDD
VDD
I/O pin
input data
VSS
1999 Apr 16
13
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
6.3
Internal data memory
The internal data memory is divided into three physically
separated parts:
256 bytes of RAM, 128 bytes of Special Function
Registers and 1792 bytes of AUX-RAM. These can be
addressed each in a different way (see also Table 4).
1. RAM 0 to 127 can be addressed directly and indirectly
as in the 80C51; address pointers are R0 and R1 of
the selected register-bank
2. RAM 128 to 255 can only be addressed indirectly;
address pointers are R0 and R1 of the selected
register bank
3. AUX-RAM 0 to 1791 is indirectly addressable via the
AUX-RAM Page Register (XRAMP) and MOVX-Ri
instructions, unless it is disabled by setting ARD = 1.
AUX-RAM 0 to 1791 is also indirectly addressable as
external data memory via MOVX-datapointer
instruction, unless it is disable by setting ARD = 1.
When executing from internal program memory, an
access to AUX-RAM 0 to 1791 when ARD = 0 will not
affect the ports P0, P2, P3.6 and P3.7.
An access to external data memory locations higher
than 1791 will be performed with the MOVX @ DPTR
instructions in the same way as in the 80C51 structure, so
with P0 and P2 as data/address bus and P3.6 and P3.7 as
write and read timing signals. Note that the external data
memory cannot be accessed with R0 and R1 as address
pointer if the AUX-RAM is enabled (ARD = 0, default after
reset).
The Special Function Registers (SFR) can only be
addressed directly in the address range from 128 to 255.
Four register banks, each 8 registers wide, occupy
locations 0 through 31 in the lower RAM area. Only one of
these banks may be enabled at a time. The next 16 bytes,
locations 32 through 47, contain 128 directly addressable
bit locations. The stack can be located anywhere in the
internal 256 bytes RAM. The stack depth is only limited by
the available internal RAM space of 256 bytes (see Fig.4).
Table 4
Internal data memory map
LOCATION
ADDRESS
ADDRESSING
RAM
0 to 127
direct and indirect
AUX-RAM
0 to 1791
indirect only with MOVX
RAM
128 to 255
indirect only
SFR
128 to 255
direct only
Fig.4 Memory map.
handbook, full pagewidth
MGL618
INTERNAL
(EA = 1)
FBFFH
EXTERNAL
(EA = 0)
FFFFH
FFFFH
0
0
00H
0000H
7FH
FFH
INDIRECT
ADDRESSING
DIRECT
PAGE 0
PAGE 1
PAGE 2
PAGE 3
PAGE 4
PAGE 5
PAGE 6
EXTERNAL DATA
MEMORY
DATA MEMORY
INTERNAL
AUX-RAM
(ARD = 0)
PROGRAM MEMORY
INTERNAL RAM
INDIRECT AND
DIRECT
ADDRESSING
0700H
06FFH
(ARD = 1)
(ARD = 0/1)
1999 Apr 16
14
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
6.3.1
AUX-RAM P
AGE
R
EGISTER
(XRAMP)
The AUX-RAM Page Register is used to select one of the seven 256 bytes pages of the internal 1792-byte AUX-RAM
for MOVX-accesses via R0 or R1. Its reset value is `XXXX X000' (AUX-RAM page 0).
Table 5
AUX-RAM Page Register (SFR address FAH)
Table 6
Description of XRAMP bits
Table 7
Memory locations for all possible MOVX accesses
Note
1. ARD (AUX-RAM Disable) corresponds to bit 6 in the Special Function Register PCON (address 87H).
7
6
5
4
3
2
1
0
-
-
-
-
-
XRAMP2
XRAMP1
XRAMP0
BIT
SYMBOL
FUNCTION
7 to 3
-
reserved, undefined during read, a write operation must write logic 0 to these locations
2
XRAMP2
AUX-RAM page select bit 2
1
XRAMP1
AUX-RAM page select bit 1
0
XRAMP0
AUX-RAM page select bit 0
ARD
(1)
XRAMP2 XRAMP1 XRAMP0
ACCESS
INSTRUCTION TYPE
0
0
0
0
AUX-RAM page 0 (address 0 to 255)
MOVX @ Ri, A and
MOVX @ A, Ri
0
0
0
1
AUX-RAM page 1 (address 256 to 511)
0
0
1
0
AUX-RAM page 2 (address 512 to 767)
0
0
1
1
AUX-RAM page 3 (address 768 to 1023)
0
1
0
0
AUX-RAM page 4 (address 1024 to 1279)
0
1
0
1
AUX-RAM page 5 (address 1280 to 1535)
0
1
1
0
AUX-RAM page 6 (address 1536 to 1791)
0
1
1
1
no valid memory access
1
X
X
X
external RAM locations 0 to 255
0
X
X
X
AUX-RAM locations 0 to 1791 external
RAM locations 1792 to 65535
MOVX @ DPTR, A and
MOVX A, DPTR
1
X
X
X
external RAM locations 0 to 65535
1999 Apr 16
15
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
6.4
OTP programming
6.4.1
OTP
PROGRAMMING
The 63-kbyte One-Time Programmable (OTP) memory
can be programmed by using an OM4260 programmer
together with a programmer adapter OM5510. Since the
memory is programmable only once, programming an
already programmed address results in a logical AND of
the old and new code. The OTP code can be read out by
the programmer for verification.
6.4.1.1
Signature bytes
The OTP memory contains three signature bytes which
can be read by the programmer to identify the device.
A special address space has been used for these bytes
which does not influence the user address space.
The values of the signature bytes are:
(030H) = 15H, indicates manufactured by Philips
Semiconductors
(031H) = D6H, indicates P87CL881H
(060H) = 00H, currently not used.
6.4.2
I
N
-S
YSTEM
P
ROGRAMMING MODE
In the In-System Programming mode the OTP can be
programmed under control of the CPU. A program to
control programming has to be available in the OTP. This
mode can be used to program several bytes in the OTP if
the chip is already in a system e.g. to store tuning
parameters.
In the In-System Programming mode the complete
address space OTP can be programmed.
The user should take care not to overwrite the existing
code.
For In-System Programming four SFRs are used to control
the OTP.
Table 8
SFRs for In-System Programming
SFR NAME
DESCRIPTION
OAH
OTP Address High Register
OAL
OTP Address Low Register
ODATA
OTP Data Register
OISYS
OTP In-System Register
6.4.2.1
OTP In-System Programming Register (OISYS)
The OISYS SFR controls the In-System Programming mode. The data that has to be programmed is stored in the SFR
ODATA and the address for this data in the SFRs OAH and OAL.
Table 9
OTP In-System Programming Register (SFR address DCH)
Table 10 Description of OISYS bits
7
6
5
4
3
2
1
0
-
-
-
VPon
0
SIG
WE
InSysMode
BIT
SYMBOL
DESCRIPTION
7 to 5
-
These bits are reserved.
4
VPon
V
PP
status (read only).
3
0
This bit is reserved and must be kept to logic 0.
2
SIG
Signature bytes enable.
1
WE
Write Enable, enables programming.
0
InSysMode
In-System Programming status bit.
1999 Apr 16
16
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
6.4.2.2
Mode entry
The In-System Programming mode is entered by setting
the InSysMode bit of the OISYS SFR. The I
2
C-bus is used
for data transfer in this mode. If the I
2
C-bus interface is
addressed by an external master, the interface generates
an interrupt request. The interrupt handler can now read
the OISYS SFR and determine the status of the external
high voltage (VPon). If high voltage is not present the
interrupt is a standard I
2
C-bus interrupt.
If high voltage is present the In-System program interrupt
routine has to start that writes the InSysMode bit
(OISYS.0) and controls the address and data transfer.
The program voltage has to be available and stable for at
least 10
s before the mode is entered and has to be
stable until the circuit has left the In-System Programming
mode. The high voltage can be applied for maximum
60 seconds during the complete lifetime of the circuit.
6.4.2.3
Program cycle
The data and address must be supplied to the
microcontroller and the control program has to write the
SFRs: ODATA, OAH and OAL. A timer has to be initialized
for a 100
s cycle and the WE bit of the OISYS SFR must
be set. Now the core has to be set into Idle mode. As long
as the circuit is in Idle mode a programming pulse is
applied. After the interrupt request of the timer the OTP is
available for normal code fetching.
The address applied to the OAH and OAL SFRs must be
in the 63 kbytes address space.
6.4.2.4
Verify for In-System Programming
Verify is done in similar way as programming. The circuit
is put into Idle mode and at the start of this mode the sense
amplifiers are switched to verify mode and a read cycle is
started. The timer has to be initialized for a cycle of at least
1
s. The address is supplied by the SFRs OAH and OAL.
The WE bit of the OISYS SFR has to be reset. The OTP
output data is latched in the ODATA SFR. After Idle mode
is finished this SFR can be read in a normal way. To be
sure that the verified data is written into the SFR it is
advised to write FFH into the ODATA SFR before a verify
is started.
6.4.2.5
Signature bytes
The signature bytes can be read by setting the SIG bit of
the OISYS SFR and applying the address of the signature
byte. Applying a write pulse while the SIG bit of the OISYS
SFR is HIGH is forbidden although the contents of the
signature bytes will never be destroyed.
The signature bytes (and other test addresses) are always
readable independent of the security.
6.4.2.6
How to connect the PORENABLE/V
PP
pin in
the In-System Programming mode
If the V
PP
pin is dual-mode (e.g. PORENABLE/V
PP
), ICs
connected to the signal PORENABLE must be able to
withstand up to 13 V, i.e. cannot have clamping diodes or
low break-down voltages. If the pin is connected to a fixed
voltage (V
DD
or V
SS
) there must be a way of switching-off
this connection on the PCB. A possible implementation is
presented in Fig.5.
In the example (see Fig.5) the POR is enabled in normal
mode of operation (pin PORENABLE/V
PP
= 1 by the
pull-up), but the V
PP
source must supply enough current
in R
p
in order to guarantee a minimum 12.5 V on the
PORENABLE/V
PP
pin.
Note that if in the application the Power-on reset is
disabled (pin PORENABLE/V
PP
= 0), applying a high
voltage to the PORENABLE/V
PP
pin will also enable the
POR circuit. This will cause a reset independent of the
actual V
DD
value.
Fig.5
Example of PORENABLE/V
PP
connection
on a PCB.
handbook, halfpage
VDD
Rp
VPP pad on PCB
P87CL881H
MBL001
1
6
11
33
23
12
22
44
34
1999 Apr 16
17
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
6.5
Oscillator circuitry
General information on the oscillator circuitry can be found
in the
"TELX family" data sheet.
6.5.1
R
ESONATOR REQUIREMENTS
For correct function of the oscillator, the values
of R
1
and C
0
of the chosen resonator (quartz or PXE) must
be below the line shown in Fig.6a. The value of the parallel
resistor R
0
must be less than 47 k
. The wiring between
chip and resonator should be kept as short as possible.
a. Resonator curves for 3.58 MHz.
b. Resonator equivalent circuit.
C
1e
and C
2e
are the external load capacitances; normally not needed
due to integrated load capacitances of typically 10 pF.
(1) C
1e
= C
2e
= 22 pF.
(2) C
1e
= C
2e
= 0 pF.
(3) C
1e
= C
2e
= 12 pF.
Fig.6 Resonator requirements for the ACO.
handbook, halfpage
0
(1)
(2)
Co (pF)
20
40
80
500
0
R1
(
)
400
60
300
200
100
MDA088
(3)
handbook, halfpage
C1
C0
L1
R1
R0
MGL137
6.6
Non-conformance
6.6.1
P
ROGRAMMING INTERFACE
/T
RANSPARENT MODE
The transparent mode is a special operating mode of the
microcontroller used for parallel and In-System OTP
programming.
For certain combinations of data written to Port 2 (used for
control signal during parallel programming mode) the
Transparent mode may be incorrectly active during normal
operation of the microcontroller. In this case, a transition
on any of the Port 0 pins can influence the read out of the
on-chip program memory resulting in incorrect code
execution.
To avoid this problem, the InSysMode bit in the OTP
In-System Programming Register (SFR address DCH)
must be set in the start-up sequence of the program code.
Apart from preventing incorrect operation as described
above, the setting of this bit does not affect the normal
operation.
6.6.2
MOVC
INSTRUCTION LIMITATION
The `MOVC' access to a data or program byte stored in
internal ROM/OTP-memory is inhibited while fetching
code from external program memory in roll-over mode.
Roll-over mode means that the CPU executes code out of
the external program memory because the program
counter exceeds the highest address for internal program
memory. The affected address range is FC00H to FFFFH.
6.6.3
L
OW VOLTAGE DETECTION
The LVDI bit (LVDCON.6) may be incorrectly set due to a
glitch on the LVD output when the LVD is enabled by
changing the bits LVDCON<3:0> from `0000' to any value
within the range `0001' to `0101'. If bit EA in register IEN0
is enabled, an unwanted interrupt may occur.
A software workaround for this problem exist. During the
initialisation sequence:
Enable LVD by writing to register LVDCON
Enable LVD interrupt by writing to register IEN2
Clear the LVDI bit by writing to LVDCON a second time
Set bit EA in register IEN0 (ensures LVDI to be cleared
after initialisation).
1999 Apr 16
18
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
7
LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 134).
8
DC CHARACTERISTICS
V
DD
= 2.7 to 3.6 V; V
SS
= 0 V; f
xtal
= 1 to 10 MHz; T
amb
=
-
25 to +70
C; all voltages with respect to V
SS
; unless
otherwise specified.
SYMBOL
PARAMETER
MIN.
MAX.
UNIT
V
DD
supply voltage
-
0.5
+4.0
V
V
I
input voltage on any pin with respect to ground (V
SS
)
-
0.5
V
DD
+ 0.5
V
P
tot
total power dissipation
-
800
mW
T
stg
storage temperature
-
65
+150
C
SYMBOL
PARAMETER
CONDITIONS
MIN.
TYP.
MAX.
UNIT
Supply
V
DD
supply voltage
operating
2.7
-
3.6
V
RAM data retention in
Power-down mode
1.0
-
3.6
V
V
PP
OTP programming voltage
12.5
-
13.0
V
I
DD
supply current operating
V
DD
= 3 V; f
xtal
= 7 MHz; note 1
-
-
4.8
mA
T
amb
= 25
C
-
3.7
-
mA
I
DD(id)
supply current Idle mode
V
DD
= 3 V; f
xtal
= 7 MHz; note 2
-
-
0.7
mA
T
amb
= 25
C
-
0.58
-
mA
I
DD(pd)
supply current Power-down
mode
V
DD
= 3 V; T
amb
= 25
C; note 3
POR and LVD enabled
-
2
5
A
POR and LVD disabled
-
50
-
nA
I
DD(block)
supply current per block:
V
DD
= 3 V; f
xtal
= 7 MHz; T
amb
= 25
C;
notes 4 and 5
Watchdog
-
220
-
A
I
2
C-bus
-
180
-
A
UART
-
180
-
A
Timer T2
-
180
-
A
Timer T0 or T1
-
10
-
A
1999 Apr 16
19
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Inputs (ports, RST and PORENABLE)
V
IL
LOW-level input voltage
notes 6 and 7
0
-
0.2V
DD
V
V
IH
HIGH-level input voltage
note 6
0.8V
DD
-
V
DD
V
I
IL
LOW-level input current
(ports in Mode 1)
V
IN
= 0.4 V; note 8 and Fig.8
-
10
50
A
I
IL(T)
LOW-level input current;
HIGH-to-LOW transition
(ports in Mode 1)
V
IN
= 0.2V
DD
; note 8 and Fig.8
-
200
1000
A
I
ILEAK
input leakage current (ports
in Mode 0 or 2)
V
SS
V
I
V
DD
-
-
1
A
Outputs (ports and RST)
I
OL
LOW-level output current;
except SDA and SCL
V
OL
= 0.4 V
2
-
-
mA
I
OL2
LOW-level output current;
SDA and SCL
V
OL
= 0.4 V; note 9
3
-
-
mA
I
OH
HIGH-level output current
except (push-pull options
only)
V
OH
= V
DD
-
0.4 V
2
-
-
mA
I
RST
RST pull-up current source
V
DD
= 3 V; V
OH
= V
DD
-
0.4 V
0.05
0.2
-
A
V
DD
= 3 V; V
OH
= V
SS
-
0.6
2.5
A
POR (Power-on reset) for the LVD (Low Voltage Detection), see note 10
V
PORH
trip level HIGH
(option 5 in
"TELX family
specification")
2.13
2.37
2.61
V
V
PORL
trip level LOW
(option B in
"TELX family
specification")
-
1.30
-
V
ACO (Amplitude Controlled Oscillator)
V
XTAL1
external clock signal
amplitude peak-to-peak
500
-
V
DD
mV
z
i(XTAL1)
input impedance on XTAL1
300
1000
-
k
C
1i
; C
2i
input capacitance on
XTAL1 and XTAL2
notes 5 and 11
-
10
-
pF
In-System Programming for the OTP
t
prog
program cycle time
90
100
110
s
t
prog(security)
program cycle time security note 12
180
200
220
s
t
ver
verify cycle time
1
-
-
s
t
VPP(setup)
program voltage setup time
10
-
-
s
t
VPP(max)
maximum program voltage
time
cumulative for the product lifetime
-
-
60
s
I
VPP
program voltage current
In-System Programming
-
-
40
mA
SYMBOL
PARAMETER
CONDITIONS
MIN.
TYP.
MAX.
UNIT
1999 Apr 16
20
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Notes
1. The operating supply current is measured with all output pins disconnected; V
IL
= V
SS
; V
IH
= V
DD
; RST = V
DD
; XTAL1
driven with square wave; XTAL2 not connected; fetch of NOP instructions; all derivative blocks disabled.
2. The Idle mode supply current is measured with all output pins and RST disconnected; V
IL
= V
SS
; V
IH
= V
DD
; XTAL1
driven with square wave; XTAL2 not connected; all derivative blocks disabled.
3. The power-down current is measured with all output pins and RST disconnected; V
IL
= V
SS
; V
IH
= V
DD
; XTAL1 and
XTAL2 not connected.
4. The typical currents are only for the specific block. To calculate the typical power consumption of the microcontroller,
the current consumption of the CPU must be added. Example: the typical current consumption of the microcontroller
in operating mode with CPU, Watchdog and UART active can be calculated as (3.7 + 0.220 + 0.18) mA = 4.1 mA at
V
DD
= 3 V and f
XTAL
= 7 MHz.
5. Verified on sampling basis.
6. The input threshold voltage of P1.6/SCL and P1.7/SDA meet the I
2
C-bus specification. Therefore, an input voltage
below 0.3V
DD
will be recognized as a logic 0 and an input voltage above 0.7V
DD
will be recognized as a logic 1.
7. For pin PORENABLE the V
IL
max is 0.1V
DD
.
8. Not valid for pins SDA, SCL, RST and PORENABLE.
9. The maximum allowed load capacitance C
L
is in this case limited to around 200 pF.
10. The LVD is tested according to the
"TELX family specification, Chapter - Low voltage detection".
11. C
1i
/C
2i
are the total internal capacitances (including gate capacitance and leadframe capacitance).
12. Can also be done by two 100
s pulses.
Fig.7 Input current.
handbook, full pagewidth
MGL506
0.5VDD
0.3VDD
VDD
0
IIL(T)
IIL
II
500
A
10
A
1999 Apr 16
21
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Fig.8
Typical operating current as a function of
V
DD
; T
amb
= 25
C; f
xtal
= 7 MHz.
handbook, halfpage
2.2
2.6
4.2
VDD (V)
4.7
5.3
3.5
IDD
(mA)
2.9
4.1
3
3.4
3.8
MGL625
Fig.9
Typical Idle current as a function of V
DD
;
T
amb
= 25
C; f
xtal
= 7 MHz.
handbook, halfpage
2.2
2.6
4.2
VDD (V)
0.8
1.0
0.4
IDD(id)
(mA)
0.2
0.6
3
3.4
3.8
MGL626
Fig.10 Typical power-down current as a function of
V
DD
.
(1) POR and LVD enabled (T
amb
= 70
C).
(2) POR and LVD enabled (T
amb
= 25
C).
(3) POR and LVD disabled (T
amb
= 70
C).
(4) POR and LVD disabled (T
amb
= 25
C).
handbook, halfpage
0
(1)
(2)
(3)
(4)
1
2
4
4
3
IDD(pd)
(
A)
1
0
2
3
VDD (V)
MDA085
1999 Apr 16
22
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
9
AC CHARACTERISTICS
V
DD
= 3 V; V
SS
= 0 V; T
amb
=
-
25 to +70
C; C
L
= 50 pF for Port 0, ALE and PSEN; C
L
= 80 pF for all other outputs
unless otherwise specified. All values verified on sampling basis.
SYMBOL
PARAMETER
VARIABLE CLOCK
UNIT
MIN.
MAX.
External program memory
t
LHLL
ALE pulse width
t
CLK
-
ns
t
AVLL
address valid to ALE LOW
0.5t
CLK
-
10
-
ns
t
LLAX
address hold after ALE LOW
0.5t
CLK
-
ns
t
LLIV
ALE LOW to valid instruction in
-
2t
CLK
-
25
ns
t
LLPL
ALE LOW to PSEN LOW
0.5t
CLK
-
ns
t
PLPH
PSEN pulse width
1.5t
CLK
-
ns
t
PLIV
PSEN LOW to valid instruction in
-
1.5t
CLK
-
35
ns
t
PXIX
input instruction hold after PSEN
0
-
ns
t
PXIZ
input instruction float after PSEN
-
0.5t
CLK
ns
t
AVIV
address to valid instruction in
-
2.5t
CLK
-
35
ns
t
PLAZ
PSEN LOW to address float
-
5
ns
External data memory
t
RLRH
RD pulse width
3t
CLK
-
ns
t
WLWH
WR pulse width
3t
CLK
-
ns
t
AVLL
address valid to ALE LOW
0.5t
CLK
-
ns
t
LLAX
address hold after ALE LOW
0.5t
CLK
-
ns
t
RLDV
RD LOW to valid data in
-
2.5t
CLK
ns
t
RHDX
data hold after RD
0
-
ns
t
RHDZ
data float after RD
-
t
CLK
ns
t
LLDV
ALE LOW to valid data in
-
4t
CLK
ns
t
AVDV
address to valid data in
-
4.5t
CLK
-
30
ns
t
LLWL
ALE LOW to RD or WR LOW
1.5t
CLK
-
15
1.5t
CLK
+ 15
ns
t
AVWL
address valid to RD or WR LOW
2t
CLK
-
ns
t
WHLH
RD or WR HIGH to ALE HIGH
0.5t
CLK
-
5
0.5t
CLK
+ 5
ns
t
QVWX
data valid to WR transition
0.5t
CLK
-
ns
t
QVWH
data valid time WR HIGH
3.5t
CLK
-
ns
t
WHQX
data hold after WR
0.5t
CLK
-
ns
t
RLAZ
RD LOW to address float
-
0
ns
1999 Apr 16
23
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Fig.11 Instruction cycle timing.
handbook, full pagewidth
MGA180
P1 P2
S1
P1 P2
S2
P1 P2
S3
P1 P2
S4
P1 P2
S5
P1 P2
S6
P1 P2
S1
P1 P2
S2
P1 P2
S3
P1 P2
S4
P1 P2
S5
P1 P2
S6
one machine cycle
one machine cycle
XTAL1
INPUT
address
A0 - A7
inst.
in
address
A0 - A7
inst.
in
address
A0 - A7
inst.
in
address
A0 - A7
inst.
in
address A8 - A15
address A8 - A15
address A8 - A15
address A8 - A15
address
A0 - A7
inst.
in
address
A0 - A7
inst.
in
address
A0 - A7
data output or data input
address A8 - A15
address A8 - A15 or Port 2 out
address A8 - A15
old data
new data
sampling time of I/O port pins during input (including INT0 and INT1)
SERIAL
PORT
CLOCK
PORT
INPUT
PORT
OUTPUT
PORT 2
BUS
(PORT 0)
read or
write of
external data
memory
PORT 2
BUS
(PORT 0)
external
program
memory
fetch
WR
RD
only active
during a write
to external
data memory
only active
during a read
from external
data memory
PSEN
ALE
dotted lines
are valid when
RD or WR are
active
1999 Apr 16
24
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
Fig.12 Read from external program memory.
handbook, full pagewidth
MGA176
t LHLL
ALE
PORT 0
PORT 2
t CY
LLIV
t
t LLPL
t PLPH
t LLAX
t AVLL
AVIV
t
PLAZ
t
PLIV
t
t PXIX
t PXIZ
address A8 to A15
address A8 to A15
inst. input
inst. input
A0 to A7
A0 to A7
PSEN
handbook, full pagewidth
MGA177
t LHLL
ALE
PORT 0
PORT 2
t CY
t LLDV
t LLAX
t AVLL
AVDV
t
RLAZ
t
address A8 to A15 (DPH) or Port 2
data input
A0 to A7
PSEN
t WHLH
AVWL
t
t LLWL
t RLRH
t RHDX
t RHDZ
t RLDV
RD
Fig.13 Read from external data memory.
1999 Apr 16
25
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
9.1
AC testing
AC testing inputs are driven at 2.4 V for a HIGH level and 0.45 V for a LOW level. Timing measurements are taken at
2.0 V for a HIGH level and 0.8 V for a LOW level, see Fig.15a. The float state is defined as the point at which a Port 0
pin sinks 3.2 mA or sources 400
A at the voltage test levels, see Fig.15b.
Fig.14 Write to external data memory.
handbook, full pagewidth
MGA178
t LHLL
ALE
PORT 0
PORT 2
t CY
t LLAX
t AVLL
address A8 to A15 (DPH) or Port 2
data output
A0 to A7
PSEN
t WHLH
AVWL
t
t LLWL
t WLWH
t WHQX
t QVWH
t QVWX
WR
Fig.15 AC testing input, output waveform (a) and float waveform (b).
a. AC inputs during testing are driven at V
OH(min)
for a logic 1 and V
OL(max)
for a logic 0. Timing measurements
are made at V
IH(min)
for a logic 1 and V
IL(max)
for a logic 0.
b. For timing purposes, a port is no longer floating when a 100 mV change from load voltage occurs and begins
to float when a 100 mV change from the loaded V
OH
/V
OL
level occurs. I
OH
/I
OL
> 1.6 mA.
handbook, full pagewidth
MGL620
VIH(min)
VIL(max)
VOH(min)
VOL(max)
handbook, full pagewidth
MGL619
VLOAD
-
0.1 V
VLOAD
-
0.1 V
VOH
-
0.1 V
VOL
-
0.1 V
VLOAD = 0.5 VDD
1999 Apr 16
26
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
10 PACKAGE OUTLINE
UNIT
A
max.
A
1
A
2
A
3
b
p
c
E
(1)
e
H
E
L
L
p
Q
Z
y
w
v
REFERENCES
OUTLINE
VERSION
EUROPEAN
PROJECTION
ISSUE DATE
IEC
JEDEC
EIAJ
mm
1.60
0.15
0.05
1.45
1.35
0.25
0.45
0.30
0.20
0.12
10.10
9.90
0.80
12.15
11.85
0.70
0.57
1.14
0.85
7
0
o
o
0.20
0.10
0.20
1.0
DIMENSIONS (mm are the original dimensions)
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
0.75
0.45
SOT389-1
95-12-19
D
(1)
(1)
(1)
10.10
9.90
H
D
12.15
11.85
E
Z
1.14
0.85
D
b
p
e
E
B
11
D
H
b
p
E
H
v
M
B
D
ZD
A
Z E
e
v
M
A
1
44
34
33
23
22
12
A
1
A
L
p
Q
detail X
L
(A )
3
A
2
X
y
c
w
M
w
M
0
2.5
5 mm
scale
pin 1 index
LQFP44: plastic low profile quad flat package; 44 leads; body 10 x 10 x 1.4 mm
SOT389-1
1999 Apr 16
27
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
11 SOLDERING
11.1
Introduction to soldering surface mount
packages
This text gives a very brief insight to a complex technology.
A more in-depth account of soldering ICs can be found in
our
"Data Handbook IC26; Integrated Circuit Packages"
(document order number 9398 652 90011).
There is no soldering method that is ideal for all surface
mount IC packages. Wave soldering is not always suitable
for surface mount ICs, or for printed-circuit boards with
high population densities. In these situations reflow
soldering is often used.
11.2
Reflow soldering
Reflow soldering requires solder paste (a suspension of
fine solder particles, flux and binding agent) to be applied
to the printed-circuit board by screen printing, stencilling or
pressure-syringe dispensing before package placement.
Several methods exist for reflowing; for example,
infrared/convection heating in a conveyor type oven.
Throughput times (preheating, soldering and cooling) vary
between 100 and 200 seconds depending on heating
method.
Typical reflow peak temperatures range from
215 to 250
C. The top-surface temperature of the
packages should preferable be kept below 230
C.
11.3
Wave soldering
Conventional single wave soldering is not recommended
for surface mount devices (SMDs) or printed-circuit boards
with a high component density, as solder bridging and
non-wetting can present major problems.
To overcome these problems the double-wave soldering
method was specifically developed.
If wave soldering is used the following conditions must be
observed for optimal results:
Use a double-wave soldering method comprising a
turbulent wave with high upward pressure followed by a
smooth laminar wave.
For packages with leads on two sides and a pitch (e):
larger than or equal to 1.27 mm, the footprint
longitudinal axis is preferred to be parallel to the
transport direction of the printed-circuit board;
smaller than 1.27 mm, the footprint longitudinal axis
must be parallel to the transport direction of the
printed-circuit board.
The footprint must incorporate solder thieves at the
downstream end.
For packages with leads on four sides, the footprint must
be placed at a 45
angle to the transport direction of the
printed-circuit board. The footprint must incorporate
solder thieves downstream and at the side corners.
During placement and before soldering, the package must
be fixed with a droplet of adhesive. The adhesive can be
applied by screen printing, pin transfer or syringe
dispensing. The package can be soldered after the
adhesive is cured.
Typical dwell time is 4 seconds at 250
C.
A mildly-activated flux will eliminate the need for removal
of corrosive residues in most applications.
11.4
Manual soldering
Fix the component by first soldering two
diagonally-opposite end leads. Use a low voltage (24 V or
less) soldering iron applied to the flat part of the lead.
Contact time must be limited to 10 seconds at up to
300
C.
When using a dedicated tool, all other leads can be
soldered in one operation within 2 to 5 seconds between
270 and 320
C.
1999 Apr 16
28
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
11.5
Suitability of surface mount IC packages for wave and reflow soldering methods
Notes
1. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum
temperature (with respect to time) and body size of the package, there is a risk that internal or external package
cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the
Drypack information in the
"Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods".
2. These packages are not suitable for wave soldering as a solder joint between the printed-circuit board and heatsink
(at bottom version) can not be achieved, and as solder may stick to the heatsink (on top version).
3. If wave soldering is considered, then the package must be placed at a 45
angle to the solder wave direction.
The package footprint must incorporate solder thieves downstream and at the side corners.
4. Wave soldering is only suitable for LQFP, TQFP and QFP packages with a pitch (e) equal to or larger than 0.8 mm;
it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm.
5. Wave soldering is only suitable for SSOP and TSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is
definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm.
PACKAGE
SOLDERING METHOD
WAVE
REFLOW
(1)
BGA, SQFP
not suitable
suitable
HLQFP, HSQFP, HSOP, HTSSOP, SMS not suitable
(2)
suitable
PLCC
(3)
, SO, SOJ
suitable
suitable
LQFP, QFP, TQFP
not recommended
(3)(4)
suitable
SSOP, TSSOP, VSO
not recommended
(5)
suitable
1999 Apr 16
29
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
12 DEFINITIONS
13 LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these
products can reasonably be expected to result in personal injury. Philips customers using or selling these products for
use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such
improper use or sale.
14 PURCHASE OF PHILIPS I
2
C COMPONENTS
Data sheet status
Objective specification
This data sheet contains target or goal specifications for product development.
Preliminary specification
This data sheet contains preliminary data; supplementary data may be published later.
Product specification
This data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or
more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation
of the device at these or at any other conditions above those given in the Characteristics sections of the specification
is not implied. Exposure to limiting values for extended periods may affect device reliability.
Application information
Where application information is given, it is advisory and does not form part of the specification.
Purchase of Philips I
2
C components conveys a license under the Philips' I
2
C patent to use the
components in the I
2
C system provided the system conforms to the I
2
C specification defined by
Philips. This specification can be ordered using the code 9398 393 40011.
1999 Apr 16
30
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
NOTES
1999 Apr 16
31
Philips Semiconductors
Product specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
P87CL881H
NOTES
Internet: http://www.semiconductors.philips.com
Philips Semiconductors a worldwide company
Philips Electronics N.V. 1999
SCA63
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner.
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB,
Tel. +31 40 27 82785, Fax. +31 40 27 88399
New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND,
Tel. +64 9 849 4160, Fax. +64 9 849 7811
Norway: Box 1, Manglerud 0612, OSLO,
Tel. +47 22 74 8000, Fax. +47 22 74 8341
Pakistan: see Singapore
Philippines: Philips Semiconductors Philippines Inc.,
106 Valero St. Salcedo Village, P.O. Box 2108 MCC, MAKATI,
Metro MANILA, Tel. +63 2 816 6380, Fax. +63 2 817 3474
Poland: Ul. Lukiska 10, PL 04-123 WARSZAWA,
Tel. +48 22 612 2831, Fax. +48 22 612 2327
Portugal: see Spain
Romania: see Italy
Russia: Philips Russia, Ul. Usatcheva 35A, 119048 MOSCOW,
Tel. +7 095 755 6918, Fax. +7 095 755 6919
Singapore: Lorong 1, Toa Payoh, SINGAPORE 319762,
Tel. +65 350 2538, Fax. +65 251 6500
Slovakia: see Austria
Slovenia: see Italy
South Africa: S.A. PHILIPS Pty Ltd., 195-215 Main Road Martindale,
2092 JOHANNESBURG, P.O. Box 7430 Johannesburg 2000,
Tel. +27 11 470 5911, Fax. +27 11 470 5494
South America: Al. Vicente Pinzon, 173, 6th floor,
04547-130 SO PAULO, SP, Brazil,
Tel. +55 11 821 2333, Fax. +55 11 821 2382
Spain: Balmes 22, 08007 BARCELONA,
Tel. +34 93 301 6312, Fax. +34 93 301 4107
Sweden: Kottbygatan 7, Akalla, S-16485 STOCKHOLM,
Tel. +46 8 5985 2000, Fax. +46 8 5985 2745
Switzerland: Allmendstrasse 140, CH-8027 ZRICH,
Tel. +41 1 488 2741 Fax. +41 1 488 3263
Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1,
TAIPEI, Taiwan Tel. +886 2 2134 2886, Fax. +886 2 2134 2874
Thailand: PHILIPS ELECTRONICS (THAILAND) Ltd.,
209/2 Sanpavuth-Bangna Road Prakanong, BANGKOK 10260,
Tel. +66 2 745 4090, Fax. +66 2 398 0793
Turkey: Talatpasa Cad. No. 5, 80640 GLTEPE/ISTANBUL,
Tel. +90 212 279 2770, Fax. +90 212 282 6707
Ukraine: PHILIPS UKRAINE, 4 Patrice Lumumba str., Building B, Floor 7,
252042 KIEV, Tel. +380 44 264 2776, Fax. +380 44 268 0461
United Kingdom: Philips Semiconductors Ltd., 276 Bath Road, Hayes,
MIDDLESEX UB3 5BX, Tel. +44 181 730 5000, Fax. +44 181 754 8421
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409,
Tel. +1 800 234 7381, Fax. +1 800 943 0087
Uruguay: see South America
Vietnam: see Singapore
Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Tel. +381 11 62 5344, Fax.+381 11 63 5777
For all other countries apply to: Philips Semiconductors,
International Marketing & Sales Communications, Building BE-p, P.O. Box 218,
5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
Argentina: see South America
Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
Tel. +61 2 9805 4455, Fax. +61 2 9805 4466
Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213,
Tel. +43 1 60 101 1248, Fax. +43 1 60 101 1210
Belarus: Hotel Minsk Business Center, Bld. 3, r. 1211, Volodarski Str. 6,
220050 MINSK, Tel. +375 172 20 0733, Fax. +375 172 20 0773
Belgium: see The Netherlands
Brazil: see South America
Bulgaria: Philips Bulgaria Ltd., Energoproject, 15th floor,
51 James Bourchier Blvd., 1407 SOFIA,
Tel. +359 2 68 9211, Fax. +359 2 68 9102
Canada: PHILIPS SEMICONDUCTORS/COMPONENTS,
Tel. +1 800 234 7381, Fax. +1 800 943 0087
China/Hong Kong: 501 Hong Kong Industrial Technology Centre,
72 Tat Chee Avenue, Kowloon Tong, HONG KONG,
Tel. +852 2319 7888, Fax. +852 2319 7700
Colombia: see South America
Czech Republic: see Austria
Denmark: Sydhavnsgade 23, 1780 COPENHAGEN V,
Tel. +45 33 29 3333, Fax. +45 33 29 3905
Finland: Sinikalliontie 3, FIN-02630 ESPOO,
Tel. +358 9 615 800, Fax. +358 9 6158 0920
France: 51 Rue Carnot, BP317, 92156 SURESNES Cedex,
Tel. +33 1 4099 6161, Fax. +33 1 4099 6427
Germany: Hammerbrookstrae 69, D-20097 HAMBURG,
Tel. +49 40 2353 60, Fax. +49 40 2353 6300
Hungary: see Austria
India: Philips INDIA Ltd, Band Box Building, 2nd floor,
254-D, Dr. Annie Besant Road, Worli, MUMBAI 400 025,
Tel. +91 22 493 8541, Fax. +91 22 493 0966
Indonesia: PT Philips Development Corporation, Semiconductors Division,
Gedung Philips, Jl. Buncit Raya Kav.99-100, JAKARTA 12510,
Tel. +62 21 794 0040 ext. 2501, Fax. +62 21 794 0080
Ireland: Newstead, Clonskeagh, DUBLIN 14,
Tel. +353 1 7640 000, Fax. +353 1 7640 200
Israel: RAPAC Electronics, 7 Kehilat Saloniki St, PO Box 18053,
TEL AVIV 61180, Tel. +972 3 645 0444, Fax. +972 3 649 1007
Italy: PHILIPS SEMICONDUCTORS, Piazza IV Novembre 3,
20124 MILANO, Tel. +39 2 6752 2531, Fax. +39 2 6752 2557
Japan: Philips Bldg 13-37, Kohnan 2-chome, Minato-ku,
TOKYO 108-8507, Tel. +81 3 3740 5130, Fax. +81 3 3740 5077
Korea: Philips House, 260-199 Itaewon-dong, Yongsan-ku, SEOUL,
Tel. +82 2 709 1412, Fax. +82 2 709 1415
Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA, SELANGOR,
Tel. +60 3 750 5214, Fax. +60 3 757 4880
Mexico: 5900 Gateway East, Suite 200, EL PASO, TEXAS 79905,
Tel. +9-5 800 234 7381, Fax +9-5 800 943 0087
Middle East: see Italy
Printed in The Netherlands
465008/00/01/pp32
Date of release: 1999 Apr 16
Document order number:
9397 750 05026