

P89C51RA2xx/RB2xx/RC2xx/RD2xx
80C51 8-bit Flash microcontroller family
8KB/16KB/32KB/64KB ISP/IAP Flash with
512B/512B/512B/1KB RAM
Preliminary data
Supersedes data of 2002 May 20
2002 Jul 18
INTEGRATED CIRCUITS
Philips Semiconductors Preliminary data
P89C51RA2/RB2/RC2/RD2xx
80C51 8-bit Flash microcontroller family
8KB/16KB/32KB/64KB ISP/IAP Flash with 512B/512B/512B/1KB RAM
2
2002 Jul 18
DESCRIPTION
The P89C51RA2/RB2/RC2/RD2xx contains a non-volatile
8KB/16KB/32KB/64KB Flash program memory that is both parallel
programmable and serial In-System and In-Application
Programmable. In-System Programming (ISP) allows the user to
download new code while the microcontroller sits in the application.
In-Application Programming (IAP) means that the microcontroller
fetches new program code and reprograms itself while in the
system. This allows for remote programming over a modem link.
A default serial loader (boot loader) program in ROM allows serial
In-System programming of the Flash memory via the UART without
the need for a loader in the Flash code. For In-Application
Programming, the user program erases and reprograms the Flash
memory by use of standard routines contained in ROM.
The device supports 6-clock/12-clock mode selection by
programming a Flash bit using parallel programming or
In-System Programming. In addition, an SFR bit (X2) in the clock
control register (CKCON) also selects between 6-clock/12-clock
mode.
Additionally, when in 6-clock mode, peripherals may use either 6
clocks per machine cycle or 12 clocks per machine cycle. This
choice is available individually for each peripheral and is selected by
bits in the CKCON register.
This device is a Single-Chip 8-Bit Microcontroller manufactured in an
advanced CMOS process and is a derivative of the 80C51
microcontroller family. The instruction set is 100% compatible with
the 80C51 instruction set.
The device also has 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 P89C51RA2/RB2/RC2/RD2xx 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.
FEATURES
80C51 Central Processing Unit
On-chip Flash Program Memory with In-System Programming
(ISP) and In-Application Programming (IAP) capability
Boot ROM contains low level Flash programming routines for
downloading via the UART
Can be programmed by the end-user application (IAP)
Parallel programming with 87C51 compatible hardware interface
to programmer
Supports 6-clock/12-clock mode via parallel programmer (default
clock mode after ChipErase is 12-clock)
6-clock/12-clock mode Flash bit erasable and programmable via
ISP
6-clock/12-clock mode programmable “on-the-fly” by SFR bit
Peripherals (PCA, timers, UART) may use either 6-clock or
12-clock mode while the CPU is in 6-clock mode
Speed up to 20 MHz with 6-clock cycles per machine cycle
(40 MHz equivalent performance); up to 33 MHz with 12 clocks
per machine cycle
Fully static operation
RAM expandable externally to 64 kbytes
Four interrupt priority levels
Seven interrupt sources
Four 8-bit I/O ports
Full-duplex enhanced UART
Framing error detection
Automatic address recognition
Power control modes
Clock can be stopped and resumed
Idle mode
Power down mode
Programmable clock-out pin
Second DPTR register
Asynchronous port reset
Low EMI (inhibit ALE)
Programmable Counter Array (PCA)
PWM
Capture/compare
Philips Semiconductors Preliminary data
P89C51RA2/RB2/RC2/RD2xx80C51 8-bit Flash microcontroller family
8KB/16KB/32KB/64KB ISP/IAP Flash with 512B/512B/512B/1KB RAM
2002 Jul 18
3
SELECTION TABLE
Type Memory Timers
Serial
Interfaces
RAM
ROM
OTP
Flash
# of Timers
PWM
PCA
WD
UART
I
2
C
CAN
SPI
ADC bits/ch.
I/O Pins
Interrupts
(Ext.)/Levels
Program
Security
Default Clock
Rate
1
Optional
Clock Rate
1
Reset active
low/high?
Max.
Freq.
at 6-clk
/ 12-clk
(MHz)
Freq.
Range
at 3V
(MHz)
Freq.
Range
at 5V
(MHz)
P89C51RD2xx 1K 64K 4 32 7(2)/4 12-clk 6-clk H 20/33 0-20/33
P89C51RC2xx 512B 32K 4 32 7(2)/4 12-clk 6-clk H 20/33 0-20/33
P89C51RB2xx 512B 16K 4 32 7(2)/4 12-clk 6-clk H 20/33 0-20/33
P89C51RA2xx 512B 8K 4 32 7(2)/4 12-clk 6-clk H 20/33 0-20/33
NOTE:
1. P89C51Rx2Hxx devices have a 6-clk default clock rate (12-clk optional). Please also see Device Comparison Table.
DEVICE COMPARISON TABLE
Item 1st generation of Rx2 devices 2nd generation of Rx2 devices
(this data sheet)
Difference
Type description P89C51Rx2Hxx(x) P89C51Rx2xx(x) No more letter ‘H’
Programming algo-
rithm
When using a parallel programmer,
be sure to select
P89C51Rx2Hxx(x) devices
When using a parallel programmer, be
sure to select P89C51Rx2xx(x) de-
vices (no more letter ‘H’)
Different programming algorithm
due to process change
Clock mode (I) 6-clk default, OTP configuration bit
to program to 12-clk mode using
parallel programmer (cannot be
programmed back to 6-clk)
12-clk default, Flash configuration bit
to program to 6-clk mode using paral-
lel programmer or ISP (can be repro-
grammed)
More flexibility for the end user,
more compatibility to older
P89C51Rx+ parts
Clock mode (II) N/A 6-clock/12-clock mode programmable
“on the fly” by SFR bit X2 (CKCON.0)
Clock mode can be changed by
software
Peripheral clock
modes
N/A Peripherals can be run in 12-clk mode
while CPU runs in 6-clk mode
More flexibility, lower power con-
sumption
Flash block structure Two 8-Kbyte blocks
1–3 16-Kbyte blocks
2–16 4-Kbyte blocks More flexibility
ORDERING INFORMATION
PART ORDER
MEMORY
TEMPERATURE
VOLTAGE
FREQUENCY (MHz)
PART
ORDER
NUMBER
1
FLASH RAM
RANGE (°C)
AND PACKAGE
VOLTAGE
RANGE
6-CLOCK
MODE
12-CLOCK
MODE
DWG #
1. P89C51RA2BA/01 8 KB 512 B 0 to +70, PLCC 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT187-2
2. P89C51RA2BBD/01 8 KB 512 B 0 to +70, LQFP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT389-1
3. P89C51RB2BA/01 16 KB 512 B 0 to +70, PLCC 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT187-2
4. P89C51RB2BBD/01 16 KB 512 B 0 to +70, LQFP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT389-1
5. P89C51RC2BN/01 32 KB 512 B 0 to +70, PDIP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT129-1
6. P89C51RC2BA/01 32 KB 512 B 0 to +70, PLCC 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT187-2
7. P89C51RC2FA/01 32 KB 512 B –40 to +85, PLCC 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT187-2
8. P89C51RC2BBD/01 32 KB 512 B 0 to +70, LQFP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT389-1
9. P89C51RC2FBD/01 32 KB 512 B –40 to +85, LQFP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT389-1
10. P89C51RD2BN/01 64 KB 1024 B 0 to +70, PDIP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT129-1
11. P89C51RD2BA/01 64 KB 1024 B 0 to +70, PLCC 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT187-2
12. P89C51RD2BBD/01 64 KB 1024 B 0 to +70, LQFP 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT389-1
13. P89C51RD2FA/01 64 KB 1024 B –40 to +85, PLCC 4.5–5.5 V 0 to 20 MHz 0 to 33 MHz SOT187-2
NOTE:
1. The Part Marking will not include the “/01”.

P89C51RD2BBD/01,55

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT 64KB FLASH 44LQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union