Disable data output and clock output of the target
channel by setting a port register and a port mode
register.
Port manipulation
Starting setting for resumption
Changing setting of the SPSm register
Changing setting of the SDRmn register
Changing setting of the SMRmn register
Changing setting of the SCRmn register
Clearing error flag
Changing setting of the SOEm register
Changing setting of the SOm register
Changing setting of the SOEm register
Completing resumption
setting
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.
Re-set the register to change serial
communication operation setting register mn
(SCRmn) setting.
If the OVF flag remains set, clear this
using serial flag clear trigger register mn
(SIRmn).
Set the SOEmn bit to 0 to stop output from the
target channel.
Set the initial output level of the serial clock
(CKOmn) and serial data (SOmn).
Set the SOEmn bit to 1 and enable output from
the target channel.
Enable data output and clock output of the target
channel by setting a port register and a port mode
register.
(Essential)
(Selective)
Writing to the SSm register
Port manipulation
(Selective)
(Selective)
(Selective)
(Selective)
(Selective)
(Selective)
(Selective)
(Essential)
(Essential)
Set the SSmn bit of the target channel to 1 and
set the SEmn bit to 1 (to enable operation).
Completing slave
preparations?
No
Wait until stop the communication target (slave) or
communication operation completed.
Yes
(Essential)