UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
294 of 464
NXP Semiconductors
UM10850
Chapter 22: LPC5410x Serial Peripheral Interfaces (SPI0/1)
22.6.10 SPI Divider register
The DIV register determines the clock used by the SPI in master mode.
For details on clocking, see
Section 22.7.3 “Clocking and data rates”
22.6.11 SPI Interrupt Status register
The read-only INTSTAT register provides a view of those interrupt flags that are currently
enabled. This can simplify software handling of interrupts. See
for detailed
descriptions of the interrupt flags.
Table 331. SPI Divider register (DIV, offset 0x24) bit description
Bit
Symbol
Description
Reset
Value
15:0
DIVVAL
Rate divider value. Specifies how the PCLK for the SPI is divided to produce the SPI clock rate in
master mode.
DIVVAL is -1 encoded such that the value 0 results in PCLK/1, the value 1 results in PCLK/2, up
to the maximum possible divide value of 0xFFFF, which results in PCLK/65536.
0
31:16
-
Reserved. Read value is undefined, only zero should be written.
NA
Table 332. SPI Interrupt Status register (INTSTAT, offset 0x28) bit description
Bit
Symbol
Description
Reset value
0
RXRDY
Receiver Ready flag.
0
1
TXRDY
Transmitter Ready flag.
1
2
RXOV
Receiver Overrun interrupt flag.
0
3
TXUR
Transmitter Underrun interrupt flag.
0
4
SSA
Slave Select Assert.
0
5
SSD
Slave Select Deassert.
0
7:6
-
Reserved. Read value is undefined, only zero should be written. NA
8
MSTIDLE
Master Idle status flag.
0
31:9
-
Reserved. Read value is undefined, only zero should be written. NA