P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 7 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
P1.3/CEX0 43 5 I/O P1.3 — Port 1 bit 3.
I/O CEX0 — Capture/compare external I/O for PCA Module 0. Each
capture/compare module connects to a Port 1 pin for external
I/O. When not used by the PCA, this pin can handle standard I/O.
P1.4/
SS/CEX1 44 6 I/O P1.4 — Port 1 bit 4.
I
SS — Slave port select input for SPI.
I/O CEX1 — Capture/compare external I/O for PCA Module 1.
P1.5/MOSI/
CEX2
1 7 I/O P1.5 — Port 1 bit 5.
I/O MOSI — Master Output Slave Input for SPI.
I/O CEX2 — Capture/compare external I/O for PCA Module 2.
P1.6/MISO/
CEX3
2 8 I/O P1.6 — Port 1 bit 6.
I/O MISO — Master Input Slave Output for SPI.
I/O CEX3 — Capture/compare external I/O for PCA Module 3.
P1.7/SPICLK/
CEX4
3 9 I/O P1.7 — Port 1 bit 7.
I/O SPICLK — Serial clock input/output for SPI.
I/O CEX4 — Capture/compare external I/O for PCA Module 4.
P2.0 to P2.7 I/O with
internal
pull-up
Port 2: Port 2 is an 8-bit bidirectional I/O port with internal
pull-ups. Port 2 pins are pulled HIGH by the internal pull-ups
when ‘1’s are written to them and can be used as inputs in this
state. As inputs, Port 2 pins that are externally pulled LOW will
source current (I
IL
) because of the internal pull-ups. Port 2 sends
the high-order address byte during fetches from external
program memory and during accesses to external Data Memory
that use 16-bit address (MOVX@DPTR). In this application, it
uses strong internal pull-ups when transitioning to ‘1’s. Port 2
also receives some control signals and a partial of high-order
address bits during the external host mode programming and
verification.
P2.0/A8 18 24 I/O P2.0 — Port 2 bit 0.
O A8 — Address bit 8.
P2.1/A9 19 25 I/O P2.1 — Port 2 bit 1.
O A9 — Address bit 9.
P2.2/A10 20 26 I/O P2.2 — Port 2 bit 2.
O A10 — Address bit 10.
P2.3/A11 21 27 I/O P2.3 — Port 2 bit 3.
O A11 — Address bit 11.
P2.4/A12 22 28 I/O P2.4 — Port 2 bit 4.
O A12 — Address bit 12.
P2.5/A13 23 29 I/O P2.5 — Port 2 bit 5.
O A13 — Address bit 13.
P2.6/A14 24 30 I/O P2.6 — Port 2 bit 6.
O A14 — Address bit 14.
Table 3. P89LV51RB2/RC2/RD2 pin description
…continued
Symbol Pin Type Description
TQFP44 PLCC44
P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 8 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
P2.7/A15 25 31 I/O P2.7 — Port 2 bit 7.
O A15 — Address bit 15.
P3.0 to P3.7 I/O with
internal
pull-up
Port 3: Port 3 is an 8-bit bidirectional I/O port with internal
pull-ups. Port 3 pins are pulled HIGH by the internal pull-ups
when ‘1’s are written to them and can be used as inputs in this
state. As inputs, Port 3 pins that are externally pulled LOW will
source current (I
IL
) because of the internal pull-ups. Port 3 also
receives some control signals and a partial of high-order address
bits during the external host mode programming and verification.
P3.0/RXD 5 11 I P3.0 — Port 3 bit 0.
I RXD — Serial input port.
P3.1/TXD 7 13 O P3.1 — Port 3 bit 1.
O TXD — Serial output port.
P3.2/
INT0 8 14 I P3.2 — Port 3 bit 2.
I
INT0 — External interrupt 0 input.
P3.3/
INT1 9 15 I P3.3 — Port 3 bit 3.
I
INT1 — External interrupt 1 input.
P3.4/T0 10 16 I/O P3.4 — Port 3 bit 4.
I T0 — External count input to Timer/counter 0.
P3.5/T1 11 17 I/O P3.5 — Port 3 bit 5.
I T1 — External count input to Timer/counter 1.
P3.6/
WR 12 18 O P3.6 — Port 3 bit 6.
O
WR — External data memory write strobe.
P3.7/
RD 13 19 O P3.7 — Port 3 bit 7.
O
RD — External data memory read strobe.
PSEN 26 32 I/O Program Store Enable: PSEN is the read strobe for external
program memory. When the device is executing from internal
program memory,
PSEN is inactive (HIGH). When the device is
executing code from external program memory,
PSEN is
activated twice each machine cycle, except that two
PSEN
activations are skipped during each access to external data
memory. A forced HIGH-to-LOW input transition on the
PSEN pin
while the RST input is continually held HIGH for more than 10
machine cycles will cause the device to enter external host mode
programming.
RST 4 10 I Reset: While the oscillator is running, a HIGH logic state on this
pin for two machine cycles will reset the device. If the
PSEN pin
is driven by a HIGH-to-LOW input transition while the RST input
pin is held HIGH, the device will enter the external host mode,
otherwise the device will enter the normal operation mode.
EA 29 35 I External Access Enable: EA must be connected to V
SS
in order
to enable the device to fetch code from the external program
memory.
EA must be strapped to V
DD
for internal program
execution. The
EA pin can tolerate a high voltage of 12 V.
Table 3. P89LV51RB2/RC2/RD2 pin description
…continued
Symbol Pin Type Description
TQFP44 PLCC44
P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 9 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
[1] ALE loading issue: When ALE pin experiences higher loading (> 30 pF) during the reset, the microcontroller may accidentally enter into
modes other than normal working mode. The solution is to connect a pull-up resistor of 3 k to 50 k from pin ALE to V
DD
.
[2] For 6-clock mode, ALE is emitted at
1
3
of crystal frequency.
ALE/PROG 27 33 I/O Address Latch Enable: ALE is the output signal for latching the
low byte of the address during an access to external memory.
This pin is also the programming pulse input (
PROG) for flash
programming. Normally the ALE
[1]
is emitted at a constant rate of
1
6
the crystal frequency
[2]
and can be used for external timing
and clocking. One ALE pulse is skipped during each access to
external data memory. However, if bit AO is set to ‘1’, ALE is
disabled.
n.c. 6, 17, 28,
39
1, 12, 23,
34
I/O not connected
XTAL1 15 21 I Crystal 1: Input to the inverting oscillator amplifier and input to
the internal clock generator circuits.
XTAL2 14 20 O Crystal 2: Output from the inverting oscillator amplifier.
V
DD
38 44 I Power supply
V
SS
16 22 I Ground
Table 3. P89LV51RB2/RC2/RD2 pin description
…continued
Symbol Pin Type Description
TQFP44 PLCC44

P89LV51RD2BN,112

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