![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 687](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609687.webp)
BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
687 / 1149
Rev.1.02
Figure 19-98
Reset the setup steps for the new start UART transmission
restart configuration starts.
Ready to communicate?
port operation
Modify SPSm register
configuration
Modify SDRmn register
configuration
Yes
No
wait till commuication target (slave device) stops or
communication ends
The data output of the target channel is disabled by
setting the port register and port mode register.
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
configure port
write into SSm register
configure port register and port mode register, set
target channel data output to be valid.
set SSmn bit of target channel to 1 (Semn=1: set
as operation enable state)
restart configuration completes.
set SOEmn bit to 0, stop output of target channel
configure serial data(SOmn) initial output voltage
set SOEmn bit to 1, allow target channel data output
Modify SOLm register
configuration
re-configure when modifying serail output voltage
regsiter m
configuration ends.
If configures transmission data into SIOp register (bit
7~0 of SDRmn register), then start communication.
(mandatory)
(mandatory)
(selection)
(selection)
(selection)
(selection)
(selection)
(selection)
(mandatory)
(mandatory)
(mandatory)
(selection)
(selection)
Note If you override
PER0 in the abort settings to stop providing the clock, you must make the initial settings instead
of restarting the settings when the communication object stops or the communication ends.