15-16
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
Figure 15.5.5.1 Example of Data Receiving Operations in Register Access Master Mode
Figure 15.5.5.2 Data Reception Flowcharts in Register Access Master Mode
Data (W)
→
QSPI_
n
TXD
Data (W)
→
QSPI_
n
TXD
Data (W)
→
QSPI_
n
TXD
QSPI_
n
RXD
→
Data (R)
1 (W)
→
QSPI_
n
INTF.TENDIF
QSPI_
n
RXD
→
Data (R)
QSPI_
n
RXD
→
Data (R)
2
3
4
1
2
3
4
1
2
3
4
1
QSDIO
n
[3:0]
QSPI_
n
INTF.TBEIF
QSPI_
n
INTF.RBFIF
Software operations
QSPICLK
n
QSPI_
n
INTF.TENDIF
Data reception
Read the QSPI_
n
INTF.TBEIF bit
Write dummy data (or transmit data) to
the QSPI_
n
TXD register
Read receive data from
the QSPI_
n
RXD register
QSPI_
n
INTF.TBEIF = 1 ?
Receive data remained?
Wait for an interrupt request
(QSPI_
n
INTF.RBFIF = 1)
Assert the slave select signal output from
the #QSPISS
n
pin (QSPI_
n
CTL.MSTSSO
= 0) or a general-purpose port
End
Negate the slave select signal output from
the #QSPISS
n
pin (QSPI_
n
CTL.MSTSSO
= 1) or a general-purpose port
Set the transfer direction to input
(QSPI_
n
CTL.DIR = 1)
Data reception
Read the QSPI_
n
INTF.TBEIF bit
Write dummy data (or transmit data) to
the QSPI_
n
TXD register
QSPI_
n
INTF.TBEIF = 1 ?
Read receive data from
the QSPI_
n
RXD register
Receive data remained?
Wait for an interrupt request
(QSPI_
n
INTF.TBEIF = 1)
Write dummy data (or transmit data) to
the QSPI_
n
TXD register
Wait for an interrupt request
(QSPI_
n
INTF.RBFIF = 1)
Assert the slave select signal output from
the #QSPISS
n
pin (QSPI_
n
CTL.MSTSSO
= 0) or a general-purpose port
End
Negate the slave select signal output from
the #QSPISS
n
pin (QSPI_
n
CTL.MSTSSO
= 1) or a general-purpose port
Set the transfer direction to input
(QSPI_
n
CTL.DIR = 1)
No
Yes
Yes
No
No
Yes
Yes
No
Execute this sequence
within the QSPICLK
n
cycles equivalent to
“
Data bit length - 1
”
from
an interrupt request
Not necessary
in single
transfer mode
Not necessary
in single
transfer modee
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 ...