12 SYNCHRONOUS SERIAL INTERFACE (SPIA)
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
12-11
(Rev. 1.2)
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 12.6.1 SPInINTF.BSY and SPInINTF.TENDIF Bit Set Timings (when SPInMOD.CHLN[3:0] bits = 0x7)
12.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.