2020-06-24 01:03 AM
2020-06-24 01:58 AM
I think I have found the answer. The initial MX_TIM1_Init() the htim1.Init.Period was set to 1000 but in the code after the MX_TIM1_Init() I set htim1.Instance->ARR = 100 :) It seems that the ARR isn't updated in STM32CubeIDE when you change the IOC file :)