CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 426 / 703
Figure 12-107 Restart setup step for 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 At least 4 FMCK clocks must be spaced after setting the RXEmn bit of the SCRmn register to "1" and then set the
Note If you override PER0 in the abort setting to stop the clock, you must wait until the communication object stops or the
communication ends, instead of starting the setting again.