![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 696](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609696.webp)
BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
696 / 1149
Rev.1.02
Figure 19-106 Reset the setup steps for restarting UART reception
restart configuration starts.
commuication target
ready
?
modify SDRmn register
configuration
Yes
No
wait till commuication target stops or
communication ends
re-configure when modifying baud rate
configuration
re-configure when serial mode register mn
and register mr.
re-configure when serial communication
operation configuration register mn.
modify SMRmn register and
SMRmr 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",
make Semn to "1" (operation enable
state), and wait for start bit detection.
restart configuration
completes.
clear error flag
when FEF,PEF,OVF flag remains at set state,
erase via serail flag clear trigger register
mn(SIRmn).
modify SPSm register
configuration
re-configure when modifing operational clock
configuration
(mandatory)
(selection)
(selection)
(selection)
(selection)
(selection)
(mandatory)
(mandatory)
Note that at least 4
f
MCK
clocks
must be
spaced after
the
RXEmn
position
of the
SCRmn register "1" and then the
SSmn position “1”
。
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.