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 #405 background imageLoading...
Page #405 background image
RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 405 of 765
Mar 7, 2023
Figure 12-26. Flowchart of Master Transmission (in Single-Transmission Mode)
Starting simplified SPI (CSI)
communication
End of communication
Set STmn bit to 1
Set data for transmission and the number of data. Clear communication end flag.
(Storage area, Transmission data pointer, Number of communication data and
Communication end flag are optionally set on the internal RAM by the software)
Clear interrupt request flag (xxIF), reset interrupt mask (xxMK) and
set interrupt enable (EI).
Read transmit data from storage area and write it to
SIOp. Update transmit data pointer.
Setting transmit data
Enables interrupt
Wait for transmit completes
Writing transmit data to SIOp
(= SDRmn [7:0])
Transmission completed?
Yes
RETI
Transmitting next data?
Yes
Transfer end interrupt
Writing transmit data to SIOp
(= SDRmn [7:0])
SAU initial setting
Writing to SIOp makes SOp and
SCKp signals out
(communication starts)
When transfer end interrupt is generated,
it moves to interrupt processing routine
No
Read transmit data. If any, write it to SIOp from
storage area. Update transmit data pointer. If not,
set transmit end flag.
Check completion of transmission by
verifying transmit end flag
Sets communication completion flag
Main routine Interrupt processing routine Main routine
No
Disable interrupt (MASK)
For the initial setting, refer to
Figure 12-22.
(Select the 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