AT32WB415
Series Reference Manual
2022.04.13
Page 266
Ver 2.00
Baud rate formula:
𝐵𝑎𝑢𝑑𝑅𝑎𝑡𝑒 =
1
Nomal Bit Timimg
𝑁𝑜𝑚𝑎𝑙 𝐵𝑖𝑡 𝑇𝑖𝑚𝑖𝑛𝑔 = t
𝑆𝑌𝑁𝐶_𝑆𝐸𝐺
+ t
𝐵𝑆𝐸𝐺1
+ t
𝐵𝑆𝐸𝐺2
where
t
𝑆𝑌𝑁𝐶_𝑆𝐸𝐺
= 1 x t
𝑞
t
𝐵𝑆𝐸𝐺1
= (1 + BTS1[3: 0]) x t
𝑞
t
𝐵𝑆𝐸𝐺2
= (1 + BTS2[2: 0]) x t
𝑞
t
𝑞
= (1 + BRDIV[11: 0]) x t
𝑝𝑐𝑙𝑘
Hard synchronization and resynchronization
The start location of each bit in CAN nodes is always in synchronization segment by default, and the
sampling is performed at the edge location of bit segment 1 and big segment 2 simulatenously.
During the actual transmission, each bit of the CAN nodes has certain phase error due to the oscillator
drift, transmission delay among the network nodes and noise interference. To avoid the impact on the
communication, the start-bit edge and its subsequent falling edge can be synchronized or
resynchronized. The time length of the synchronization compensation can not be greater than the
resynchronization width (1 to 4 time units, defined by the RSAW[1: 0] bit).