EasyManuals Logo

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 #414 background imageLoading...
Page #414 background image
RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 414 of 765
Mar 7, 2023
Figure 12-34. Flowchart of Master Reception (in Single-Reception Mode)
Starting simplified SPI (CSI)
communication
End of communication
Set STmn bit to 1
Setting storage area of the receive data, number of communication data
(Storage area, Reception data pointer, and 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
Wait for receive completes
Reading receive data from SIOp
(= SDRmn [7:0])
All reception completed?
Yes
RETI
Transfer end interrupt
Writing dummy data to SIOp
(= SDRmn [7:0])
SAU initial setting
Writing to SIOp makes SCKp signals
out (communication starts)
When transfer end interrupt is generated,
it moves to interrupt processing routine
No
Main routine Interrupt processing routine
Main routine
Disable interrupt (MASK)
Read receive data then writes to storage area.
Update receive data pointer and number of
communication data.
Check the number of communication data
For the initial setting, refer to Figure 12-30.
(Select transfer end 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