BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
667 / 1149
Rev.1.02
Figure 19-83
Restarts the setup step of Slave reception
restart configuration starts.
master device
preparation complete?
port operation
modify SPSm register
configuration
Yes
No
wait till commuication target (master device)
stops or communication ends
via Configure port register and port mode
register, set clock output of target channel to
invalid.
re-configure when modifing operational clock
configuration
re-configure when serial mode register mn.
re-configure when serial communication
operation configuration register mn.
modify SMRmn register
configuration
modify SCRmn register
configuration
port operation
write into SSm register
via Configure port register and port mode
register, set data output of target channel to
valid.
set SSmn bit of target channel to "1"
(Semn=1, configure as operation
enable state)
,
wait for master device clock.
restart configuration
completes.
clear error flag
when OVF flag remains at set state, erase via
serail flag clear trigger register mn(SIRmn).
write into ISC register
set SSIE00 bit to 1, enable channel 0
slave selection function operates.
(mandatory)
(mandatory)
(selection)
(selection)
(selection)
(selection)
(mandatory)
(mandatory)
(mandatory)
Note m: Unit number (m=0)n: Channel number (n=0)p:
SSPI
number (p=00)