Multiple timers


#1

I Hi Ivan, so I see on one post that you describe how to use one of the timers, can we please have a use case where two or three are configured so that I can have multiple time bases running at the same time. I was not able to figure out the NVIC and timer structure to configure two to run at the same time with ISR for each.

Thanks in advance… Steve


#2

Hello @ducky,

Are you talking about this post? Have you tried the code?

Otherwise, what have you done so far and what is the problem you are seeing?

If the timing you want is greater than 1ms then you can use a ServiceTimer, that is already included in the core files. It provides a 1ms timer with a callback. If you use it try not to block in its callback since it’s a timer shared with other implementations related to the PropBoard core.