RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
387
Nov 29, 2019
Figure 11-65. 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 SPSm register
Changing setting of the SMRmn register
Changing setting of the SOm register
Port manipulation
Writing to the SSm 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
register mn (SMRmn) setting.
Set the initial output level of the serial
data (SOmn).
Enable data output of the target channel
by setting a port register and a port mode
register.
Set the SSmn bit of the target channel to 1
(SEmn = 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 mn
(SIRmn).
Starting communication
Completing resumption setting
Sets transmit data to the SIOp register
(bits 7 to 0 of the SDRmn register) and
wait for a clock from the master.
(Essential)
Changing setting of the SCRmn register
Re-set the register to change serial
communication operation setting register
mn (SCRmn) setting.
(Selective)
Changing setting of the SOEm register
Set the SOEmn bit to 0 to stop output
from the target channel.
(Selective)
Changing setting of the SOEm register
Set the SOEmn bit to 1 and enable
output from the target channel.
(Selective)
(Essential)
Yes
No
Wait until stop the communication target
(master)
Completing master
preparations?