Deserial Serial Peripheral Interface (DSPI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
19-49
19.4.4.7.3
Serial Chaining
Serial chaining allows transfers of DSI frames consisting of concatenated bits from multiple DSPIs. The
concatenated frames can be from 8- to 64-bits long.
shows an example of how the modules
can be connected.
Figure 19-26. Example of Serial Chaining of DSPIs
In the MCU (master), the SOUT of DSPI B is connected to the SIN of DSPI C (slave). The SOUT of the
DSPI C (slave) is connected to the SIN input of the DSPI D and so on (slave). The SOUT of the last on-chip
DSPI slave is connected to the SIN of the external SPI slave. The SOUT of the external SPI slave is
connected to the SIN of DSPI B master.
The DSPI B master controls and initiates all transfers, but the slave DSPIs use the trigger output signal
MTRIG to indicate to the DSPI B 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, its MTRIG signal asserts and propagates 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 48 bits. 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 48 bits long.
SOUT
HT
SCK
SIN
MTRIG
SS
MCU
DSPI B
SOUT
HT
SCK
SIN
PCS[0]
SINB
PCSB[0]
SCKB
(master)
DSPI C
(slave)
SOUT
SCK
SIN
MTRIG
SS
DSPI D
(slave)
SOUTD
SCK
SS
SIN
Slave device
SPI
SOUT
Содержание 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...