TXZ Family
Serial Peripheral Interface
2019-02-28
37 / 67
Rev. 3.0
3.3.6. Data sampling timing
The data sampling timing can be set by
[TSPIxFMTR0]
<CKPHA> (Edge selection register for the serial clock).
When
[TSPIxFMTR0]
<CKPHA> = 1is set, data is sampled by the second edge. And when,
[TSPIxFMTR0]
<CKPHA>=0, by the first edge.
Table 3.3 is shown Usability of communication mode and data sampling timing. And Table 3.4 is shown Data
capture timing.
Table 3.3 Usability of communication mode and data sampling timing
Data
Sampling
Timing
SPI mode
SIO mode
Master Operation
Slave Operation
Master Operation
Slave Operation
2
nd
edge
1
st
edge
-
-
-
: Can be used,
-:
Cannot be used
Table 3.4 Data capture timing
Polarity of idle period of TSPIxSCK
[TSPIxFMTR0]<CKPOL>
Data capture timing
[TSPIxFMTR0]<CKPHA>
0
(1
st
edge
sampling)
1
(2
nd
edge
sampling)
0 (Polarity of idle period
is "Low")
Rising edge
Falling edge
1 (Polarity of idle period
is "High")
Falling edge
Rising edge