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