UART baud rate error

USART divider register (BRR on STM32/GD32/AT32/CH32, UBRR on AVR) and the real baud rate error for a peripheral clock.

RegisterBRR=0x271
Actual baud115200 bps
Error0.000%
Baud rateRegisterActual baudError
1200BRR=0xEA6012000.00%
2400BRR=0x753024000.00%
4800BRR=0x3A9848000.00%
9600BRR=0x1D4C96000.00%
19200BRR=0xEA6192000.00%
38400BRR=0x753384000.00%
57600BRR=0x4E2576000.00%
115200BRR=0x2711152000.00%
230400BRR=0x139230031.9-0.16%
460800BRR=0x9C461538.5+0.16%
921600BRR=0x4E923076.9+0.16%
1000000BRR=0x4810000000.00%
2000000BRR=0x2420000000.00%

Common rates at 72 MHz. Keep the combined error of both ends under ±2%, ideally ±1% per side.

Results are for design reference only. Check the datasheet and measure.

Related tools