TXZ Family
Serial Peripheral Interface
2019-02-28
55 / 67
Rev. 3.0
4.2.6. [TSPIxFMTR0] (TSPI Format Control Register 0)
Bit
Bit Symbol
After reset
Type
Function
31
DIR
1
R/W
Transfer direction
0
:
LSB first
1
:
MSB first
30
-
0
R
Read as "0".
29:24
FL[5:0]
001000
R/W
Sets a frame length.(Note1)
Sets a data length of one frame including a parity bit.
001000
:
8 bits
001001
:
9 bits
:
011111
:
31 bits
100000
:
32 bits
Other than the above is prohibited.
23:20
FINT[3:0]
0000
R/W
Interval time between frames in the burst transfer.
0000
:
0 (No interval)
0001
:
1 x TSPIxSCK cycle
0010
:
2 x TSPIxSCK cycles
:
0111
:
14 x TSPIxSCK cycles
1111
:
15 x TSPIxSCK cycles
This setup is invalid in continuously transfer and slave operation.
In SIO mode, a interval time between frames equivalent of
<FINT> occurs.
19
CS3POL
0
R/W
Polarity of TSPIxCS3(Master operation)
0
:
Negative logic
1
:
Positive logic
18
CS2POL
0
R/W
Polarity of TSPIxCS2(Master operation)
0
:
Negative logic
1
:
Positive logic
17
CS1POL
0
R/W
Polarity of TSPIxCS1(Master operation)
0
:
Negative logic
1
:
Positive logic
16
CS0POL
0
R/W
Polarity of TSPIxCS0(Master operation)
Polarity of TSPIxCSIN(Slave operation)
0
:
Negative logic
1
:
Positive logic
15
CKPHA
1
R/W
Polarity of serial clock
0
:
Data is sampled on the 1
st
edge.(Master operation)
1
:
Data is sampled on the 2
nd
edge.
14
CKPOL
1
R/W
Polarity of idle period of serial clock (Note2)
0
:
TSPIxSCK is "Low" level at idle.
1
:
TSPIxSCK is "High" level at idle.