RL78/G13 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0146EJ0100 Rev.1.00 600
Sep 22, 2011
Figure 12-45. Procedure for Resuming Master Transmission/Reception
Starting setting for resumption
Port manipulation
Changing setting of the SPSm register
Changing setting of the SDRmn register
Changing setting of the SMRmn register
Changing setting of the SOm register
Port manipulation
Writing to the SSm register
Starting communication
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 mn (SMRmn) setting.
Set the initial output level of the serial
clock (CKOmn) and serial data (SOmn).
Enable data output and clock 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
o
eration
.
Sets transmit data to the SIOp register (bits
7 to 0 of the SDRmn register) and start
communication.
(Essential)
(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 remain 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
Set the SOEmn bit to 0 to stop output
from the target channel.
(Selective)
Changing setting of the SOEm register