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 19 of 69
NXP Semiconductors
P89LPC952/954
8-bit microcontroller with 10-bit ADC
RTCCON RTC control D1H RTCF RTCS1 RTCS0 - - - ERTC RTCEN 60
[2][7]
011x xx00
RTCH RTC register
high
D2H 00
[7]
0000 0000
RTCL RTC register
low
D3H 00
[7]
0000 0000
S0ADDR Serial port
address
register
A9H 00 0000 0000
S0ADEN Serial port
address
enable
B9H 00 0000 0000
S0BUF Serial Port
data buffer
register
99H xx xxxx xxxx
Bit address 9F 9E 9D 9C 9B 9A 99 98
S0CON
[1]
Serial port
control
98H SM0_0/FE
_0
SM1_00 SM2_0 REN_0 TB8_0 RB8_0 TI_0 RI_0 00 0000 0000
S0STAT Serial port
extended
status register
BAH DBMOD_0 INTLO_0 CIDIS_0 DBISEL_0 FE_0 BR_0 OE_0 STINT_0 00 0000 0000
SP Stack pointer 81H 07 0000 0111
SPCTL SPI control
register
E2H SSIG SPEN DORD MSTR CPOL CPHA SPR1 SPR0 04 0000 0100
SPSTAT SPI status
register
E1H SPIF WCOL - -----0000xx xxxx
SPDAT SPI data
register
E3H 00 0000 0000
S1CON Serial port 1
control
B6H SM0_1/FE
_1
SM1_1 SM2_1 REN_1 TB8_1 RB8_1 TI_1 RI_1 00 0000 0000
S1STAT Serial port 1
extended
status register
D4H DBMOD_1 INTLO_1 CIDIS_1 DBISEL_1 FE_1 BR_1 OE_1 STINT_1 00 0000 0000
TAMOD Timer 0 and 1
auxiliary mode
8FH - - - T1M2 - - - T0M2 00 xxx0 xxx0
Table 4. Special function registers
…continued
Name Description SFR
addr.
Bit functions and addresses Reset value
MSB LSB Hex Binary
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 20 of 69
NXP Semiconductors
P89LPC952/954
8-bit microcontroller with 10-bit ADC
[1] Indicates SFRs that are bit addressable.
[2] All ports are in input only (high-impedance) state after power-up.
[3] BRGR1_0 and BRGR0_0 must only be written if BRGEN_0 in BRGCON_0 SFR is logic 0. If any are written while BRGEN_0 = 1, the result is unpredictable.
[4] The RSTSRC register reflects the cause of the P89LPC952/954 reset. Upon a power-up reset, all reset source flags are cleared except POF and BOF; the power-on reset value is
xx11 0000.
[5] After reset, the value is 1110 01x1, i.e., PRE2 to PRE0 are all logic 1, WDRUN = 1 and WDCLK = 1. WDTOF bit is logic 1 after watchdog reset and is logic 0 after power-on reset.
Other resets will not affect WDTOF.
[6] On power-on reset, the TRIM SFR is initialized with a factory preprogrammed value. Other resets will not cause initialization of the TRIM register.
[7] The only reset source that affects these SFRs is power-on reset.
Bit address 8F 8E 8D 8C 8B 8A 89 88
TCON
[1]
Timer 0 and 1
control
88H TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 00 0000 0000
TH0 Timer 0 high 8CH 00 0000 0000
TH1 Timer 1 high 8DH 00 0000 0000
TL0 Timer 0 low 8AH 00 0000 0000
TL1 Timer 1 low 8BH 00 0000 0000
TMOD Timer 0 and 1
mode
89H T1GATE T1C/T T1M1 T1M0 T0GATE T0C/T T0M1 T0M0 00 0000 0000
TRIM Internal
oscillator trim
register
96H RCCLK ENCLK TRIM.5 TRIM.4 TRIM.3 TRIM.2 TRIM.1 TRIM.0
[6] [7]
WDCON Watchdog
control register
A7H PRE2 PRE1 PRE0 - - WDRUN WDTOF WDCLK
[5] [7]
WDL Watchdog load C1H FF 1111 1111
WFEED1 Watchdog
feed 1
C2H
WFEED2 Watchdog
feed 2
C3H
Table 4. Special function registers
…continued
Name Description SFR
addr.
Bit functions and addresses Reset value
MSB LSB Hex Binary
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 21 of 69
NXP Semiconductors
P89LPC952/954
8-bit microcontroller with 10-bit ADC
Table 5. Extended special function registers
Name Description SFR
addr.
Bit functions and addresses Reset value
MSB LSB Hex Binary
ADC0HBND ADC0 high_boundary
register, left (MSB)
FFEFH FF 1111 1111
ADC0LBND ADC0 low_boundary
register (MSB)
FFEEH 00 0000 0000
AD0DAT0R ADC0 data register 0, right
(LSB)
FFFEH AD0DAT0[7:0] 00 0000 0000
AD0DAT0L ADC0 data register 0, left
(MSB)
FFFFH AD0DAT0[9:2] 00 0000 0000
AD0DAT1R ADC0 data register 1, right
(LSB)
FFFCH AD0DAT1[7:0] 00 0000 0000
AD0DAT1L ADC0 data register 1, left
(MSB)
FFFDH AD0DAT1[9:2] 00 0000 0000
AD0DAT2R ADC0 data register 2, right
(LSB)
FFFAH AD0DAT2[7:0] 00 0000 0000
AD0DAT2L ADC0 data register 2, left
(MSB)
FFFBH AD0DAT2[9:2] 00 0000 0000
AD0DAT3R ADC0 data register 3, right
(LSB)
FFF8H AD0DAT3[7:0] 00 0000 0000
AD0DAT3L ADC0 data register 3, left
(MSB)
FFF9H AD0DAT3[9:2] 00 0000 0000
AD0DAT4R ADC0 data register 4, right
(LSB)
FFF6H AD0DAT4[7:0] 00 0000 0000
AD0DAT4L ADC0 data register 4, left
(MSB)
FFF7H AD0DAT4[9:2] 00 0000 0000
AD0DAT5R ADC0 data register 5, right
(LSB)
FFF4H AD0DAT5[7:0] 00 0000 0000
AD0DAT5L ADC0 data register 5, left
(MSB)
FFF5H AD0DAT5[9:2] 00 0000 0000
AD0DAT6R ADC0 data register 6, right
(LSB)
FFF2H AD0DAT6[7:0] 00 0000 0000
AD0DAT6L ADC0 data register 6, left
(MSB)
FFF3H AD0DAT6[9:2] 00 0000 0000
AD0DAT7R ADC0 data register 7, right
(LSB)
FFF0H AD0DAT7[7:0]

P89LPC952FA,512

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