13.4.3.3 SPI Status Register (STATUS)

The following table provides the SPI Status register details. This register indicates the state of SPI such as Tx/Rx FIFO, Tx under-run, and Rx overflow.

Table 13-11. Status
Bit NumberNameR/WReset ValueDescription
[31:15]ReservedR/W0Software must not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit must be preserved across a read-modify-write operation.
14ACTIVERSPI is still transmitting or receiving data.
13SSELRCurrent state of SPI_X_SS[0]
12FRAMESTART0: SPI output enable is active as required.

1: SPI output enable is not asserted. Allows multiple slaves to share a single slave select signal with a single master.

11TXFIFOEMPNXTR0Transmit FIFO empty on next read
10TXFIFOEMPR1Transmit FIFO is empty
9TXFIFOFULNXTR0Transmit FIFO full on next write
8TXFIFOFULR0Transmit FIFO is full
7RXFIFOEMPNXTR0Receive FIFO empty on next read
6RXFIFOEMPR1Receive FIFO empty
5RXFIFOFULNXTR0Receive FIFO full on next write
4RXFIFOFULR0Receive FIFO is full
3TXUNDERRUNRO0No data available for transmission. The channel cannot read data from the transmit FIFO because the transmit FIFO is empty. Certainly, this can only be raised in slave mode because the master will not attempt to transmit unless there is data in FIFO.
2RXOVERFLOWRO0Channel is unable to write to receive FIFO as it is full. Applies to master and slave modes.
1RXDATRCEDRO0When set, it indicates that the number of frames specified by TXRXDFCOUNT has been received and can be read. Applies to master and slave modes.
0TXDATSENTRO0When set, it indicates that the numbers of frames specified by TXRXDFCOUNT has been sent. Applies to master and slave modes.
Important:
  • Bits [11:4] correspond to FIFO status.
  • None of these status bits are sticky. During run-time, the status of these bits reflects the current status of SPI.
  • To determine the cause of an interrupt, the Masked Interrupt Status (MIS) register must be read.