INTEGRATED CIRCUITS
P87LPC764
Low power, low price, low pin count
(20 pin) microcontroller with 4 kbyte OTP
Product data
Supersedes data of 2001 Oct 26
2003 Sep 03
Philips
Semiconductors
Philips Semiconductors
Product data
Low power, low price, low pin count (20 pin)
microcontroller with 4 kbyte OTP
P87LPC764
•
I
2
C communication port.
•
Eight keypad interrupt inputs, plus two additional external interrupt
inputs.
•
Four interrupt priority levels.
•
Watchdog timer with separate on-chip oscillator, requiring no
external components. The watchdog timeout time is selectable
from 8 values.
•
Active low reset. On-chip power-on reset allows operation with no
external reset components.
GENERAL DESCRIPTION
The P87LPC764 is a 20-pin single-chip microcontroller designed for
low pin count applications demanding high-integration, low cost
solutions over a wide range of performance requirements. A
member of the Philips low pin count family, the P87LPC764 offers
programmable oscillator configurations for high and low speed
crystals or RC operation, wide operating voltage range,
programmable port output configurations, selectable Schmitt trigger
inputs, LED drive outputs, and a built-in watchdog timer. The
P87LPC764 is based on an accelerated 80C51 processor
architecture that executes instructions at twice the rate of standard
80C51 devices.
•
Low voltage reset. One of two preset low voltage levels may be
selected to allow a graceful system shutdown when power fails.
May optionally be configured as an interrupt.
•
Oscillator Fail Detect. The watchdog timer has a separate fully
on-chip oscillator, allowing it to perform an oscillator fail detect
function.
•
Configurable on-chip oscillator with frequency range and RC
oscillator options (selected by user programmed EPROM bits).
The RC oscillator option allows operation with no external
oscillator components.
•
Programmable port output configuration options:
quasi-bidirectional, open drain, push-pull, input-only.
FEATURES
•
An accelerated 80C51 CPU provides instruction cycle times of
300–600 ns for all instructions except multiply and divide when
executing at 20 MHz. Execution at up to 20 MHz when
V
DD
= 4.5 V to 6.0 V, 10 MHz when V
DD
= 2.7 V to 6.0 V.
•
Selectable Schmitt trigger port inputs.
•
LED drive capability (20 mA) on all port pins.
•
Controlled slew rate port outputs to reduce EMI. Outputs have
approximately 10 ns minimum ramp times.
•
4.5 V to 5.5 V for P87LPC764HDH.
•
2.7 V to 6.0 V operating range for digital functions.
•
4 kbytes EPROM code memory.
•
128 byte RAM data memory.
•
32 byte customer code EPROM allows serialization of devices,
storage of setup parameters, etc.
•
15 I/O pins minimum. Up to 18 I/O pins using on-chip oscillator
and reset options.
•
Only power and ground connections are required to operate the
P87LPC764 when fully on-chip oscillator and reset options are
selected.
•
Serial EPROM programming allows simple in-circuit production
coding. Two EPROM security bits prevent reading of sensitive
application programs.
•
Two 16-bit counter/timers. Each timer may be configured to toggle
a port output upon timer overflow.
•
Idle and Power Down reduced power modes. Improved wakeup
from Power Down mode (a low interrupt input starts execution).
Typical Power Down current is 1
µA.
•
Two analog comparators.
•
Full duplex UART.
•
20-pin DIP, SO, and TSSOP packages.
2003 Sep 03
1
853-2401 30269
Philips Semiconductors
Product data
Low power, low price, low pin count (20 pin)
microcontroller with 4 kbyte OTP
P87LPC764
ORDERING INFORMATION
Type number
Package
Name
P87LPC764BD/01
P87LPC764BD
P87LPC764BDH/01
P87LPC764BDH
P87LPC764BN
P87LPC764FN
P87LPC764FD
P87LPC764FDH
P87LPC764HDH
SO20
SO20
TSSOP20
TSSOP20
DIP20
DIP20
SO20
TSSOP20
TSSOP20
Description
plastic small outline package; 20 leads; body width
7.5 mm
plastic small outline package; 20 leads; body width
7.5 mm
plastic thin shrink small outline package; 20 leads;
body width 4.4 mm
plastic thin shrink small outline package; 20 leads;
body width 4.4 mm
plastic dual in-line package; 20 leads (300 mil)
plastic dual in-line package; 20 leads (300 mil)
plastic small outline package; 20 leads; body width
7.5 mm
plastic thin shrink small outline package; 20 leads;
body width 4.4 mm
plastic thin shrink small outline package; 20 leads;
body width 4.4 mm
Frequency
20 MHz (5 V),
10 MHz (3 V)
20 MHz (5 V),
10 MHz (3 V)
20 MHz (5 V)
10 MHz (3 V)
20 MHz (5 V)
10 MHz (3 V)
20 MHz (5 V),
10 MHz (3 V)
20 MHz (5 V),
10 MHz (3 V)
20 MHz (5 V),
10 MHz (3 V)
20 MHz (5 V),
10 MHz (3 V)
16 MHz (5 V)
Temperature
Range (°C)
0 to +70
0 to +70
0 to +70
0 to +70
0 to +70
–40 to +85
–40 to +85
–40 to +85
–40 to +125
Version
SOT163-1
SOT163-1
SOT360-1
SOT360-1
SOT146-1
SOT146-1
SOT163-1
SOT360-1
SOT360-1
DEVICE COMPARISON TABLE
1
Part type
P87LPC764BD/01, BDH/01
P87LPC764BDH, HDH
P87LPC764BD, BN, FN, FD, FDH
NOTE:
1. Please see AC and DC characteristics for more details.
Internal RC oscillator
±2.5%
to 5%
±10%
±25%
PIN CONFIGURATION, 20-PIN DIP, SO, AND TSSOP PACKAGES
CMP2/P0.0
P1.7
P1.6
RST/P1.5
V
SS
X1/P2.1
X2/CLKOUT/P2.0
INT1/P1.4
SDA/INT0/P1.3
1
2
3
4
5
6
7
8
9
20 P0.1/CIN2B
19 P0.2/CIN2A
18 P0.3/CIN1B
17 P0.4/CIN1A
16 P0.5/CMPREF
15 V
DD
14 P0.6/CMP1
13 P0.7/T1
12 P1.0/TxD
11 P1.1/RxD
SCL/T0/P1.2 10
SU01149
2003 Sep 03
2
Philips Semiconductors
Product data
Low power, low price, low pin count (20 pin)
microcontroller with 4 kbyte OTP
P87LPC764
LOGIC SYMBOL
V
DD
V
SS
CMP2
CIN2B
CIN2A
CIN1B
CIN1A
CMPREF
CMP1
T1
CLKOUT/X2
X1
PORT 2
PORT 0
PORT 1
TxD
RxD
T0
INT0
INT1
RST
SCL
SDA
SU01150
2003 Sep 03
3
Philips Semiconductors
Product data
Low power, low price, low pin count (20 pin)
microcontroller with 4 kbyte OTP
P87LPC764
BLOCK DIAGRAM
ACCELERATED
80C51 CPU
INTERNAL BUS
UART
4K BYTE
CODE EPROM
I
2
C
128 BYTE
DATA RAM
TIMER 0, 1
PORT 2
CONFIGURABLE I/OS
PORT 1
CONFIGURABLE I/OS
WATCHDOG TIMER
AND OSCILLATOR
PORT 0
CONFIGURABLE I/OS
ANALOG
COMPARATORS
KEYPAD
INTERRUPT
POWER MONITOR
(POWER-ON RESET,
BROWNOUT RESET)
CRYSTAL OR
RESONATOR
CONFIGURABLE
OSCILLATOR
ON-CHIP
RC
OSCILLATOR
SU01151
2003 Sep 03
4