Deserial Serial Peripheral Interface (DSPI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
19-33
The DSPI has three configurations:
•
Serial peripheral interface (SPI) configuration in which the DSPI operates as a basic SPI or a
queued SPI.
•
Deserial serial interface (DSI) configuration where the DSPI serializes eTPU and eMIOS output
channels and deserializes the received data by placing it on the eTPU and eMIOS input channels
and as inputs to the External Interrupt Request subblock of the SIU.
•
Combined serial interface (CSI) configuration where the DSPI operates in both SPI and DSI
configurations interleaving DSI frames with SPI frames, giving priority to SPI frames.
The DCONF field in the DSPI
x
_MCR register determines the DSPI configuration. Refer to
the DSPI configuration values.
The DSPI
x
_CTAR0–DSPI
x
_CTAR7 registers hold clock and transfer attributes. The manner in which a
CTAR is selected depends on the DSPI configuration (SPI, DSI, or CSI). The SPI configuration can select
which CTAR to use on a frame by frame basis by setting the CTAS field in the DSPI
x
_PUSHR. The DSI
configuration statically selects which CTAR to use. In CSI configuration, priority logic determines if SPI
data or DSI data is transferred. The type of data transferred (whether DSI or SPI) dictates which CTAR the
CSI configuration uses. Refer to
Section 19.3.2.3, “DSPI Clock and Transfer Attributes Registers 0–7
,” for information on DSPI
x
_CTAR fields.
The 16-bit shift register in the master and the 16-bit shift register in the slave are linked by the SOUT
x
and
SIN
x
signals to form a distributed 32-bit register. When a data transfer operation is performed, data is
serially shifted a pre-determined number of bit positions. Because the registers are linked, data is
exchanged between the master and the slave; the data that was in the master’s shift register is now in the
shift register of the slave, and vice versa. At the end of a transfer, the TCF bit in the DSPI
x
_SR is set to
indicate a completed transfer.
illustrates how master and slave data is exchanged.
Figure 19-17. SPI and DSI Serial Protocol Overview
The DSPI has six peripheral chip select (PCS
x
) signals that are be used to select which of the slaves to
communicate with.
Transfer protocols and timing properties are shared by the three DSPI configurations; these properties are
described independently of the configuration in
Section 19.4.7, “Transfer Formats
delay settings are described in section
Section 19.4.6, “DSPI Baud Rate and Clock Delay Generation
.”
Refer to
Section 19.4.10, “Power Saving Features
” for information on the power-saving features of the
DSPI.
DSPI Master
Shift register
Baud rate generator
DSPI Slave
Shift register
SOUT
x
SIN
x
SOUT
x
SIN
x
SCK
x
SCK
x
PCS
x
SS
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...