EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 432

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 432 / 703
(3) Enable range of the baud rate at reception
The baud rate tolerance range of UART (UART0~UART2) communication reception can be calculated
using the following calculation formula, and the baud rate of the sender must be set within the acceptor's baud
rate tolerance.
Brate: Calculated value of the baud rate of the receiver (see 12.7.4 baud rate calculation).
k: SDRmn[15:9]+1
Nfr: 1 frame length of data [bit].
= (start bit) + (data length) + (parity bit) + (stop bit).
Remark m: unit number (m=0, 1) n: channel number (n=1, 3) mn=01, 03, 11
Figure 12-110 Enable range of baud rate at reception (frame length of 1 data = 11 bits)
SCI data
frame
length
min allowed data
frame length
max allowed data
frame length
latch timing
sequence
start bit
start bit
start bit
parity
check bit
parity
check bit
parity
check bit
stop bit
stop bit
stop bit
1 data frame11xFL
As shown in Figure 12-110 after the start bit is detected, the latch timing of the received data depends on
the divider ratio set by bit15 to 9 of the serial data register mn (SDRmn). If the last data (stop bit) can catch up
with this latch timing, it can be received normally.
(Maximum baud rate that can
be received) =
2 k Nfr
Brother
2 k Nfrk+2
(Minimum baud rate that can
be received) =
2 k (Nfr1)
Brother
2
k Nfrk2

Table of Contents

Related product manuals