Starting setting for resumption
Completing resumption setting
Wait until the communication target stops or
communication operation is completed
.
If the FEF,
PEF,
and OVF flags remain set
,
clear them
using serial flag cleartrigger re gister mn
(SIRmn
).
Enable data input 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
).
Become wait
for start bit detection
.
Communication target
is ready
?
No
Yes
(Selective
)
(
Essential
)
Changing setting of the SPSm
register
Changing setting of the SMRmn and
SMRmr registers
Changing setting of the SCRmn
register
Clearing error flag
Setting port
Writing to the SSm register
(Essential
)
(
Selective)
Re
-
set the register to change the operation clock setting
.
Re
-
set the registers to change serial mode registers mn,
mr
(
SMRmn,
SMRmr
)
setting
.
Re-
set the register to change serial communication
operation setting register mn
(
SCRmn)
setting.
(
Essential
)
(
Selective
)
Changing setting of the SDRmn
register
Re-
set the register to change the transfer baud rate
setting (
setting the transfer clock by dividing the
operation clock
(f
MCK
)).
(Selective
)
(
Selective)