Skip to main content
henrik23
Associate
Oct 31, 2014 4:47 AM UTC
Question

STM32Cubemx 4.4.0: value for LSI_VALUE in stm32f4xx_hal_conf.h wrong

Posted on October 31, 2014 at 05:47

I have set the value for LSI clock to 32000 in the clock configuration of STM32CubeMX . However the generated code in stm32f4xx_hal_conf.h defines LSI_VALUE wrongly as 40000.

Is this a bug or how can I make the correct value appear in the generated source code?

#stm32cubemx-lsi_value
This topic has been closed for replies.

1 reply

stm32cube-t
ST Employee
Nov 19, 2014 5:29 PM UTC
Posted on November 19, 2014 at 18:29

Dear user,

Unfortunately this is indeed a bug. CubeMX 4.6 implements the solution (release planned next January).

As a workaround for now you will need to change the value manually.

Best regards