Renesas RL78/G1P Hardware User Manual page 428

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Figure 11-82. Flowchart of Slave Transmission (in Single-Transmission Mode)
Yes
Yes
Remark
m: Unit number (m = 0), n: Channel number (n = 0), p: CSI number (p = 00)
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
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 STmn bit to1
End of communication
CHAPTER 11 SERIAL ARRAY UNIT
For the initial setting, refer to Figure 11-78.
(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
409

Advertisement

Table of Contents
loading

Table of Contents