EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 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 #403 background imageLoading...
Page #403 background image
RL78/G1H CHAPTER 14 SERIAL ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 385 of 920
Dec 22, 2016
Figure 14 - 53 Flowchart of Slave Transmission (in Single-Transmission Mode)
Note For the initial setting, refer to Figure 14 - 49.(Select transfer end interrupt)
SAU default setting
Starting CSI communication
Wait for transmit completes
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt enable (EI).
Setting transmit data
Set storage area and the number of data for transmit data
(Storage area, Transmission data pointer, Number of
communication data and Communication end flag are optionally
set on the internal RAM by the software)
Enables interrupt
Writing transmit data to
SIOp (= SDRmn [7:0])
Start communication when master
start providing the clock
When transmit end, interrupt is generated
Determine if it completes by counting number of communication
data
Read transmit data from storage area and write it to SIOp .
Update transmit data pointer.
Transmitting next data?
No
Disable interrupt (MASK)
Continuing transmit?
Yes
Yes
No
Transfer end interrupt
RETI Clear the interrupt request flag (xxIF).
End of communication
Write STmn bit to 1
Main routine
Interrupt
processing
routine
Main routine
Note

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals