STM32CubeMX 6.8.0 and STM32CubeIDE 1.12.0: bug in LSI initialization when using low-level drivers
Used STM32CubeIDE version: 1.12.0
Used driver library: STM32Cube_FW_U5_V1.2.0
I found a bug in the initialization of the LSI, when low-level drivers are used. The bug is located in the function SystemClock_Config(). Since the background domain access is not enabled before trying to enable the LSI, the loop which is waiting for the LSI to come up is never left.
...
LL_PWR_EnableBkUpAccess(); // <-- this line is missing in the generated code
LL_RCC_LSI_Enable();
/* Wait till LSI is ready */
while(LL_RCC_LSI_IsReady() != 1)
{
}
...

