
Deserial – Serial Peripheral Interface (DSPI)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
30-17
Table 30-12. DSPI_SR 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 DSPI. See
Section 30.4.2, Start and Stop of DSPI
for information on how what causes this bit to be negated or asserted.
0 TX and RX operations are disabled (DSPI is in STOPPED state).
1 TX and RX operations are enabled (DSPI 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
Transmit FIFO Underflow Flag. The TFUF bit indicates that an underflow condition in the TX FIFO has occurred.
The transmit underflow condition is detected only for DSPI blocks operating in slave mode and SPI
configuration. The TFUF bit is set when the TX FIFO of a DSPI 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 underflow has not occurred.
1 TX FIFO underflow has occurred.
TFFF
Transmit FIFO Fill Flag. The TFFF bit provides a method for the DSPI to request more entries to be added to
the TX FIFO. The TFFF bit is set while the TX FIFO is not full. The TFFF bit can be cleared by host software
or an acknowledgement from the DMA controller when the TX FIFO is full.
0 TX FIFO is full.
1 TX FIFO is not full.
RFOF
Receive FIFO Overflow Flag. The RFOF bit indicates that an overflow condition in the RX FIFO has occurred.
The bit is set when the RX FIFO and shift register are full and a transfer is initiated. The bit remains set until
cleared by software.
0 RX FIFO overflow has not occurred.
1 RX FIFO overflow has occurred.
RFDF
Receive FIFO Drain Flag. The RFDF bit provides a method for the DSPI to request that entries be removed
from the RX FIFO. The bit is set while the RX FIFO is not empty. The RFDF bit can be cleared by host software
or an acknowledgement from the DMA controller when the RX FIFO is empty.
0 RX FIFO is empty.
1 RX FIFO is not empty.
TXCTR
TX FIFO Counter. The TXCTR field indicates the number of valid entries in the TX FIFO. The TXCTR is
incremented every time the DSPI _PUSHR is written. The TXCTR is decremented every time a SPI command
is executed and the SPI data is transferred to the shift register.
TXNXTPTR
Transmit Next Pointer. The TXNXTPTR field indicates which TX FIFO Entry is transmitted during the next
transfer. The TXNXTPTR field is updated every time SPI data is transferred from the TX FIFO to the shift
register. See
Section 30.4.3.4, Transmit First-In First-Out (TX FIFO) Buffering Mechanism,
for more details.
RXCTR
RX FIFO Counter. The RXCTR field indicates the number of entries in the RX FIFO. The RXCTR is
decremented every time the DSPI _POPR is read. The RXCTR is incremented every time data is transferred
from the shift register to the RX FIFO.
POPNXTPTR Pop Next Pointer. The POPNXTPTR field contains a pointer to the RX FIFO entry that is returned when the
DSPI_POPR is read. The POPNXTPTR is updated when the DSPI_POPR is read. See
Receive First-In First-Out (RX FIFO) Buffering Mechanism,
for more details.
Содержание PXN2020
Страница 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Страница 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Страница 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Страница 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Страница 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Страница 162: ...Clocks Reset and Power CRP PXN20 Microcontroller Reference Manual Rev 1 6 30 Freescale Semiconductor...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL PXN20 Microcontroller Reference Manual Rev 1 7 20 Freescale Semiconductor...
Страница 268: ...Boot Assist Module BAM PXN20 Microcontroller Reference Manual Rev 1 9 14 Freescale Semiconductor...
Страница 318: ...Interrupts and Interrupt Controller INTC PXN20 Microcontroller Reference Manual Rev 1 10 50 Freescale Semiconductor...
Страница 326: ...General Purpose Static RAM SRAM PXN20 Microcontroller Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Страница 460: ...Memory Protection Unit MPU PXN20 Microcontroller Reference Manual Rev 1 18 20 Freescale Semiconductor...
Страница 478: ...Error Correction Status Module ECSM PXN20 Microcontroller Reference Manual Rev 1 19 18 Freescale Semiconductor...
Страница 488: ...Software Watchdog Timer SWT PXN20 Microcontroller Reference Manual Rev 1 20 10 Freescale Semiconductor...
Страница 494: ...System Timer Module STM PXN20 Microcontroller Reference Manual Rev 1 21 6 Freescale Semiconductor...
Страница 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Страница 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Страница 926: ...Controller Area Network FlexCAN PXN20 Microcontroller Reference Manual Rev 1 29 42 Freescale Semiconductor...
Страница 990: ...Deserial Serial Peripheral Interface DSPI PXN20 Microcontroller Reference Manual Rev 1 30 64 Freescale Semiconductor...
Страница 1044: ...Enhanced Serial Communication Interface eSCI PXN20 Microcontroller Reference Manual Rev 1 31 54 Freescale Semiconductor...
Страница 1080: ...Cross Triggering Unit CTU PXN20 Microcontroller Reference Manual Rev 1 33 12 Freescale Semiconductor...
Страница 1134: ...Analog to Digital Converter ADC PXN20 Microcontroller Reference Manual Rev 1 34 54 Freescale Semiconductor...
Страница 1150: ...IEEE 1149 1 Test Access Port Controller JTAGC PXN20 Microcontroller Reference Manual Rev 1 35 16 Freescale Semiconductor...
Страница 1257: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 36 107...
Страница 1258: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 36 108 Freescale Semiconductor...
Страница 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...