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 #417 background imageLoading...
Page #417 background image
RL78/G1H CHAPTER 14 SERIAL ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 399 of 920
Dec 22, 2016
Figure 14 - 67 Flowchart of Slave Transmission/Reception (in Single- Transmission/Reception Mode)
Note For the initial setting, refer to Figure 14 - 63.(Select transfer end interrupt)
Caution Be sure to set transmit data to the SlOp register before the clock from the master is started.
SAU default setting
Starting CSI communication
Wait for transmission/
reception completes
End of communication
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt enable (EI).
Reading receive data to
SIOp (= SDRmn [7:0])
Yes
No
Setting
transmission/reception data
Setting storage area and number of data for transmission/reception data
(Storage area, Transmission/reception 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
Transfer end interrupt
When transfer end interrupt is generated , it
moves to interrupt processing routine
Read receive data and write it to storage area . Update
receive data pointer.
RETI
Transmission/reception
completed?
Disable interrupt (MASK)
Write STmn bit to 1
Update the number of communication data and confirm
if next transmission/reception data is available
Main routineInterrupt processing routineMain routine
Read transmit data from storage area and write it to SIOp .
Update transmit data pointer.
Transmission/reception
next data?
No
Yes
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