Deserial Serial Peripheral Interface (DSPI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
19-64
Freescale Semiconductor
19.4.9
Interrupts/DMA Requests
The DSPI has five conditions that can generate interrupt requests only, and two conditions that can
generate interrupt or DMA requests.
lists the six conditions.
Each condition has a flag bit and a request enable bit. The flag bits are described in the
“DSPI Status Register (DSPIx_SR)
” and the request enable bits are described in the
“DSPI DMA / Interrupt Request Select and Enable Register (DSPIx_RSER)
.” The TX FIFO fill flag
(TFFF) and RX FIFO drain flag (RFDF) generate interrupt requests or DMA requests depending on the
TFFF_DIRS and RFDF_DIRS bits in the DSPI
x
_RSER.
19.4.9.1
End of Queue Interrupt Request (EOQF)
The end of queue equest indicates that the end of a transmit queue is reached. The end of queue request is
generated when the EOQ bit in the executing SPI command is asserted and the EOQF_RE bit in the
DSPI
x
_RSER is set. Refer to the EOQ bit description in
Section 19.3.2.4, “DSPI Status Register
that illustrate when EOQF is set.
19.4.9.2
Transmit FIFO Fill Interrupt or DMA Request (TFFF)
The transmit FIFO fill request indicates that the TX FIFO is not full. The transmit FIFO fill request is
generated when the number of entries in the TX FIFO is less than the maximum number of possible entries,
and the TFFF_RE bit in the DSPI
x
_RSER is set. The TFFF_DIRS bit in the DSPI
x
_RSER selects whether
a DMA request or an interrupt request is generated.
19.4.9.3
Transfer Complete Interrupt Request (TCF)
The transfer complete request indicates the end of the transfer of a serial frame. The transfer complete
request is generated at the end of each frame transfer when the TCF_RE bit is set in the DSPI
x
_RSER.
Refer to the TCF bit description in
Section 19.3.2.4, “DSPI Status Register (DSPIx_SR)
.” Refer to
that illustrate when TCF is set.
Table 19-29. Interrupt and DMA Request Conditions
Condition
Flag
Interrupt
DMA
End of transfer queue has been reached (EOQ)
EOQF
X
TX FIFO is not full
TFFF
X
X
Current frame transfer is complete
TCF
X
TX FIFO underflow has occurred
TFUF
X
RX FIFO is not empty
RFDF
X
X
RX FIFO overflow occurred
RFOF
X
A FIFO overrun occurred
1
1
The FIFO overrun condition is created by ORing the TFUF and RFOF flags together.
TFUF ORed with RFOF
X
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...