Deserial Serial Peripheral Interface (DSPI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
19-40
Freescale Semiconductor
19.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 19.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 controls the transfer attributes.
19.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.
If the CID bit in the DSPI
x
_DSICR is set and the data in the DSPI
x
_COMPR differs from the selected
source of the serialized data, the slave DSPI asserts the MTRIG signal. If the slave’s internal hardware
trigger signal is asserted and the TRRE is set, the slave DSPI asserts MTRIG. These features are included
to support chaining of several DSPI. Details about the MTRIG signal are found in
“Multiple Transfer Operation (MTO)
.”
19.4.4.3
DSI Serialization
In the DSI configuration, 4 to 16 bits can be serialized using two different sources. The TXSS bit in the
DSPI
x
_DSICR selects between the DSPI
x
_SDR and DSPI
x
_ASDR as the source of serialized data. Refer
Section 19.3.2.11, “DSPI DSI Serialization Data Register (DSPIx_SDR)
“DSPI DSI Alternate Serialization Data Register (DSPIx_ASDR)
x
_SDR
holds the latest parallel input signal values which is sampled at every rising edge of the system clock. The
DSPI
x
_ASDR is written by host software and used as an alternate source of serialized data.
A copy of the last DSI frame shifted out of the shift register is stored in the DSPI
x
_COMPR. This register
provides added visibility for debugging and it serves as a reference for transfer initiation control.
Section 19.3.2.13, “DSPI DSI Transmit Comparison Register (DSPIx_COMPR)
DSPI
x
_COMPR.
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...