Is this the best way to go for a simple time based interrupt routine ??
Well define ''best''. What period do you want, is it continuous or variable, etc. SysTick is pretty simple. The RTC can go sub-second with the appropriate scale. The TIMx timers can be a lot simpler than you have presented if you just want a constant periodic interrupt ticker.
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
i am using the SysTick already, so i have learned how to use the SysTick.
But now i trying to master the ''Normal'' Timer interrupt. So right now i trying to find a simple interrupt based on the TIM timers. I have checked and tested some of the timer example. but i did not find any one that is a simple interrupt based timer. Lets say. a timer that go´s into interrupt every 1ms I haven´t tested code yet,