MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
20-38
Freescale Semiconductor
the ROOE bit is asserted, the incoming data is shifted in to the shift register. If the ROOE bit is negated,
the incoming data is ignored.
20.4.3.5.2
Draining the RX FIFO
Host software or the eDMA can remove (pop) entries from the RX FIFO by reading the DSPI
x
_POPR. For
more information on DSPI
x
Section 20.3.2.7, “DSPI POP RX FIFO Register
x
_POPR decrements the RX FIFO counter by one. Attempts to pop
data from an empty RX FIFO are ignored, the RX FIFO counter remains unchanged. The data returned
from reading an empty RX FIFO is undetermined.
When the RX FIFO is not empty, the RX FIFO drain flag (RFDF) in the DSPI
x
_SR is set. The RFDF bit
is cleared when the RX_FIFO is empty and the eDMA controller indicates that a read from DSPI
x
_POPR
is complete; alternatively the RFDF bit can be cleared by the host writing a 1 to it.
20.4.4
Deserial Serial Interface (DSI) Configuration
The DSI configuration supports pin count reduction by serializing parallel input signals or register bits and
shifting them out in an SPI-like protocol. The timing and transfer protocol is described in
.” The received serial frames are converted to a parallel form (deserialized) and placed
on the parallel output signals or in a register. The various features of the DSI configuration are set in the
DSPI
x
_DSICR. For more information on the DSPI
x
_DSICR, refer to
Configuration Register (DSPIx_DSICR)
.” The DSPI is in DSI configuration when the DCONF field in the
DSPI
x
_MCR is 0b01.
The DSI frames can be from 4 to 16 bits long. With multiple transfer operation (MTO), the DSPI supports
serial chaining of DSPI modules within the MPC5553/MPC5554 to create DSI frames consisting of
concatenated bits from multiple DSPIs. The DSPI also supports parallel chaining allowing several DSPIs
and off-chip SPI devices to share the same serial communications clock (SCK) and peripheral chip select
(PCS) signals. See
Section 20.4.4.7, “Multiple Transfer Operation (MTO)
,” for details on the serial and
parallel chaining support.
20.4.4.1
DSI Master Mode
In DSI master mode the DSPI initiates and controls the DSI transfers. The DSI master has four different
conditions that can initiate a transfer:
•
Continuous
•
Change in data
•
Trigger signal
•
Trigger signal combined with a change in data
The four transfer initiation conditions are described in
Section 20.4.4.5, “DSI Transfer Initiation Control
.”
Transfer attributes are set during initialization. The DSICTAS field in the DSPI
x
_DSICR determines
which of the DSPI
x
_CTARs will control the transfer attributes.
20.4.4.2
DSI Slave Mode
In DSI slave mode the DSPI responds to transfers initiated by an SPI or DSI bus master. In this mode the
DSPI does not initiate DSI transfers. Certain transfer attributes such as clock polarity and phase must be
set for successful communication with a DSI master. The DSI slave mode transfer attributes are set in the
DSPI
x
_CTAR1.
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...