Skip to main content
henrik23
Associate
October 31, 2014
Question

STM32Cubemx 4.4.0: value for LSI_VALUE in stm32f4xx_hal_conf.h wrong

  • October 31, 2014
  • 1 reply
  • 621 views
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
November 19, 2014
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