INTEGRATED CIRCUITS
P87C51RA2/RB2/RC2/RD2
80C51 8-bit microcontroller family
8KB/16KB/32KB/64KB OTP, 512B/512B/512B/1KB RAM,
low voltage (2.7 to 5.5 V), low power, high speed
(30/33 MHz)
Product data
Supersedes data of 2002 Oct 28
2003 Jan 24
Philips
Semiconductors
Philips Semiconductors
Product data
80C51 8-bit microcontroller family
8KB/16KB/32KB/64KB OTP
with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high
speed (30/33 MHz)
P87C51RA2/RB2/RC2/RD2
DESCRIPTION
The devices are Single-Chip 8-Bit Microcontrollers manufactured in
an advanced CMOS process and are derivatives of the 80C51
microcontroller family. The instruction set is 100% compatible with
the 80C51 instruction set.
The devices support 6-clock/12-clock mode selection by
programming an OTP bit (OX2) using parallel programming. In
addition, an SFR bit (X2) in the clock control register (CKCON)
also selects between 6-clock/12-clock mode.
The devices also have four 8-bit I/O ports, three 16-bit timer/event
counters, a multi-source, four-priority-level, nested interrupt structure,
an enhanced UART and on-chip oscillator and timing circuits.
The added features of the P87C51RA2/RB2/RC2/RD2 make it a
powerful microcontroller for applications that require pulse width
modulation, high-speed I/O and up/down counting capabilities such
as motor control.
•
CMOS and TTL compatible
•
Two speed ranges at V
CC
= 5 V
–
0 to 30 MHz with 6-clock operation
–
0 to 33 MHz with 12-clock operation
•
Parallel programming with 87C51 compatible hardware interface
to programmer
•
RAM expandable externally to 64 kbytes
•
Programmable Counter Array (PCA)
–
PWM
–
Capture/compare
FEATURES
•
80C51 Central Processing Unit
–
8 kbytes OTP (87C51RA2)
–
16 kbytes OTP (87C51RB2)
–
32 kbytes OTP (87C51RC2)
–
64 kbytes OTP (87C51RD2)
–
512 byte RAM (87C51RA2/RB2/RC2)
–
1 kbyte RAM (87C51RD2)
–
Boolean processor
–
Fully static operation
–
Low voltage (2.7 V to 5.5 V at 16 MHz) operation
•
PLCC, LQFP, or DIP package
•
Extended temperature ranges
•
Dual Data Pointers
•
Security bits (3 bits)
•
Encryption array - 64 bytes
•
Seven interrupt sources
•
4 interrupt priority levels
•
Four 8-bit I/O ports
•
Full-duplex enhanced UART
–
Framing error detection
–
Automatic address recognition
•
Three 16-bit timers/counters T0, T1 (standard 80C51) and
additional T2 (capture and compare)
•
12-clock operation with selectable 6-clock operation (via software
or via parallel programmer)
•
Memory addressing capability
–
Up to 64 kbytes ROM and 64 kbytes RAM
•
Programmable clock-out pin
•
Asynchronous port reset
•
Low EMI (inhibit ALE, slew rate controlled outputs, and 6-clock
mode)
•
Power control modes:
–
Clock can be stopped and resumed
–
Idle mode
–
Power-down mode
•
Wake-up from Power Down by an external interrupt
2003 Jan 24
2
853–2391 29335
Philips Semiconductors
Product data
80C51 8-bit microcontroller family
8KB/16KB/32KB/64KB OTP
with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high
speed (30/33 MHz)
P87C51RA2/RB2/RC2/RD2
SELECTION TABLE
Type
Memory
# of Timers
Timers
Serial
Interfaces
Default Clock
Rate
ADC bits/ch.
Interrupts
(Ext.)/Levels
Reset active
low/high?
Optional
Clock Rate
Max.
Freq.
at 6-clk
/ 12-clk
(MHz)
30/33
30/33
30/33
30/33
Freq.
Range
at 3V
(MHz)
0-16
0-16
0-16
0-16
Freq.
Range
at
5V
(MHz)
0-30/33
0-30/33
0-30/33
0-30/33
P87C51RD2
P87C51RC2
P87C51RB2
P87C51RA2
1K
512B
512B
512B
–
–
–
–
64K
32K
16K
8K
–
–
–
–
4
4
4
4
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
32
32
32
32
7(2)/4
7(2)/4
7(2)/4
7(2)/4
Program
Security
√
√
√
√
I/O Pins
UART
Flash
PWM
ROM
RAM
CAN
OTP
PCA
WD
I
2
C
SPI
12-clk
12-clk
12-clk
12-clk
6-clk
6-clk
6-clk
6-clk
H
H
H
H
ORDERING INFORMATION
PHILIPS
(EXCEPT NORTH AMERICA)
(
)
PART ORDER NUMBER
PART MARKING
P87C51RA2BA
P87C51RA2FA
P87C51RA2BBD
P87C51RB2BA
P87C51RB2FA
P87C51RB2BBD
P87C51RB2BN
P87C51RB2FN
P87C51RC2BA
P87C51RC2FA
P87C51RC2BBD
P87C51RC2BN
P87C51RC2FN
P87C51RD2BA
P87C51RD2FA
P87C51RD2BBD
P87C51RD2FBD
P87C51RD2BN
MEMORY
OTP
8 KB
8 KB
8 KB
16 KB
16 KB
16 KB
16 KB
16 KB
32 KB
32 KB
32 KB
32 KB
32 KB
64 KB
64 KB
64 KB
64 KB
64 KB
RAM
512B
512B
512B
512B
512B
512B
512B
512B
512B
512B
512B
512B
512B
1 KB
1 KB
1 KB
1 KB
1 KB
TEMPERATURE RANGE
(°C)
AND PACKAGE
0 to +70, PLCC
–40 to +85, PLCC
0 to +70, LQFP
0 to +70, PLCC
–40 to +85, PLCC
0 to +70, LQFP
0 to +70, DIP40
–40 to +85, DIP40
0 to +70, PLCC
–40 to +85, PLCC
0 to +70, LQFP
0 to +70, DIP40
–40 to +85, DIP40
0 to +70, PLCC
–40 to +85, PLCC
0 to +70, LQFP
–40 to +85, LQFP
0 to +70, DIP40
VOLTAGE RANGE
DWG #
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
2.7 to 5.5 V
SOT187-2
SOT187-2
SOT389-1
SOT187-2
SOT187-2
SOT389-1
SOT129-1
SOT129-1
SOT187-2
SOT187-2
SOT389-1
SOT129-1
SOT129-1
SOT187-2
SOT187-2
SOT389-1
SOT389-1
SOT129-1
2003 Jan 24
3
Philips Semiconductors
Product data
80C51 8-bit microcontroller family
8KB/16KB/32KB/64KB OTP
with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high
speed (30/33 MHz)
P87C51RA2/RB2/RC2/RD2
BLOCK DIAGRAM 1
ACCELERATED 80C51 CPU
(12-CLK MODE, 6-CLK MODE)
8K / 16K / 32K /
64 KBYTE
CODE OTP
FULL-DUPLEX
ENHANCED UART
512 / 1024 BYTE
DATA RAM
TIMER 0
TIMER 1
PORT 3
CONFIGURABLE I/Os
TIMER 2
PORT 2
CONFIGURABLE I/Os
PROGRAMMABLE
COUNTER ARRAY
(PCA)
PORT 1
CONFIGURABLE I/Os
WATCHDOG TIMER
PORT 0
CONFIGURABLE I/Os
CRYSTAL OR
RESONATOR
OSCILLATOR
su01657
2003 Jan 24
4
Philips Semiconductors
Product data
80C51 8-bit microcontroller family
8KB/16KB/32KB/64KB OTP
with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high
speed (30/33 MHz)
P87C51RA2/RB2/RC2/RD2
BLOCK DIAGRAM (CPU-ORIENTED)
P0.0–P0.7
P2.0–P2.7
PORT 0
DRIVERS
V
CC
V
SS
RAM ADDR
REGISTER
RAM
PORT 0
LATCH
PORT 2
DRIVERS
PORT 2
LATCH
OTP
MEMORY
8
B
REGISTER
STACK
POINTER
ACC
TMP2
TMP1
PROGRAM
ADDRESS
REGISTER
ALU
SFRs
TIMERS
PSW
P.C.A.
8
BUFFER
PC
INCRE-
MENTER
16
PROGRAM
COUNTER
PSEN
ALE
EAV
PP
RST
PD
TIMING
AND
CONTROL
INSTRUCTION
REGISTER
DPTR’S
MULTIPLE
PORT 1
LATCH
PORT 3
LATCH
OSCILLATOR
PORT 1
DRIVERS
XTAL1
XTAL2
P1.0–P1.7
PORT 3
DRIVERS
P3.0–P3.7
SU01658
2003 Jan 24
5