Quad Serial Peripheral Interface (QuadSPI)
MPC5606S Microcontroller Reference Manual, Rev. 7
1012 Freescale Semiconductor
 
30.4.3.5 SPI Status Register (QSPI_SPISR)
The QSPI_SPISR contains status and flag bits. The bits reflect the status of the QuadSPI and indicate the 
occurrence of events that can generate interrupt or DMA requests. Software can clear flag bits in the 
QSPI_SPISR by writing a 1 to it. Writing a 0 to a flag bit has no effect. This register may not be writable 
in MDIS mode due to the use of power saving mechanisms. 
Address: QSPI_BASE + 0x02C Write: Enabled mode
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
R
1
1
When in SFM mode all 0’s are read. 
TCF
TXR
XS
0
EOQ
F
TFU
F
0 TFFF 0 0 0 0 0
RFO
F
0
RFD
F
0
W w1c w1c w1c w1c w1c w1c
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R
1
TXCTR TXNXTPTR RXCTR POPNXTPTR
W
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Figure 30-5. SPI Status Register (QSPI_SPISR)
Table 30-18. QSPI_SPISR field descriptions 
Field Description
TCF Transfer Complete Flag. The TCF bit indicates that all bits in a frame have been shifted out. The TCF 
bit is set at the end of the frame transfer. The TCF bit remains set until cleared by software.
0 Transfer not complete
1 Transfer complete
TXRXS TX & RX Status. The TXRXS bit reflects the status of the QuadSPI. See Section 30.5.2.1, Start and 
Stop of SPI Transfers, for information on how what causes this bit to be negated or asserted.
0 TX and RX operations are disabled (QuadSPI is in Stopped state)
1 TX and RX operations are enabled (QuadSPI is in Running state)
EOQF End of Queue Flag. The EOQF bit indicates that transmission in progress is the last entry in a queue. 
The EOQF bit is set when TX FIFO entry has the EOQ bit set in the command halfword and the end 
of the transfer is reached. The EOQF bit remains set until cleared by software. When the EOQF bit 
is set, the TXRXS bit is automatically cleared.
0 EOQ is not set in the executing command
1 EOQ bit is set in the executing SPI Command
TFUF TX FIFO Underrun Flag. The TFUF bit indicates that an underrun condition in the TX FIFO has 
occurred. The transmit underrun condition is detected only in SPI Slave mode. The TFUF bit is set 
when the TX FIFO of a QuadSPI operating in SPI Slave mode is empty, and a transfer is initiated by 
an external SPI master. The TFUF bit remains set until cleared by software.
0 TX FIFO underrun has not occurred
1 TX FIFO underrun has occurred