BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
603 / 1149
Rev.1.02
Figure 19-25
Restart the setup step of the master send
restart configuration starts.
slave device ready?
port operation
modify SPSm register
configuration
modify SDRmn register
configuration
(mandatory)
(mandatory)
(selection)
(selection)
(selection)
Yes
No
wait till commuication target (slave
device) stops or communication ends
via Configure port register and port
mode register (data output and clock
output of target channel set to invalid).
re-configure when modifying the operational
clock configuration.
re-configure when modifying the transmit
baud rate configuration.
re-configure when modifying serail mode
register mn configuration.
re-configure when modifying serial
communcation operation configuration
register mn.
modify SMRmn register
configuration
modify SCRmn register
configuration
modify SOEm register
configuration
modify SOm register
configuration
modify SOEm register
configuration
(selection)
(selection)
(selection)
(mandatory)
configure port
write into SSm register
configure port register and port mode
register, set target channel data
output and clock output to be valid.
set SSmn bit of target channel to 1
(Semn=1: set as operation enable
state)
(mandatory)
(mandatory)
restart configuration
completes.
set SOEmn bit to 0, stop output of target
channel
configure serial clock (CKOmn) and serial
data(SOmn) initial output voltage
set SOEmn bit to 1, allow target channel data
output
configuration ends.
If configures transmission data into SIOp
register (bit 7~0 of SDRmn register), then
start communication.
Note If you override PER0 in the abort settings to stop providing the clock, you must make the initial settings instead of
restarting them when the communication object (slave) stops or when the communication ends.