2022-01-22 11:12 AM
In the cubeMX default code the order is:
HAL_Init(); and then SystemClock_Config();
HAL_Init() sets up the Systick Timer with HAL_InitTick().
Afterwards SystemClock_Config changes the Clock setup (to HSE in my case), but HAL_InitTick() is not called again. Does this not mean that the 1ms SysTick will not be 1ms because it was set up with the wrong frequency?
2022-01-22 12:25 PM
Solved, HAL_InitTick() ist called at the end of HAL_RCC_ClockConfig.