Download Print this page

Epson S1C31D50 Technical Instructions page 182

Cmos 32-bit single chip microcontroller
Hide thumbs Also See for S1C31D50:

Advertisement

1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8
SPICLKn
SDOn
SPIA_nINTF.TBEIF
SPIA_nINTF.TENDIF
Data (W) → SPIA_nTXD
Data (W) → SPIA_nTXD
Software operations
Data (W) → SPIA_nTXD
1 (W) → SPIA_nINTF.TENDIF
Figure. 14.5.2.1 Example of Data Sending Operations in Master Mode (SPIA_nMOD.CHLN[3:0] bits = 0x7)
Data transmission
Assert the slave select signal output from
a general-purpose port
Read the SPIA_nINTF.TBEIF bit
No
SPIA_nINTF.TBEIF = 1 ?
Yes
Write transmit data to
the SPIA_nTXD register
Yes
Transmit data remained?
Wait for an interrupt request
No
(SPIA_nINTF.TBEIF = 1)
Negate the slave select signal output from
a general-purpose port
End
Figure 14.5.2.2 Data Transmission Flowchart in Master Mode
S1C31D50 TECHNICAL MANUAL
Seiko Epson Corporation
14-7
(Rev. 1.00)

Advertisement

loading