RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 311
Dec 22, 2016
Figure 12-25. Procedure for Resuming Master Transmission
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 SMR0nH/L register
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).
Setting is completed
Sets transmit 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 (SCR0n) 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
Slave ready?
(Essential)
Yes
No
Wait until stop the communication target
(slave) or communication operation
completed
Changing setting of the SDR0nH register
Port manipulation
Changing setting of the SO0 and
CKO0 registers