Chapter 20 Deserial Serial Peripheral Interface (DSPI)
MPC5602P Microcontroller Reference Manual, Rev. 4
472
Freescale Semiconductor
20.8.5.3
Modified SPI transfer format (MTFE = 1, CPHA = 0)
In this modified transfer format both the master and the slave sample later in the SCK period than in classic
SPI mode to allow for delays in device pads and board traces. These delays become a more significant
fraction of the SCK period as the SCK period decreases with increasing baud rates.
NOTE
For the modified transfer format to operate correctly, you must thoroughly
analyze the SPI link timing budget.
The master and the slave place data on the SOUT_
x
pins at the assertion of the CS
x
signal. After the CS
x
to SCK_
x
delay has elapsed the first SCK_
x
edge is generated. The slave samples the master SOUT_
x
signal on every odd numbered SCK_
x
edge. The slave also places new data on the slave SOUT_
x
on every
odd numbered clock edge.
The master places its second data bit on the SOUT_
x
line one system clock after odd numbered SCK_
x
edge. The point where the master samples the slave SOUT_
x
is selected by writing to the SMPL_PT field
in the DSPI
x
lists the number of system clock cycles between the active edge of
SCK_
x
and the master sample point for different values of the SMPL_PT bit field. The master sample point
can be delayed by one or two system clock cycles.
shows the modified transfer format for CPHA = 0. Only the condition where CPOL = 0 is
illustrated. The delayed master sample points are indicated with a lighter shaded arrow.
Table 20-25. Delayed master sample point
SMPL_PT
Number of system clock cycles between odd-numbered edge of SCK
and sampling of SIN
00
0
01
1
10
2
11
Invalid value