RL78/F13, F14 CHAPTER 15 SERIAL ARRAY UNIT
R01UH0368EJ0210 Rev.2.10 869
Dec 10, 2015
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 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 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 and
set the SEmn bit to 1 (to enable operation).
Set transmit data to the SDRmn register and
wait for a clock from the master.
Selective
(Selective)
(Selective)
(Selective)
Essential
(Essential)
(Essential)
Re-set the register to change serial
communication operation setting register
mn (SCRmn) setting.
(Selective)
Changing setting of the SCRmn register
If the OVF flag remains set, clear this using
serial flag clear trigger register mn (SIRmn).
(Selective)
Clearing error flag
Set the SOEmn bit to 1 and enable output
from the target channel.
Selective
Changing setting of the SOEm register
Stop the target fo
communication or wait until
the target completes its operation.
(Essential)
Manipulating target for communication
Starting target for communication
Start the target fo
communication.
(Essential)
Starting communication
Set the SOEmn bit to 0 to stop output from
the target channel.
(Selective)
Changing setting of the SOEm register
Figure 15-52. Procedure for Resuming Slave Transmission
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0, 1), mn = 00, 01, 10, 11