Skip to main content
Alagesan
Associate
November 13, 2020
Solved

LPUART baudrate Error Calculation

  • November 13, 2020
  • 3 replies
  • 1244 views

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

This topic has been closed for replies.
Best answer by Imen.D

Hello @Community member​ ,

Welcome to the STM32 Community :smiling_face_with_smiling_eyes:

 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

3 replies

TDK
November 13, 2020

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""."
Tesla DeLorean
Guru
November 13, 2020

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Imen.DBest answer
ST Technical Moderator
November 19, 2020

Hello @Community member​ ,

Welcome to the STM32 Community :smiling_face_with_smiling_eyes:

 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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks