Hello,
we have a question concerning the Clock-Polarity & Clock-Phase of the SPI-IF.
In the data manual on page 116 (figure 6-25) and page 118 (figure 6-26) the four possibilities of the SPI-mode are shown (depending on CPOL and CPHA).
Comparing the timing in the above mentioned figures with the general definition of CPOL and CPHA there is a difference between the figures and the general definition of CPOL and CPHA.
According the general definition the following timing shall be considered:
CPOL CPHA edge polarity
0 0 rising 0
0 1 falling 0
1 0 falling 1
1 1 rising 1
According figure 6-25 and figure 6-26 the following timing is shown:
CPOL CPHA edge polarity
0 0 falling 0
0 1 rising 0
1 0 rising 1
1 1 falling 1
The difference is, that the clock polarity seems to be inverted between the general definition and the data manual.
Is this an error in the data manual or is it implemented as it is shown in the timing?
If it is implemented as it is shown in the data manual, could it be, that there is an error in the description of the "Clock Phase"?
Regards,
S. Barra