EasyManua.ls Logo

Cmsemicon CMS32L051 - UART Transmission

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 413 / 703
12.7.1 UART transmission
UART transmission is the operation of the microcontroller of this product to send data asynchronously to
other devices.
An even number of the 2 channels used by the UART are used for UART sending.
UART
UART0
UART1
UART2
Object channel
Channel 0 of SCI0
Channel 2 of SCI0
Channel 0 of SCI1
The pin used
TxD0
TxD1
TxD2
Interrupt
INTST0
INTST1
INTST2
You can select either a transmit-end interrupt (single-pass mode) or a buffer null
interrupt (continuous transfer mode).
Error detection flag
not
Length of transmitted data
7-bit, 8-bit or 9-digit
Note
1
Transfer rate
Max.f
MCK
/6[bps](), Min.f
CLK
/(2×2
15
×128)[bps]
Note2
Data phase
Normal-phase output (default: high).
Inverting output (default: low).
Parity bits
You can choose from the following:

Appending zero check.
Appending parity.
Appending odd parity.
Stop bit
You can choose from the following:
Appending 1 bit.
Appending 2 bits.
Data direction
MSB first or LSB first
Note 1 Only UART0 supports 9-bit data length.
2. It must be used within the scope of the peripheral functional characteristics that meet this condition and meet the
electrical characteristics (refer to the data sheet).
Note 1.f
MCK
: Operating clock frequency of the object channel
f
CLK
: System clock frequency
2.m: Unit number (m=0, 1) n: channel number (n=0, 2) mn=00, 02, 10.

Table of Contents

Related product manuals