cancel
Showing results for 
Search instead for 
Did you mean: 

LPUART baudrate Error Calculation

Alagesan
Associate II

Please Provide LPUART baud rate error calculation for the frequency clock above 100 MHz. In Reference manual [LPUART], Only for frequency clock = 100 MHz baud rate error calculations are given. Please Provide frequency other than 100MHz

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @Community member​ ,

Welcome to the STM32 Community 😊

 The mistake is in the desired value, it should be 33 000 Kbaud:

0693W000005BypgQAC.jpgFrom this value is also calculated the error value (0.1%) – because “actual�? value is as highlighted above.

This will be corrected in the coming release of the reference manual RM0440.

When your question is answered, please close this topic by choosing Select as Best.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

3 REPLIES 3
TDK
Guru

Baud rate is very simple to calculate. Surely you can handle the calculation yourself.

0693W000005BKerQAG.png 

If not, provide the desired baud and clock rates instead of making us guess.

If you feel a post has answered your question, please click "Accept as Solution".

Not using G4, but other parts with constrained BRR settings, the UART has a PRESCALER to cut the bus clock down

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Imen.D
ST Employee

Hello @Community member​ ,

Welcome to the STM32 Community 😊

 The mistake is in the desired value, it should be 33 000 Kbaud:

0693W000005BypgQAC.jpgFrom this value is also calculated the error value (0.1%) – because “actual�? value is as highlighted above.

This will be corrected in the coming release of the reference manual RM0440.

When your question is answered, please close this topic by choosing Select as Best.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen