RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 330
Dec 22, 2016
Figure 12-41. Procedure for Resuming Master Transmission/Reception
Starting setting for resumption
Changing setting of the SPS0 register
Changing setting of the SMR0nH/L register
Changing setting of the SO0 and
CKO0 registers
Port manipulation
Writing to the SS0 register
Completing resumption setting
Disable data output and 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) and serial data (SO0n).
Enable data output and 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 = 1: to enable operation).
(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
Set the SOE0n bit to 1 and enable
output from the target channel.
Selective
Changing setting of the SOE0 register
Set the SOE0n bit to 0 to stop output
from the target channel.
Selective
Changing setting of the SOE0 register
Port manipulation
Changing setting of the SDR0nH register
(Essential)
Ye s
No
Wait until stop the communication target
(slave) or communication operation
completed
Completing slave
re
arations?
If the FEF, PEF, and OVF flags remain
set, clear them using serial flag clear
trigger register 0n (SIR0n).
Clearing error flag
Selective
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.