![NXP Semiconductors MPC5605BK Reference Manual Download Page 614](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852614.webp)
Chapter 26 Deserial Serial Peripheral Interface (DSPI)
MPC5606BK Microcontroller Reference Manual, Rev. 2
612
Freescale Semiconductor
26.5.6
DSPI DMA / Interrupt Request Select and Enable Register
(DSPI
x
_RSER)
The DSPI
x
_RSER serves two purposes:
•
It enables flag bits in the DSPI
x
_SR to generate DMA requests or interrupt requests.
•
It selects the type of request to generate.
See the bit descriptions for the type of requests that are supported.
Do not write to the DSPI
x
_RSER while the DSPI is running.
RFDF
Receive FIFO drain flag
Indicates that the RX FIFO can be drained. 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 writing 1 to it, or by acknowledgement from the Edam controller when the RX FIFO is
empty.
0 RX FIFO is empty
1 RX FIFO is not empty
Note:
In the interrupt service routine, RFDF must be cleared only after the DSPIx_POPR register is
read.
TXCTR
TX FIFO counter
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 an SPI command is executed and the
SPI data is transferred to the shift register.
TXNXTPTR
Transmit next pointer
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 26.6.3.4, Transmit First In First Out (TX FIFO) buffering mechanism
for more details.
RXCTR
RX FIFO counter
Indicates the number of entries in the RX FIFO. The RXCTR is decremented every time the DSPI
_POPR is read. The RXCTR is incremented after the last incoming data bit is sampled, but before
the t
ASC
delay starts. See
Section 26.6.5.1, Classic SPI transfer format (CPHA = 0)
for details.
POPNXTPT
R
Pop next pointer
Contains a pointer to the RX FIFO entry that is returned when the DSPI
x
_POPR is read. The
POPNXTPTR is updated when the DSPI
x
_POPR is read. See
Section 26.6.3.5, Receive First In First
Out (RX FIFO) buffering mechanism
for more details.
Table 26-18. DSPI
x
_SR field descriptions (continued)
Field
Description
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...