Information

43.4.6 Slave Mode Operation Constraints
Slave mode logic shift register is buffered. This allows data streaming operation, when
the DSPI is permanently selected and data is shifted in with a constant rate.
The transmit data is transferred at second SCK clock edge of the each frame to the shift
register if the SS signal is asserted and any time when transmit data is ready and SS
signal is negated.
Received data is transferred to the receive buffer at last SCK edge of each frame, defined
by frame size programmed to the CTAR0/1 register. Then the data from the buffer is
transferred to the RXFIFO or DDR register.
If the SS negates before that last SCK edge, the data from shift register is lost.
This buffering scheme allows to operate slave clock with higher frequency than the
system frequency. The clocks relationship is defined by the following equation.
FrameSize is the value of the CTAR0/1[FMSZ] field plus one.
3
43.4.7 Interrupts/DMA Requests
The DSPI has several conditions that can only generate interrupt requests and two
conditions that can generate interrupt or DMA requests. The following table lists these
conditions.
Table 43-112. Interrupt and DMA Request Conditions
Condition Flag Interrupt DMA
End of Queue (EOQ) EOQF Yes
TX FIFO Fill TFFF Yes Yes
Transfer Complete TCF Yes
TX FIFO Underflow TFUF Yes
RX FIFO Drain RFDF Yes Yes
RX FIFO Overflow RFOF Yes
Each condition has a flag bit in the DSPI Status Register (SR) and an Request Enable bit
in the DSPI DMA/Interrupt Request Select and Enable Register (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 RSER.
The DSPI module also provides a global interrupt request line, which is asserted when
any of individual interrupt requests lines is asserted.
Chapter 43 SPI (DSPI)
K10 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc. 1205