P89LPC915_916_917 NXP Semiconductors, P89LPC915_916_917 Datasheet - Page 26

no-image

P89LPC915_916_917

Manufacturer Part Number
P89LPC915_916_917
Description
The P89LPC915/916/917 are single-chip microcontrollers, available in low-cost packages,based on a high performance processor architecture that executes instructions in two tofour clocks, six times the rate of standard 80C51 devices
Manufacturer
NXP Semiconductors
Datasheet
Table 8.
* indicates SFRs that are bit addressable.
[1]
[2]
[3]
[4]
[5]
[6]
Name
SSTAT
SP
SPCTL
SPSTAT
SPDAT
TAMOD
TCON*
TH0
TH1
TL0
TL1
TMOD
TRIM
WDCON
WDL
WFEED1
WFEED2
All ports are in input only (high-impedance) state after power-up.
BRGR1 and BRGR0 must only be written if BRGEN in BRGCON SFR is logic 0. If any are written while BRGEN = 1, the result is unpredictable.
The RSTSRC register reflects the cause of the P89LPC915/916/917 reset. Upon a power-up reset, all reset source flags are cleared except POF and BOF; the power-on reset
value is xx11 0000.
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.
On power-on reset, the TRIM SFR is initialized with a factory preprogrammed value. Other resets will not cause initialization of the TRIM register.
The only reset source that affects these SFRs is power-on reset.
P89LPC916 special function registers
Description
Serial port extended status
register
Stack pointer
SPI control register
SPI status register
SPI data register
Timer 0 and 1 auxiliary mode
Timer 0 and 1 control
Timer 0 high
Timer 1 high
Timer 0 low
Timer 1 low
Timer 0 and 1 mode
Internal oscillator trim register
Watchdog control register
Watchdog load
Watchdog feed 1
Watchdog feed 2
Bit address
SFR
addr.
BAH
E2H
E1H
E3H
8CH
8DH
8AH
8BH
A7H
C1H
C2H
C3H
81H
8FH
88H
89H
96H
…continued
Bit functions and addresses
DBMOD
T1GATE
RCCLK
PRE2
SSIG
MSB
SPIF
TF1
8F
-
INTLO
WCOL
SPEN
T1C/T
PRE1
TR1
8E
-
-
TRIM.5
DORD
CIDIS
T1M1
PRE0
TF0
8D
-
-
DBISEL
TRIM.4
MSTR
T1M0
TR0
8C
-
-
-
T0GATE
TRIM.3
CPOL
FE
8B
-
-
-
-
WDRUN
TRIM.2
CPHA
T0C/T
BR
8A
-
-
-
WDTOF
TRIM.1
SPR1
T0M1
OE
IE0
89
-
-
WDCLK
TRIM.0
STINT
SPR0
T0M2
T0M0
LSB
IT0
88
-
Reset value
Hex
00
07
04
00
00
00
00
00
00
00
00
00
[5] [6]
[4] [6]
FF
Binary
0000 0000
0000 0111
0000 0100
00xx xxxx
0000 0000
xxx0 xxx0
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
1111 1111

Related parts for P89LPC915_916_917