Data is output one-half cycle before the first rising edge of SPICLK and on subsequent falling edges of SPICLK
Input data is latched on the rising edge of SPICLK
Write SPIDAT
SPISIMO
SPISOMI
receive sample
MSB
D6
D5
D4 D3 D2
D1
LSB
D6
D5
D4 D3
D2
D1
D7
1
2
3
4
5
6
7
8
D0
SPICLK
Data is output on the rising edge of SPICLK.
Input data is latched on the falling edge of SPICLK.
Write SPIDAT
SPICLK
SPISIMO
receive sample
MSB
D6
D5
D4
D3
D2
D1
D0
LSB
D6
D5 D4
D3
D2
D1
D7
1
2
3
4
5
6
7
8
SPISOMI
Basic Operation
1512
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Multi-Buffered Serial Peripheral Interface Module (MibSPI) with Parallel Pin
Option (MibSPIP)
28.2.6.2 Clocking Modes
SPICLK
may operate in four different modes, depending on the choice of phase (delay/no delay) and the
polarity (rising edge/falling edge) of the clock.
The data input and output edges depend on the values of both POLARITY and PHASE as shown in
.
Table 28-3. Clocking Modes
POLARITY
PHASE
Action
0
0
Data is output on the rising edge of SPICLK. Input data is latched on the falling edge.
0
1
Data is output one half-cycle before the first rising edge of SPICLK and on subsequent
falling edges. Input data is latched on the rising edge of SPICLK.
1
0
Data is output on the falling edge of SPICLK. Input data is latched on the rising edge.
1
1
Data is output one half-cycle before the first falling edge of SPICLK and on subsequent
rising edges. Input data is latched on the falling edge of SPICLK.
to
illustrate the four possible configurations of
SPICLK
corresponding to each
mode. Having four signal options allows the SPI to interface with many different types of serial devices.
Figure 28-12. Clock Mode with Polarity = 0 and Phase = 0
Figure 28-13. Clock Mode with Polarity = 0 and Phase = 1