STM32CubeMx LSE drive capability issue
I found an issue with the latest (and updated) STM32CubeMx when generating code both for SW4STM32 and for MDK-ARM relate to STM32F746 board.
Changing 'LSE Drive Capability' from ''LSE oscillator low drive capability' to 'LSE oscillator high drive capability' doesn't produce any changing into the code generate by STM32CubeMx.
To enable ''LSE oscillator low drive capability' I have to add to the code the lines:
HAL_PWR_EnableBkUpAccess(); __HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_HIGH);But when I use again CubeMx to generate the code it remove my code...
Info about versions use by me.
CubeMx version: 4.26.0
STM327CubeF7: 1.11.0
Ciao.
Gianluca
#stm327cubef7 #lse-startup