EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 331

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 331 / 703
(2) Operation Steps
Figure 12-24 Initial setup step of the master transmission
initial configuration starts
configure PER0 register
configure SPSm register
configure SMRmn register
configure SCRmn register
configure SDRmn register
configure SOm register
Modifing SOEm register
configuration
configure port
write SSm register
initial configuration completes
release universal serial
communication unit from reset state,
start providing clock.
configure operational clock
configure operational mode..etc.
configure communication format
configure transmit baud rate
(configure operationl clock(fMCK)
scaled transmission clock)
configure serial clock (CKOmn) and
serial data(SOmn) initial output
voltage
set SOEmn bit to 1, allow target
channel data output
configure port register and port mode
register (target channel data output
and clock output are valid)
set SSmn bit of target channel to 1
(Semn=1: set as operation enable
state)
complete initial configuration.
If transmit data to SIOp register (bit
7~0 of SDRmn register), then
communcation starts.

Table of Contents

Related product manuals