cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f4 Regression in STM32CubeMX SysClock frequency HSE_VALUE setup 4.26.1, STM32Cube FW_F4 V1.21.0

CHABIN.Laurent
Associate II

In stm32f4xx_hall_rcc_ex.c

is using a HSE_VALUE that does not reflect the settings in STM32CubeMX

it uses the default 25Mhz in stm32f4xx_ll_rcc.h instead of the one in hal_conf

this problem did not occur in a previous stm32cubemx fw release.

the result is off the roof frequencies and potentially unexpected behavior.

pay me a beer.

3 REPLIES 3
Imen.D
ST Employee

Hello,

I will raise this issue internally for check. Please, share your ioc file for check your case.

With Regards,

Imen.

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

Here is the file.

Houda GHABRI
ST Employee

Hello @Community member​ ,

Thanks for your feedback and sorry for the late answer.

you can switch to last STM32CubeMX version 4.27.0 available on Web .

regards,

Houda