The problem for me was in stm32f10xx_hal_tim_base.c in HAL_InitTick function:The CubeMX generated code starts the Timer at line 92, and then calls HAL_NVIC_SetPriority at line 101.A solution would be to flip the order of the 2 function calls to have ...