Starting setting for resumption
Completing resumption setting
Wait until stop the communication target
(master
) or
operation completed.
Set the initial output level of the serial data (SOmn
).
Set the SOEmn bit to 1 and enable output from
the target channel.
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).
(Selective)
Completing master
preparations?
No
Yes
(Essential
)
(
Selective)
(
Essential)
(
Essential)
Changing setting of the SPSm
register
Changing setting of the SMRmn
register
Changing setting of the SCRmn
register
Changing setting of the SOEm
register
Changing setting of the SOm
register
Changing setting of the SOEm
register
Port manipulation
Writing to the SSm register
Port manipulation
(Essential)
(
Selective)
(
Selective)
(Selective)
(Selective)
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.
Re-set the register to change serial communication
operation setting register mn (
SCRmn) setting.
Set the SOEmn bit to 0 to stop output from the target
channel.
Clearing error flag
If the OVF flag remains set
, clear this using serial flag
clear trigger register mn
(SIRmn).
Starting communication
(Essential)
Sets transmit data to the SIOp register (
bits 7 to
0 of the
SDRmn register
) and wait for a clock from the master.
(Selective
)
Caution 1. Be sure to set transmit data to the SlOp register before the clock from the master is started.
Caution 2. If PER0 is rewritten while stopping the communication to reset the serial array unit, wait until the