RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 357
Dec 22, 2016
Figure 12-63. Procedure for Resuming Slave Transmission/Reception
Cautions 1. Be sure to set transmit data to the SlOp register before the clock from the master is started.
2. If PER0 is rewritten while stopping the master transmission and the clock supply is stopped,
wait until the transmission target (master) 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
Changing setting of the SO0 register
Port manipulation
Writing to the SS0 register
Disable data 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 serial mode
re
ister 0n
SMR0n
settin
.
Set the initial output level of the serial
data (SO0n).
Enable data 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)
Essential
(Essential)
Clearing error flag
Selective
If the OVF flag remain set, clear this using
serial flag clear trigger register 0n
(SIR0n).
Starting communication
Completing resumption setting
Sets transmit data to the SIOp register
(SDR0nL register) and wait for a clock
from the master.
(Essential)
Changing setting of the SCR0nH/L register
Re-set the register to change serial
communication operation setting register
0n (SCR0n) setting.
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
Set the SOE0n bit to 1 and enable output
from the target channel.
(Selective)
(Essential)
Yes
No
Wait until stop the communication target
(master)
Completing master
re
arations?