RL78/F13, F14 CHAPTER 15 SERIAL ARRAY UNIT
R01UH0368EJ0210 Rev.2.10 969
Dec 10, 2015
Figure 15-128. Flowchart of UART Transmission (in Continuous Transmission Mode)
Starting UART communication
Writing 1 to the SSmn bit
Writing transmit data to the
SDRmn register
Writing 1 to the STmn bit
SMRmn, SCRmn: Setting communication
SDRmn[15:9]: Setting transfer rate
SOLmn: Setting output data level
SOm, SOEm: Setting output
o
o
o
es
Setting the SAUmEN bit of the
PER0 register to 1
Setting operation clock by
the SPSm register
Port manipulation
End of communication
Clearing the MDmn0 bit to 0
es
TSFmn = 1?
T
ansfer end interrupt
enerated?
o
es
o
Communication continued?
es
es
Clearing the SAUmEN bit of the
PER0 register to 0
Transmitting next data?
<2>
<3>
Buffer empty interrupt
generated?
Writing 1 to the MDmn0 bit
<4>
<5>
pec
y
e
n
a
se
ngs w
e
e
SEmn bit of serial channel enable status
register m (SEm) is 0 (operation is
stopped).
<1>
Select the buffer empty interrupt.
<6>
Remarks 1. <1> to <6> in the figure correspond to <1> to <6> in Figure 15-127 Timing Chart of UART
Transmission (in Continuous Transmission Mode).
2. m: Unit number (m = 0, 1), n: Channel number (n = 1), mn = 00, 10