Question
STM32G4 CubeMX SystemClock_Config() generation error ?
I generate a LL code with STM32CubeMx 6.4 for STM32G491.
In SystemClock_Config() I get
LL_RCC_SetSysClkSource (LL_RCC_SYS_CLKSOURCE_PLL) ;
LL_RCC_SetAHBPrescaler (LL_RCC_SYSCLK_DIV_2) ;
/* Wait till System clock is ready */
while (LL_RCC_GetSysClkSource () != LL_RCC_SYS_CLKSOURCE_STATUS_PLL)
{
}The AHB prescaler setting (line 2) is after the Sys clock source select (line1).
This is strange: in HAL functions these lines are inverted.
