1.7.1 Baud Rate Rounding Errors

Table 1-2. UART Primary Baud Rates
Desired Rate (bps)Actual Rate (bps)% Error
921600914285.71-0.8%
240024000.00%
480048000.00%
960096000.00%
19200192000.00%
38400384000.00%
5760057588.48-0.02%
115200115107.91-0.08%
230400230215.83-0.08%
460800459330.14-0.32%
CAUTION: The percentage error is calculated assuming the 24 MHz clock source is stable. Any drift in the source clock frequency would affect the percentage error.

The actual baud rate is calculated as follows:

ActualRate=64*24MHz16*ceiling(x)

Where,

x=64*24MHz16*DesiredRate

Example: For 115,200 bps,

x = (64 × 24,000,000) / (16 × 115,200) = 86.805... x_rounded = 87

Actual Rate = (64 × 24,000,000) / (16 × 87) = 115,107.91 bps

Error = -0.08%