13 SYNCHRONOUS SERIAL INTERFACE (SPIA)
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
13-11
TECHNICAL MANUAL (Rev. 1.0)
Master mode
SPICLKn
SDOn
SPInINTF.BSY
SPInINTF.TENDIF
SPInMOD register
1
2
3
7
8
CPHA bit
1
0
CPOL bit
1
0
Writing data to the SPInTXD register
Slave mode
#SPISSn
SPInINTF.BSY
SPICLKn
SDOn
SPICLKn
SDOn
SPInINTF.TENDIF
SPInMOD register
1
2
3
7
8
CPHA bit
1
0
CPOL bit
1
0
Writing data to the SPInTXD register
Figure 13.6.1 SPInINTF.BSY and SPInINTF.TENDIF Bit Set Timings (when SPInMOD.CHLN[3:0] bits = 0x7)
13.7 Control Registers
SPIA Ch.
n
Mode Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
SPInMOD
15–12 –
0x0
–
R
–
11–8 CHLN[3:0]
0x7
H0
R/W
7–6 –
0x0
–
R
5
PUEN
0
H0
R/W
4
NOCLKDIV
0
H0
R/W
3
LSBFST
0
H0
R/W
2
CPHA
0
H0
R/W
1
CPOL
0
H0
R/W
0
MST
0
H0
R/W
Bits 15–12 Reserved
Bits 11–8 CHLN[3:0]
These bits set the bit length of transfer data.