RM0440
Table 345. Error calculation for programmed baud rates at lpuart_ker_ck_pres= 32,768 KHz
Baud rate
S.No
Desired
1
0.3 KBps
2
0.6 KBps
3
1200 Bps
4
2400 Bps
5
4800 Bps
6
9600 KBps
Table 346. Error calculation for programmed baud rates at f
Baud rate
S.No
Desired
1
38400 Baud
2
57600 Baud
3
115200 Baud
4
230400 Baud
5
460800 Baud
6
921600 Baud
7
4000 KBaud
8
10000 Kbaud
9
20000 Kbaud
10
30000 Kbaud
Low-power universal asynchronous receiver transmitter (LPUART)
Value programmed in the baud
Actual
0.3 KBps
0.6 KBps
1200.087 Bps
2400.17 Bps
4801.72 Bps
9608.94 Bps
Value programmed in the baud
Actual
38400,04 Baud
57600,06 Baud
115200,12 Baud
230400,23 Baud
460804,61 Baud
921625,81 Baud
4000000,00 Baud
10000000,00 Baud
20000000,00 Baud
33032258,06 Baud
= 32,768 KHz
lpuart_ker_ck_pres
rate register
0x6D3A
0x369D
0x1B4E
0xDA7
0x6D3
0x369
= 100MHz
f
CK
rate register
A2C2A
6C81C
3640E
1B207
D903
6C81
1900
A00
500
307
RM0440 Rev 1
% Error = (Calculated - Desired)
B.rate / Desired B.rate
0
0
0.007
0.007
0.035
0.093
= 100 MHz
CK
% Error = (Calculated - Desired)
B.rate / Desired B.rate
0,0001
0,0001
0,0001
0,0001
0,001
0,0028
0
0
0
0,1
1653/2083
1692
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?