EasyManua.ls Logo

Renesas RL78/G15

Renesas RL78/G15
765 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 499 of 765
Mar 7, 2023
Figure 12-94. Flowchart of Data Reception
Writing dummy data (FFH) to
SIOr (SDRmn[7:0])
Data transfer completed?
Yes
Stop condition generation
Transfer end interrupt
generated?
No
No
Yes
Data reception completed
Data reception
No
Wait for the completion of reception.
(Clear the interrupt request flag)
Address field transmission
completed
Reading SIOr (SDRmn[7:0])
Writing 0 to the SOEmn bit
Last byte received?
Yes
Writing 1 to the SSmn bit
Writing 0 to the TXEmn bit, and
1 to the RXEmn bit
Writing 1 to the STmn bit
Reading receive data, perform processing
(stored in the RAM etc.).
Starting reception operation
Disable output so that not the ACK
response to the last received data.
Operation restart
Set the operation of the channel to receive-
only mode.
Stop operation for rewriting SCRmn register.
Caution ACK is not output when the last data is received (NACK). Communication is then completed by
setting 1 in the STmn bit of serial channel stop register m (STm) to stop operation and generating a
stop condition.

Table of Contents

Related product manuals