use TIM5 only for STM32 tickclk