RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 320
Dec 22, 2016
Figure 12-33. Procedure for Resuming Master Reception
Remark If PER0 is rewritten while stopping the master transmission and the clock supply is stopped, wait
until the transmission target (slave) stops or transmission finishes, and then perform initialization
instead of restarting the transmission.
Starting setting for resumption
Port manipulation
Changing setting of the SPS0 register
Changing setting of the SDR0nH register
Changing setting of the SMR0nH/L register
Changing setting of the CKO0
register
Port manipulation
Writing to the SS0 register
Completing resumption
settin
Disable clock output of the target
channel by setting a port register and a
port mode register.
Re-set the register to change the operation
clock setting.
Re-set the register to change the
transfer baud rate setting (setting the
transfer clock by dividing the operation
clock (f
MCK)).
Re-set the register to change serial
mode register 0n (SMR0nH/L) setting.
Set the initial output level of the serial
clock (CKO0n).
Enable clock output of the target channel
by setting a port register and a port mode
register.
Set the SS0n bit of the target channel to 1
(SE0n bit = 1: to enable operation).
Setting is completed
Sets dummy data to the SIOp register
(SDR0nL register) and start communication.
Essential
Selective
Selective
Selective
Selective
Essential
(Essential)
Re-set the register to change serial
communication operation setting register
0n (SCR0nH/L) setting.
Selective
Changing setting of the SCR0nH/L register
If the OVF flag remain set, clear this
using serial flag clear trigger register 0n
(SIR0n).
Selective
Clearing error flag
Completing slave
re
arations?
(Essential)
Yes
No
Wait until stop the communication target
(slave) or communication operation
completed