RL78/G13 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0146EJ0100 Rev.1.00 648
Sep 22, 2011
Figure 12-82. Flowchart of UART Transmission (in Single-Transmission Mode)
Starting UART communication
Writing 1 to the SSmn bit
Writing transmit data to
TXDq (=SDRmn[7:0])
Writing 1 to the STmn bit
Specify the initial settings while the
SEmn bit of serial channel enable
status register m (SEm) is 0 (operation
is stopped).
SMRmn, SCRmn: Setting communication
SDRmn[15:9]: Setting transfer rate
SOLmn: Setting output data level
SOm, SOEm: Setting output
Transfer end interrupt
generated?
Transmission completed?
No
No
Yes
Yes
Setting the SAUmEN bit of the
PER0 register to 1
Setting operation clock by
the SPSm register
Port manipulation
End of communication
Clearing the SAUmEN bit of the
PER0 register to 0