P89LPC952_954_4 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 04 — 24 July 2008 13 of 69
NXP Semiconductors
P89LPC952/954
8-bit microcontroller with 10-bit ADC
[1] Input/output for P1.0 to P1.4, P1.6, P1.7. Input for P1.5.
P4.4 21 26 20 I/O P4.4 — Port 4 bit 4.
P4.5/TDI 20 25 19 I/O P4.5 — Port 4 bit 5.
I/O TDI — Serial data input/output for debugger interface.
P4.6 19 24 18 I/O P4.6 — Port 4 bit 6.
P4.7/TCLK 18 23 17 I/O P4.7 — Port 4 bit 7.
I TCLK — Serial clock input for debugger interface.
P5.0 to P5.7 I/O Port 5: Port 5 is an 8-bit I/O port with a user-configurable
output type. During reset Port 5 latches are configured in the
input only mode with the internal pull-up disabled. The
operation of Port 5 pins as inputs and outputs depends upon
the port configuration selected. Each port pin is configured
independently. Refer to
Section 7.13.1 “Port configurations”
and
Table 11 “Static characteristics” for details.
All pins have Schmitt triggered inputs.
Port 5 also provides various special functions as described
below:
P5.0 16 21 15 I/O P5.0 — Port 5 bit 0. High current source.
P5.1 15 20 14 I/O P5.1 — Port 5 bit 1. High current source.
P5.2 14 19 13 I/O P5.2 — Port 5 bit 2. High current source.
P5.3 13 18 12 I/O P5.3 — Port 5 bit 3. High current source.
P5.4 12 17 11 I/O P5.4 — Port 5 bit 4. High current source.
P5.5 11 16 10 I/O P5.5 — Port 5 bit 5. High current source.
P5.6 10 15 9 I/O P5.6 — Port 5 bit 6. High current source.
P5.7 9 14 8 I/O P5.7 — Port 5 bit 7. High current source.
V
SS
17, 45 3, 22 16, 41 I Ground: 0 V reference.
VREFN 44 - - negative ADC reference voltage
V
DD
8, 32 13, 36 7, 30 I Power supply: This is the power supply voltage for normal
operation as well as Idle and Power-down modes.
VREFP 33 - - positive ADC reference voltage
Table 3. Pin description
…continued
Symbol Pin Type Description
LQFP48 PLCC44 LQFP44
P89LPC952_954_4 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 04 — 24 July 2008 14 of 69
NXP Semiconductors
P89LPC952/954
8-bit microcontroller with 10-bit ADC
7. Functional description
Remark: Please refer to the P89LPC952/954
User’s Manual
for a more detailed functional
description.
7.1 Special function registers
Remark: SFR accesses are restricted in the following ways:
User must not attempt to access any SFR locations not defined.
Accesses to any defined SFR locations must be strictly for the functions for the SFRs.
SFR bits labeled ‘-’, ‘0’ or ‘1’ can only be written and read as follows:
‘-’ Unless otherwise specified, must be written with ‘0’, but can return any value
when read (even if it was written with ‘0’). It is a reserved bit and may be used in
future derivatives.
‘0’ must be written with ‘0’, and will return a ‘0’ when read.
‘1’ must be written with ‘1’, and will return a ‘1’ when read.
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
P89LPC952_954_4 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 04 — 24 July 2008 15 of 69
NXP Semiconductors
P89LPC952/954
8-bit microcontroller with 10-bit ADC
Table 4. Special function registers
Name Description SFR
addr.
Bit functions and addresses Reset value
MSB LSB Hex Binary
Bit address E7 E6 E5 E4 E3 E2 E1 E0
ACC
[1]
Accumulator E0H 00 0000 0000
AD0CON ADC0 control
register
97H ENBI0 ENADCI0 TMM0 EDGE0 ADCI0 ENADC0 ADCS01 ADCS00 00 0000 0000
AD0INS ADC0 input
select
A3H ADI07 ADI06 ADI05 ADI04 ADI03 ADI02 ADI01 ADI00 00 0000 0000
AD0MODA ADC0 mode
register A
C0H BNDI0 BURST0 SCC0 SCAN0 ----000000 0000
AD0MODB ADC0 mode
register B
A1H CLK2 CLK1 CLK0 -----00000x 0000
AUXR1 Auxiliary
function
register
A2H CLKLP EBRR ENT1 ENT0 SRST 0 - DPS 00 0000 00x0
Bit address F7 F6 F5 F4 F3 F2 F1 F0
B
[1]
B register F0H 00 0000 0000
BRGR0_0 Baud rate
generator 0
rate low
BEH 00 0000 0000
BRGR1_0 Baud rate
generator 0
rate high
BFH 00 0000 0000
BRGCON_0 Baud rate
generator 0
control
BDH - - - - - - SBRGS_0 BRGEN_0 00
[3]
xxxx xx00
CMP1 Comparator 1
control register
ACH - - CE1 CP1 CN1 OE1 CO1 CMF1 00
[2]
xx00 0000
CMP2 Comparator 2
control register
ADH - - CE2 CP2 CN2 OE2 CO2 CMF2 00
[2]
xx00 0000
DIVM CPU clock
divide-by-M
control
95H 00 0000 0000
DPTR Data pointer
(2 bytes)

P89LPC952FBD,157

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Microcontrollers - MCU 8-bit Microcontrollers - MCU 80C51 8K FL 512B RAM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union