44.5.4.2 Classic SPI Transfer Format (CPHA = 1)
This transfer format shown in the following figure is used to communicate with
peripheral SPI slave devices that require the first SCK edge before the first data bit
becomes available on the slave SOUT pin. In this format, the master and slave devices
change the data on their SOUT pins on the odd-numbered SCK edges and sample the
data on their SIN pins on the even-numbered SCK edges.
t
ASC
= After SCK delay
t
CSC
=
PCS to SCK delay
MSB first (LSBFE = 0): MSB
t
DT
=
Delay after Transfer (minimum CS negation time)
t
CSC
Bit 1
MSB
t
DT
tASC
PCSx/SS
Slave SOUT
Master SIN/
Master SOUT/
Slave SIN
Master and Slave
Sample
SCK (CPOL = 0)
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16
SCK (CPOL = 1)
Bit 6
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
LSB
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
LSB first (LSBFE = 1): LSB
Figure 44-30. Module transfer timing diagram (MTFE=0, CPHA=1, FMSZ=8)
The master initiates the transfer by asserting the PCS signal to the slave. After the t
CSC
delay has elapsed, the master generates the first SCK edge and at the same time places
valid data on the master SOUT pin. The slave responds to the first SCK edge by placing
its first data bit on its slave SOUT pin.
At the second edge of the SCK the master and slave sample their SIN pins. For the rest of
the frame the master and the slave change the data on their SOUT pins on the odd-
numbered clock edges and sample their SIN pins on the even-numbered clock edges.
After the last clock edge occurs, a delay of t
ASC
is inserted before the master negates the
PCS signal. A delay of t
DT
is inserted before a new frame transfer can be initiated by the
master.
Functional description
KV4x Reference Manual, Rev. 2, 02/2015
1212
Preliminary
Freescale Semiconductor, Inc.
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...