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 #443 background imageLoading...
Page #443 background image
RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 443 of 765
Mar 7, 2023
Figure 12-58. Flowchart of Slave Reception (in Single-Reception Mode)
Starting simplified SPI
(CSI
)
communication
End of communication
Set STmn bit to 1
Clear storage area setting and the number of receive 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).
Preparation for reception
Enables interrupt
RETI
Reading receive data from SIOp
(= SDRmn [7:0
])
SAU initial setting
Start communication when master start
providing the clock
Main routine Main routine
Disable interrupt (MASK)
Check completion of number of receive data
Reception completed?
No
When transfer ends, an interrupt is generated.
Yes
Wait for receive completes
Read receive data then writes to storage area,
and counts up the number of receive data.
Update receive data pointer.
Transfer end interrupt
Interrupt processing routine
For the initial setting, refer to Figure 12-54.
(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