MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
20-50
Freescale Semiconductor
(MPC5553) master that a trigger condition has occurred. When an on-chip DSPI slave has a change in data
to be serialized it can assert 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
x
_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
x
_CTARs for the DSPI
master and all DSPI slaves. For example if one 16-bit DSI frame is created by concatenating 8 bits from
the DSPI master, and 4 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 (MPC5554) or 48 bits (MPC5553). 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 (MPC5554) or 48 bits (MPC5553).
20.4.5
Combined Serial Interface (CSI) Configuration
In master mode, 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 (from
the eTPU or eMIOS) 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 (to the eTPU or eMIOS) or is stored in the RX FIFO. 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
x
_MCR
is 0b10.
shows an example of how a DSPI can be used with a deserializing peripheral that
supports SPI control for control and diagnostic frames.
Figure 20-31. Example of System using DSPI in CSI Configuration
In CSI configuration the DSPI transfers DSI data based on
Section 20.4.4.5, “DSI Transfer Initiation
.” When there are SPI commands in the TX FIFO, the SPI data has priority over the DSI frames.
When the TX FIFO is empty, DSI transfer resumes.
Two peripheral chip select signals indicate whether DSI data or SPI data is transmitted. The user must
configure the DSPI so that the two CTARs associated with DSI data and SPI data assert different peripheral
chip select signals denoted in the figure as PCSx and PCSy. The CSI configuration is only supported in
master mode.
Data returned from the external slave while a DSI frame is transferred is placed on the parallel output
signals. Data returned from the external slave while an SPI frame is transferred is moved to the RX FIFO.
The TX FIFO and RX FIFO are fully functional in CSI mode.
SPI
DSPI Master
DSI
Shift Register
TX FIFO
TX
Priority
Control
SIN
SOUT
SCK
PCSx
PCSy
SPI
External Slave Deserializer
Shift Register
Frame
Frame
Select
Logic
SOUT
SIN
SCK
SSx
SSy
DSI
Frame
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...