EasyManua.ls Logo

Cmsemicon CMS32L051 - UART Reception

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 422 / 703
12.7.2 UART reception
UART reception is the operation of other devices of this product's microcontroller to receive data
asynchronously.
An odd number of the 2 channels used by the UART are used for UART reception. However, the SMR
registers for both odd and even channels need to be set.
UART
UART0
UART1
UART2
Object channel
Channel 1 of SCI0
Channel 3 of SCI0
Channel 1 of SCI1
The pin used
RxD0
RxD1
RxD2
Interrupt
INTSR0
INTSR1
INTSR2
Limited to end-of-transfer interrupts (disable setting buffer null
interrupts).
Error interrupt
INTSRE0
INTSRE1
INTSRE2
Error detection flag

Detection Flag (PEFmn).

The length of the 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]
Data phase
Normal-
phase
output
(default:
high).
Inverting
output
(default:
low).
Parity bits
You can choose from the following:
 (no parity).
Appending zero check (no parity).
-check

Stop bit
Appending 1 bit.
Data direction
MSB first or LSB first
Note 1 Only UART0 supports 9-bit data length.
2. 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
: The operating clock frequency of the object channel
f
CLK
: System clock frequency
2.m: Unit number (m=0, 1) n: channel number (n=1, 3) mn=01, 03, 11.

Table of Contents

Related product manuals