RL78/G13 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0146EJ0100 Rev.1.00 626
Sep 22, 2011
Figure 12-67. Procedure for Resuming Slave Transmission/Reception
Caution Be sure to set transmit data to the SlOp register before the clock from the master is started.
Starting setting for resumption
Manipulating target for communication
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
Stop the target fo
communication or wait
until the target completes its operation.
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 settin
.
Re-set the register to change serial mode
re
ister mn
SMRmn
settin
.
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 and
set the SEmn bit to 1 (to enable operation).
(Essential)
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
Starting target for communication
Sets transmit data to the SIOp register
(bits 7 to 0 of the SDRmn register) and
wait for a clock from the master.
Starts the target for communication.
(Essential)
(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)