Renesas RL78 Series User Manual page 459

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
Figure 13-53. Flowchart of Slave Transmission (in Single-Transmission Mode)
Yes
Yes
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Starting CSI communication
SAU default setting
Setting transmit data
Enables interrupt
Writing transmit data to
SIOp (=SDRmn[7:0])
Wait for transmit completes
Transfer end interrupt
RETI
Transmitting next data?
No
Continuing transmit?
No
Disable interrupt (MASK)
Write 1 to STmn bit
End of communication
CHAPTER 13 SERIAL ARRAY UNIT
For the initial setting, refer to Figure 13-48.
(Select transfer end interrupt)
Set storage area and the number of data for transmit data
(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.
Start communication when master
start providing the clock
When transmit end, interrupt is generated
Clear the interrupt request flag (xxIF).
Determine if it completes by counting number of communication data
438

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents