14-7
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
Figure. 14.5.2.1 Example of Data Sending Operations in Master Mode (SPIA_
n
MOD.CHLN[3:0] bits = 0x7)
Figure 14.5.2.2 Data Transmission Flowchart in Master Mode
Data (W) → SPIA_
n
TXD
Data (W) → SPIA_
n
TXD
1 (W) → SPIA_
n
INTF.TENDIF
Data (W) → SPIA_
n
TXD
SPICLK
n
SDO
n
SPIA_
n
INTF.TBEIF
SPIA_
n
INTF.TENDIF
Software operations
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
Data transmission
Assert the slave select signal output from
a general-purpose port
Read the SPIA_
n
INTF.TBEIF bit
End
Negate the slave select signal output from
a general-purpose port
Write transmit data to
the SPIA_
n
TXD register
SPIA_
n
INTF.TBEIF = 1 ?
Transmit data remained?
Wait for an interrupt request
(SPIA_
n
INTF.TBEIF = 1)
No
Yes
No
Yes
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...