P89V51RB2/RC2/RD2
8-bit 80C51 5 V low power 16/32/64 kB flash microcontroller
with 1 kB RAM
Rev. 05 — 12 November 2009
Product data sheet
1. General description
The P89V51RB2/RC2/RD2 are 80C51 microcontrollers with 16/32/64 kB flash and
1024 B of data RAM.
A key feature of the P89V51RB2/RC2/RD2 is its X2 mode option. The design engineer
can choose to run the application with the conventional 80C51 clock rate (12 clocks per
machine cycle) or select the X2 mode (six clocks per machine cycle) to achieve twice the
throughput at the same clock frequency. Another way to benefit from this feature is to keep
the same performance by reducing the clock frequency by half, thus dramatically reducing
the EMI.
The flash program memory supports both parallel programming and in serial ISP. Parallel
programming mode offers gang-programming at high speed, reducing programming costs
and time to market. ISP allows a device to be reprogrammed in the end product under
software control. The capability to field/update the application firmware makes a wide
range of applications possible.
The P89V51RB2/RC2/RD2 is also capable of IAP, allowing the flash program memory to
be reconfigured even while the application is running.
2. Features
I
I
I
I
I
I
I
I
I
I
I
I
I
80C51 CPU
5 V operating voltage from 0 MHz to 40 MHz
16/32/64 kB of on-chip flash user code memory with ISP and IAP
Supports 12-clock (default) or 6-clock mode selection via software or ISP
SPI and enhanced UART
PCA with PWM and capture/compare functions
Four 8-bit I/O ports with three high-current port 1 pins (16 mA each)
Three 16-bit timers/counters
Programmable watchdog timer
Eight interrupt sources with four priority levels
Second DPTR register
Low EMI mode (ALE inhibit)
TTL- and CMOS-compatible logic levels
NXP Semiconductors
P89V51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
I
Brownout detection
I
Low power modes
N
Power-down mode with external interrupt wake-up
N
Idle mode
I
DIP40, PLCC44 and TQFP44 packages
3. Ordering information
Table 1.
Ordering information
Package
Name
P89V51RB2FA
P89V51RB2FN
P89V51RB2BBC
P89V51RC2FA
P89V51RC2FBC
P89V51RC2FN
P89V51RD2FA
P89V51RD2FBC
P89V51RD2BN
P89V51RD2FN
PLCC44
DIP40
TQFP44
PLCC44
TQFP44
DIP40
PLCC44
TQFP44
DIP40
DIP40
Description
plastic leaded chip carrier; 44 leads
plastic dual in-line package; 40 leads (600 mil)
plastic thin quad flat package; 44 leads; body 10
×
10
×
1.0 mm
plastic leaded chip carrier; 44 leads
plastic thin quad flat package; 44 leads; body 10
×
10
×
1.0 mm
plastic dual in-line package; 40 leads (600 mil)
plastic leaded chip carrier; 44 leads
plastic thin quad flat package; 44 leads; body 10
×
10
×
1.0 mm
plastic dual in-line package; 40 leads (600 mil)
plastic dual in-line package; 40 leads (600 mil)
Version
SOT187-2
SOT129-1
SOT376-1
SOT187-2
SOT376-1
SOT129-1
SOT187-2
SOT376-1
SOT129-1
SOT129-1
Type number
3.1 Ordering options
Table 2.
Ordering options
Flash memory
16 kB
16 kB
16 kB
32 kB
32 kB
32 kB
64 kB
64 kB
64 kB
64 kB
Temperature range
−40 °C
to +85
°C
−40 °C
to +85
°C
0
°C
to +70
°C
−40 °C
to +85
°C
−40 °C
to +85
°C
−40 °C
to +85
°C
−40 °C
to +85
°C
−40 °C
to +85
°C
0
°C
to +70
°C
−40 °C
to +85
°C
Frequency
0 MHz to 40 MHz
Type number
P89V51RB2FA
P89V51RB2FN
P89V51RB2BBC
P89V51RC2FA
P89V51RC2FBC
P89V51RC2FN
P89V51RD2FA
P89V51RD2FBC
P89V51RD2BN
P89V51RD2FN
P89V51RB2_RC2_RD2_5
© NXP B.V. 2009. All rights reserved.
Product data sheet
Rev. 05 — 12 November 2009
2 of 80
NXP Semiconductors
P89V51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
P1.0/T2
P1.1/T2EX
P1.2/ECI
P1.3/CEX0
P1.4/SS/CEX1
P1.5/MOSI/CEX2
P1.6/MISO/CEX3
P1.7/SPICLK/CEX4
RST
1
2
3
4
5
6
7
8
9
40 V
DD
39 P0.0/AD0
38 P0.1/AD1
37 P0.2/AD2
36 P0.3/AD3
35 P0.4/AD4
34 P0.5/AD5
33 P0.6/AD6
P3.0/RXD 10
P3.1/TXD 11
P3.2/INT0 12
P3.3/INT1 13
P3.4/T0 14
P3.5/T1 15
P3.6/WR 16
P3.7/RD 17
XTAL2 18
XTAL1 19
V
SS
20
P89V51RB2FN
P89V51RC2FN
P89V51RD2BN
P89V51RD2FN
32 P0.7/AD7
31 EA
30 ALE/PROG
29 PSEN
28 P2.7/A15
27 P2.6/A14
26 P2.5/A13
25 P2.4/A12
24 P2.3/A11
23 P2.2/A10
22 P2.1/A9
21 P2.0/A8
002aaa811
Fig 3. DIP40 pin configuration
44 P1.4/SS/CEX1
43 P1.3/CEX0
41 P1.1/T2EX
37 P0.0/AD0
36 P0.1/AD1
35 P0.2/AD2
P1.5/MOSI/CEX2
P1.6/MISO/CEX3
P1.7/SPICLK/CEX4
RST
P3.0/RXD
n.c.
P3.1/TXD
P3.2/INT0
P3.3/INT1
1
2
3
4
5
6
7
8
9
34 P0.3/AD3
33 P0.4/AD4
32 P0.5/AD5
31 P0.6/AD6
30 P0.7/AD7
29 EA
28 n.c.
27 ALE/PROG
26 PSEN
25 P2.7/A15
24 P2.6/A14
23 P2.5/A13
P2.4/A12 22
002aaa812
42 P1.2/ECI
40 P1.0/T2
V
SS
16
P89V51RB2BBC
P89V51RC2FBC
P89V51RD2FBC
P3.4/T0 10
P3.5/T1 11
P3.6/WR 12
P3.7/RD 13
XTAL2 14
XTAL1 15
n.c. 17
P2.0/A8 18
P2.1/A9 19
P2.2/A10 20
P2.3/A11 21
Fig 4. TQFP44 pin configuration
P89V51RB2_RC2_RD2_5
38 V
DD
39 n.c.
© NXP B.V. 2009. All rights reserved.
Product data sheet
Rev. 05 — 12 November 2009
5 of 80