DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
265 of 571
NXP Semiconductors
UM10316
Chapter 18: LPC29xx SPI0/1/2
3.8 SPI status register (Status)
The status register summarizes the status of the SPI module.
4:2
RX_DMA_BURST
R/W
000* -
111
Defines when the SPI will request a Rx burst
DMA transfer. The DMA burst will be
requested when the receive FIFO contains
this number of received data elements:
000 : 1 element
001 : 4 elements
010 : 8 elements
011 : 16 elements
100 : 32 elements
101 : 64 elements
110 : 128 elements
111 : 256 elements
1
TX_DMA_ENABLE
R/W
Tx DMA enable bit
1
DMA enabled
0*
DMa disabled
0
RX_DMA-ENABLE
R/W
Rx DMA enable bit
1
DMA enabled
0*
DMA disabled
Table 221. DMA_SETTINGS register bit description (DMA_SETTINGS0/1/2: addresses
0xE004 7018 (SPI0), 0xE004 8018 (SPI1), 0xE004 9018 (SPI2))
…continued
* = reset value
Bit
Symbol
Access
Value
Description
Table 222. SPI status-register bit description (STATUS0/1/2, addresses: 0xE004 701C (SPI0),
0xE004 801C (SPI1), 0xE004 901C (SPI2))
* = reset value
Bit
Symbol
Access
Value
Description
31 to 6 reserved
R
-
Reserved; do not modify. Read as logic 0
5
SMS_MODE_BUSY
R
Sequential-slave mode busy flag
1
SPI is currently transmitting in sequential-slave
mode. Once all data to all slaves has been
sent this bit will be cleared
0*
SPI is not in sequential-slave mode or not busy
transmitting in this mode
4
SPI_BUSY
R
SPI busy flag
1
SPI is currently transmitting/receiving or the
transmit FIFO is not empty
0*
SPI is idle
3
RX_FIFO_FULL
R
Receive FIFO full bit
1
Receive FIFO full
0*
Receive FIFO not full
2
RX_FIFO_EMPTY
R
Receive FIFO empty bit
1*
Receive FIFO empty
0
Receive FIFO not empty