Deserial Serial Peripheral Interface (DSPI)
Freescale Semiconductor
25-43
PXR40 Microcontroller Reference Manual, Rev. 1
Figure 25-23. Example of Serial Chaining of DSPIs
The SOUT of the DSPI Master is connected to the SIN of the first DSPI slave. The SOUT of the first DSPI
slave is connected to the SIN input of the second slave and so on. The SOUT of the last DSPI slave is
connected to the SIN of the external SPI slave. The SOUT of the external SPI slave is connected to the
SIN of the DSPI master.
The DSPI master controls and initiates all transfers, but the slave DSPIs use the trigger output signal
MTRIG to indicate to the DSPI master that a trigger condition has occurred. When a DSPI slave has a
change in data to be serialized it asserts the MTRIG signal to the DSPI master which initiates the transfer.
When a DSPI slave has its HT signal asserted it will assert its MTRIG signal thereby propagating trigger
signals from other DSPI slaves to the DSPI master.
The MTOCNT field in the DSPI_DSICR must be written with the total number of bits to be transferred.
The MTOCNT field must equal the sum of all FMSZ fields in the selected DSPI_CTAR registers for the
DSPI master and all DSPI slaves. For example if one 16-bit DSI frame is created by concatenating eight
bits from the DSPI master, and four bits from each of the DSPI slaves in
, the DSPI master’s
frame size must be set to eight in the FMSZ field, and the DSPI slaves’ frame size must be set to four. The
largest DSI frame supported by the MTOCNT field is 64 bits. Any number of DSPIs can be connected
together to concatenate DSI frames, as long as each DSPI transfers a minimum of 4 bits and a maximum
of 16 bits and the total size of the concatenated frame is less than or equal to 64 bits long.
25.4.5
Combined Serial Interface (CSI) Configuration
The CSI Configuration of the DSPI is used to support SPI and DSI functions on a frame by frame basis.
CSI Configuration allows interleaving of DSI data frames from the Parallel Input signals with SPI
commands and data from the TX FIFO. The data returned from the bus slave is either used to drive the
Parallel Output signals or it is stored in the RX FIFO. The CSI Configuration allows serialized data and
configuration or diagnostic data to be transferred to a slave device using only one serial link. The DSPI is
in CSI Configuration when the DCONF field in the DSPI_MCR is 0b10.
SOUT
SOUT
SIN
SIN
PCS[x]
SS
SCK
SCK
DSPI Master
DSPI Slave
SS
SCK
SIN
SOUT
SPI Slave Device
SoC
MTRIG
HT
SOUT
SIN
SS
SCK
DSPI Slave
MTRIG
HT
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...