EasyManuals Logo
Home>Renesas>Microcontrollers>RL78/G15

Renesas RL78/G15 User Manual

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
Page #476 background imageLoading...
Page #476 background image
RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 476 of 765
Mar 7, 2023
Figure 12-81. Flowchart of UART Reception
Starting UART communication
End of UART
Writing 1 to the STmn bit
Setting storage area of the receive data, number of communication data
(storage area, reception data pointer, number of communication data
are optionally set on the internal RAM by the software)
Clear interrupt request flag (xxIF), reset interrupt mask (xxMK) and
set interrupt enable (EI)
Setting receive data
Enables interrupt
RETI
SAU initial setting
Starting reception if start bit is detected
Main routine Main routine
Interrupt (mask)
Check the number of communication data, and determine
the completion of reception
Reception completed?
No
When receive complete, transfer end
interrupt is generated
Yes
Wait for receive completes
Read receive data then writes to storage area.
Update receive data pointer and number of
communication data.
Interrupt processing routine
Indicating normal reception?
Yes
Error processing
Reading receive data from
the SDRmn[7:0] bits (RXDq register) (8 bits) or
the SDRmn[8:0] bits (9 bits)
Transfer end interrupt
No
For the initial setting, refer to Figure 12-77.
(setting to mask for error interrupt)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G15 and is the answer not in the manual?

Renesas RL78/G15 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G15
CategoryMicrocontrollers
LanguageEnglish

Related product manuals