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 imp...