cancel
Showing results for 
Search instead for 
Did you mean: 

new IDE&MX setting baud rate wrong at stm32h743vit

bjrobert
Associate

Hi,

I have updated IDE and MX, and found that the usart buad rate setting is wrong: setting 115200, but actually baud rate is 57600 (half setting). Is it new ST firmware error or not? I am not sure that the other clock settings is right. Please help to check. Thanks.

here is the attached is my usart_test, software.

 

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @bjrobert ,

First let me thank you for posting and welcome to the ST Community.

I reproduced your request, and I found that the baud rate value is equal to 115200 after generating the code knowing that I am using the latest version of STM32CubeMX and STM32CubeIDE.

 

MahmoudBenRomdhane_0-1733487911297.png

Best Regards.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

ArekS
Associate

@Mahmoud Ben Romdhane  I am observing exactly same issue with the new project generated from scratch, for STM32H757. In IOC file  I have configured baudrate 115200, in generated code baudrate is also set as 11500, but real baudrate measured with oscilloscope is half of this - 57600.

Sw versions  I'm using:

- STM32CubeIDE Version: 1.17.0

- STM32CubeMX Version: 6.13.0-RC5

- STM32CubeH7 Firmware Package V1.12.1

 

Just found this topic:

https://community.st.com/t5/stm32cubemx-mcus/hal-rcc-getpclk2freq-returns-incorrect-value-when-d2ppre2-is-set/m-p/753382/highlight/true#M30487

Seems to be root cause of baud rate issue.

 

Regards

Arek