![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 702](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609702.webp)
BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
702 / 1149
Rev.1.02
(3)
The allowable range of baud rate at the time of reception
The baud rate tolerance range for UART (UART0~UART2) communication reception can be calculated using the
following equation, and the baud rate of the sender must be set within the baud rate tolerance range of the receiver.
(Maximum baud rate that can be received)
=
2×K×Nfr
2×K×Nfr-K+2
×Brate
(Minimum baud rate that can be received)
=
2×K×(Nfr - 1)
2×K×Nfr-K- 2
×Brate
Brate: The calculated value of the baud rate of the receiver (cf. "19.7.4 (1) Baud rate calculation").
k: SDRmn [15:9]+1
Nfr: 1 frame length [bits] of data
= (start bit) + (data length) + (parity bit) + (stop bit).
Note m: Unit number (m=0~2) n: Channel number (n=1,
3) mn=01, 03, 11, 21
Fig. 19-109 The allowable range of baud rates at the time of reception (in the case of frame length = 11 bits of 1
data).
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 frame
(
11xFL
)
As shown in Fig. 19-109, after the start bit is detected, the latch timing of the received data depends on the
division ratio set by bit15 to 9 of the serial data register mn (SDRmn). If the last data (stop bit) catches up with
this latch timing, it can be received normally.