RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 403
Dec 22, 2016
Figure 12-95. Flowchart of Data Reception
Caution ACK is not output when the last data is received (NACK). Communication is then completed by
setting the ST0n bit of serial channel stop register 0 (ST0) to 1 to stop operation and generating
a stop condition.
No
Yes
Stop condition
eneration
Yes
No
Address field transmission completed
Yes
No
Data reception completed
Writing dummy data (FFH) to
SIOr (SDR0nL)
Reading SIOr (SDR0nL)
Writing 1 to the ST0n bit
Writing 0 to the TXE0n bit, and 1 to the RXE0n bit
Writing 1 to the SS0n bit
Last byte received?
Writing 0 to the SOE0n bit
Data transfer completed?
Transfer end interrupt
generated?
Data reception completed
Stop operation for rewriting
SCR0nH register.
Set to receive only the operating
mode of the channel.
Operation restart
Disable output so that not the ACK
response to the last received data.
Starting reception operation
Wait for the completion of reception.
(Clear the interrupt request flag)
Reading receive data, perform
processing (stored in the RAM etc.).