Question
Using two time bases, SysTick and general-purpose timer
I am using a STM32G431RB MCU and the STM32Cube_FW_G4_V1.5.0 package for motion control. In addition to the usual SysTick 1ms time base a second, faster time base is needed to run control loops. I plan to use a general-purpose timer (e.g. TIM2) to implement the fast time base.
Question: the SysTick uses the HAL functions (HAL_IncTick etc.). Is it advised to implement custom functions for the fast time base, or are additional libraries available, HAL or others? Thank you.
