11.1Introduction to soldering surface mount
packages
11.2Reflow soldering
11.3Wave soldering
11.4Manual soldering
11.5Suitability of surface mount IC packages for
wave and reflow soldering methods
12DEFINITIONS
13LIFE SUPPORT APPLICATIONS
14PURCHASE OF PHILIPS I2C COMPONENTS
P87CL881H
1999 Apr 162
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
1FEATURES
• 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
2
C-bus interface.
via I
• 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
• 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
P87CL881H
• 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
2
C-bus interface for serial transfer on two lines,
• I
maximum operating frequency 400 kHz.
2GENERAL 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”
“8051-Based 8-bit Microcontrollers; Data Handbook IC20”
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.
1999 Apr 163
(1)
PRODUCT TYPE
NAMEDESCRIPTIONVERSION
44 leads; body 10 × 10 × 1.4 mm
PACKAGE
SOT389-1
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 ...
1999 Apr 164
(4)
T0
(4)
T1
(4)
INT0
INT1
(4)
INT2 to INT8
(2)
V
V
7
DD
DDP
V
SS
V
SSPVPP
(5)
4BLOCK DIAGRAM
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
Philips SemiconductorsProduct specification
EA
XTAL1
XTAL2ACO
(2)
CLK
PSEN
ALE
(4)
WR
(4)
RD
AD0 to AD7
A8 to A15
(1)
(3)
TWO 16-BIT
TIMER/
EVENT
COUNTERS
(T0, T1)
80C51
core
excluding
ROM/RAM
PARALLEL
I/O PORTS
P0 P1P3P2TXD
SERIAL
CPU
UART
PORT
RXD
(4)
(4)
PROGRAM
MEMORY
ROM
16-BIT
TIMER/EVENT
COUNTER WITH
CAPTURE/
COMPARE/
(T2)
(2)
T2EX
(2)
T2
T2COMP
DATA
MEMORY
RAM
(2)
EEPROM
DATA
MEMORY
AUX-RAM
SDA
I2C-BUS
INTERFACE
(2)
SCL
P87CL881H
8-bit
internal bus
WATCHDOG
TIMER
(T3)
(2)
RSTPORENABLE
EW
LVD
POR
MGL617
(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.
P87CL881H
handbook, full pagewidth
Fig.1 Block diagram.
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
OTP program memory and 2-kbyte RAM
5PINNING INFORMATION
5.1Pinning
handbook, full pagewidth
P1.0/INT2/T2
P1.1/INT3/T2EX
P1.2/INT4/T2COMP
P1.3/INT5
P1.4/INT6/CLK
44
43
42
41
40
RST
PP
1
2
3
4
5
6
7
8
9
10
11
P87CL881H
P1.5/INT7
P1.6/INT8/SCL
P1.7/INT9/SDA
P3.0/RXD/data
PORENABLE/V
P3.1/TXD/clock
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1P2.5/A13
P87CL881H
DDP
DD
V
V
39
38
P0.1/AD1
P0.0/AD0
37
36
P0.3/AD3
P0.2/AD2
35
34
33
32
31
30
29
28
27
26
25
24
23
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
EW
ALE
PSEN
P2.7/A15
P2.6/A14
12
13
14
15
16
SSP
P3.7/RD
P3.6/WR
XTAL2
XTAL1
V
Fig.2 Pin configuration.
1999 Apr 165
17
18
19
20
21
22
MGL616
SS
V
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
P87CL881H
OTP program memory and 2-kbyte RAM
5.2Pin description
Table 1 LQFP package
SYMBOLPINDESCRIPTION
V
DD
V
DDP
V
SS
V
SSP
RST4RESET. A LOW level on this pin for two machine cycles while the oscillator is running,
PORENABLE/V
EW28Enable Watchdog Timer.
XTAL214Crystal output. Output of the amplitude controlled oscillator. If an external oscillator
XTAL115Crystal input. Input to the amplitude controlled oscillator. Also the input for an externally
PSEN26Program Store Enable. Read strobe to external program memory. When executing
ALE27Address Latch Enable. Latches the low byte of the address during accesses to external
EA29External Access. When EA is held HIGH, the CPU executes out of the internal program
39Power supply for core.
38Power supply for I/O ring.
17Ground for core.
16Ground for I/O ring.
resets the device. The RST pin is also an output which can be used to reset other ICs.
6PORENABLE. If set to a logic 1, the internal Power-on reset circuit is enabled. If external
PP
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
VPP.
clock is used this pin not used.
generated clock source.
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.
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 (
exceeds the internal program memory size. During external access (EA = 0) ALE will
always toggle normally, whether the RFI bit is set or not.
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.
EA = 1) ALE will toggle normally when the address
1999 Apr 166
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
P87CL881H
OTP program memory and 2-kbyte RAM
SYMBOLPINDESCRIPTION
P0.0/AD037Port 0. 8-bit bidirectional I/O port with alternative functions. Every port pin can be used
P0.1/AD136
P0.2/AD235
P0.3/AD334
P0.4/AD433
P0.5/AD532
P0.6/AD631
P0.7/AD730
P1.0/INT2/T240Port 1. 8-bit bidirectional I/O port with alternative functions. Every port pin except P1.6
P1.1/INT3/T2EX41
P1.2/INT4/
T2COMP
P1.3/INT543
P1.4/INT6/CLK44
P1.5/INT71
P1.6/INT8/SCL2
P1.7/INT9/SDA3
P2.0/A818Port 2. 8-bit bidirectional I/O port with alternative functions. Every port pin can be used
P2.1/A919
P2.2/A1020
P2.3/A1121
P2.4/A1222
P2.5/A1323
P2.6/A1424
P2.7/A1525
P3.0/RXD/data5Port 3. 8-bit bidirectional I/O port with alternative functions. Every port pin can be used
P3.1/TXD/clock7
P3.2/INT08
P3.3/
INT19
P3.4/T010
P3.5/T111
P3.6/
WR12
P3.7/
RD13
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.
and P1.7 (I
or push-pull output, according to Section 6.2. Port 1 also serves the alternative functions
42
INT2 to INT9 interrupts, Timer 2 external input and Timer 2 compare output, external
clock output CLK and I2C-bus clock and I2C-bus data in/outputs.
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.
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).
external inputs for Timers 0 and 1 respectively. WR is the external memory write strobe
and RD is the external memory read strobe.
2
C-bus pins) can be used as open-drain, standard port, high-impedance input
INT0 and INT1 are external interrupt lines. T0 and T1 are
1999 Apr 167
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
P87CL881H
OTP program memory and 2-kbyte RAM
6FUNCTIONAL DESCRIPTION
For the functional and block descriptions of the P87CL881, refer to the
6.1Special Function Registers
Table 2 Special Function Registers memory map and reset values; note 1
REGISTER NAMEREGISTER MNEMONICSFR ADDRESSRESET VALUE
80C51 core
AccumulatorACCE0H0000 0000
B RegisterBF0H0000 0000
Data Pointer Low byteDPL82H0000 0000
Data Pointer High byteDPH83H0000 0000
Program Counter High bytePCHno SFR0000 0000
Program Counter Low bytePCLno SFR0000 0000
Power Control RegisterPCON87H0000 0000
Prescaler RegisterPRESCF3H0000 0000
Program Status WordPSWD0H0000 0000
Stack PointerSP81H0000 0111
XRAM Page RegisterXRAMPFAHXXXXX000
“TELX family”
data sheet.
(2)
Timers 0 and 1
Timer/Counter Control RegisterTCON88H0000 0000
Timer/Counter 0 High byteTH08CH0000 0000
Timer/Counter 1 High byteTH18DH0000 0000
Timer/Counter 0 Low byteTL08AH0000 0000
Timer/Counter 1 Low byteTL18BH0000 0000
Timer/Counter Mode Control RegisterTMOD89H0000 0000
Ports
Alternative Port Function Control RegisterALTPA3H0000 0000
Port P0 output data RegisterP080H1111 1111
Port P0 Configuration A RegisterP0CFGA8EH1111 1111
Port P0 Configuration B RegisterP0CFGB8FH0000 0000
Port P1 output data RegisterP190H0111 1111
Port P1 Configuration A RegisterP1CFGA9EH0000 1000
Port P1 Configuration B RegisterP1CFGB9FH0111 1111
Port P2 output data RegisterP2A0H1111 1111
Port P2 Configuration A RegisterP2CFGAAEH11111111
Port P2 Configuration B RegisterP2CFGBAFH0000 0000
Port P3 output data RegisterP3B0H1111 1111
Port P3 Configuration A RegisterP3CFGABEH1111 1110
Port P3 Configuration B RegisterP3CFGBBFH1111 1111
1999 Apr 168
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
P87CL881H
OTP program memory and 2-kbyte RAM
REGISTER NAMEREGISTER MNEMONICSFR ADDRESSRESET VALUE
Timer 2
Timer 2 Compare High byteCOMP2HABH0000 0000
Timer 2 Compare Low byteCOMP2LAAH0000 0000
Timer 2 Reload/Capture High byteRCAP2HCBH0000 0000
Timer 2 Reload/Capture Low byteRCAP2LCAH0000 0000
Timer/Counter 2 Control RegisterT2CONC8H0000 0000
Timer/Counter 2 High byteTH2CDH0000 0000
Timer/Counter 2 Low byteTL2CCH0000 0000
Serial Port BufferS0BUF99H0000 0000
Serial Port Control RegisterS0CON98H0000 0000
2
I
C-bus interface
Address RegisterS1ADRDBH0000 0000
Serial Control RegisterS1COND8H0000 0000
Data Shift RegisterS1DATDAH0000 0000
Serial Status RegisterS1STAD9H1111 1000
Watchdog timer
Watchdog Timer Control RegisterWDCONA5H1010 0101
Watchdog Timer Interval RegisterWDTIMFFH0000 0000
1999 Apr 169
Philips SemiconductorsProduct specification
Low-voltage microcontroller with 63-kbyte
P87CL881H
OTP program memory and 2-kbyte RAM
REGISTER NAMEREGISTER MNEMONICSFR ADDRESSRESET VALUE
OTP interface
OTP Address High RegisterOAHD5X00X XXXX
OTP Address Low RegisterOALD4XXXX XXXX
OTP Data RegisterODATAD6XXXX XXXX
OTP In-System Programming RegisterOISYSDC000X 0000
OTP Test RegisterOTESTD70000 0000
Notes
1. E7H and FDH are reserved locations and must not be written to.
2. Where: X = undefined state.
6.2I/O facilities
6.2.1P
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
ORTS
data bus for expanding the device with standard
memories and peripherals.
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.
(2)
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 I2C-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.
6.2.2P
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 VDD).
Mode 0 Open-drain; quasi-bidirectional I/O with
ORT I/O CONFIGURATION
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 VDD and VSS are still present. Except for
the I2C-bus pins P1.6 and P1.7, ports which are
configured as open-drain still have a protection
diode to VDD. See Fig.3a.
1999 Apr 1610
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.