Resolved! TIM5 accuracy and overflow: configuration
I am trying to configure the TIM5 to get timestamp in milliseconds for a long period (over 40 seconds).Here is the current configuration of TIM5:// This function inits and start the timers usedvoid timer_init(void) { __HAL_RCC_TIM5_CLK_ENABLE(); ...