
Deserial Serial Peripheral Interface (DSPI)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
20-35
20.4.1.1
Master Mode
In master mode the DSPI can initiate communications with peripheral devices. The DSPI operates as bus
master when the MSTR bit in the DSPI
x
_MCR is set. The serial communications clock (SCK) is
controlled by the master DSPI. All three DSPI configurations are valid in master mode.
In SPI configuration, master mode transfer attributes are controlled by the SPI command in the current TX
FIFO entry. The CTAS field in the SPI command selects which of the eight DSPI
x
_CTARs are used to set
the transfer attributes. Transfer attribute control is on a frame by frame basis.
Section 20.4.3, “Serial Peripheral Interface (SPI) Configuration
” for more details.
In DSI configuration, master mode transfer attributes are controlled by the DSPI
x
_DSCIR. A detailed
description of the DSPI
x
Section 20.3.2.10, “DSPI DSI Configuration Register
.” The DSISCTAS field in the DSPI
x
_DSICR selects which of the DSPI
x
_CTARs are
used to set the transfer attributes. Transfer attributes are set up during initialization and must not be
changed between frames.
Section 20.4.4, “Deserial Serial Interface (DSI) Configuration
The CSI configuration is only available in master mode. In CSI configuration, the DSI data is transferred
using DSI configuration transfer attributes and SPI data is transferred using the SPI configuration transfer
attributes. In order for the bus slave to distinguish between DSI and SPI frames, the transfer attributes for
the two types of frames must utilize different peripheral chip select signals.
Section 20.4.5, “Combined Serial Interface (CSI) Configuration
20.4.1.2
Slave Mode
In slave mode the DSPI responds to transfers initiated by an SPI master. The DSPI operates as bus slave
when the MSTR bit in the DSPI
x
_MCR is negated. The DSPI slave is selected by a bus master by having
the slave’s SS asserted. In slave mode the SCK is provided by the bus master. All transfer attributes are
controlled by the bus master, except the clock polarity, clock phase and the number of bits to transfer which
must be configured in the DSPI slave to communicate correctly.
The SPI and DSI configurations are valid in slave mode. CSI configuration is not available in slave mode.
In SPI slave mode the slave transfer attributes are set in the DSPI
x
_CTAR0. In DSI slave mode the slave
transfer attributes are set in the DSPI
x
_CTAR1. In slave mode, for both SPI and DSI configurations, data
is transferred MSB first. The LSBFE field of the associated CTAR is ignored.
20.4.1.3
Module Disable Mode
The module disable mode is used for MCU power management. The clock to the non-memory mapped
logic in the DSPI is stopped while in module disable mode. The DSPI enters the module disable mode
when the MDIS bit in DSPI
x
_MCR is set.
Section 20.4.10, “Power Saving Features
,” for more details on the module disable mode.
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...