EasyManuals Logo

Renesas RL78/G10 User Manual

Renesas RL78/G10
637 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 #376 background imageLoading...
Page #376 background image
RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 359
Dec 22, 2016
Figure 12-65. Flowchart of Slave Transmission/Reception (in Single- Transmission/Reception Mode)
Starting CSI communication
Write 1 to ST0n bit
Transmission/reception
next data?
Yes
No
End of communication
Reading receive data to
SIOp (=SDR0nL)
Transmission/reception
completed?
No
Yes
Writing transmit data to
SIOp (=SDR0nL)
Start communication when master start providing the
clock
When transfer end interrupt is generated, it moves to
interrupt processing routine
Wait for transmission/reception
completes
For the initial setting, refer to Figure 12-61.
(Select Transfer end interrupt)
SAU default setting
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)
RETI
Transfer end interrupt
Enables interrupt
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK) and set
interrupt enable (EI).
Disable interrupt (MASK)
Read receive data and write it to storage area. Update
receive data pointer.
Update the number of communication data and confirm
if next transmission/reception data is available
Read transmit data from storage area and write it to SIOp.
Update transmit data pointer.
Main routine Main routineInterrupt processing routine
Caution Be sure to set transmit data to the SlOp register before the clock from the master is started.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/G10 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G10
CategoryMotherboard
LanguageEnglish

Related product manuals