cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cubemx 4.4.0: value for LSI_VALUE in stm32f4xx_hal_conf.h wrong

henrik23
Associate
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
1 REPLY 1
stm32cube-t
Senior III
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