MCF548x Reference Manual, Rev. 3
27-18 Freescale Semiconductor

27.7 Functional Description

The DMA serial peripheral interface (DSPI) block provides a synchronous serial bus for communication
between an MCU and an external peripheral device. The DSPI supports up to eight queued SPI transfers
at once (four transmit and four receive) in the DSPI resident FIFOs, thereby eliminating CPU intervention
between transfers.
The DCTARn registers hold clock and transfer attributes. The SPI configuration can select which CTAR
to use on a frame-by-frame basis by setting a field in the SPI command. See Section 27.6.3, “DSPI Clock
and Transfer Attributes Registers 0–7 (DCTARn)” for information on the fields of the DCTAR registers.
The 16-bit shift register in the master and the 16-bit shift register in the slave are linked by the DSPISOUT
and DSPISIN signals to form a distributed 32-bit register. When a data transfer operation is performed,
data is serially shifted a predetermined number of bit positions. Because the registers are linked, data is
exchanged between the master and the slave; the data that was in the masters shift register is now in the
shift register of the slave, and vice versa. At the end of a transfer, the DSR[TCF] bit is set to indicate a
completed transfer. Figure 27-11 illustrates how master and slave data is exchanged.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R0000000000000000
W
Reset0000000000000000
1514131211109876543210
RRXDATA
W
Reset0000000000000000
Reg
Addr
MBAR + 0x8A7C–8A88
Figure 27-10. DSPI Rx FIFO Debug Register (DRFDR_x)
Table 27-13. DRFDR_x Field Descriptions
Bits Name Description
31–16 Reserved, should be cleared.
15–0 RXDATA Received data. The RXDATA field contains the SPI data from the Rx FIFO entry pointed to
by the receive next data pointer.