Timer Question

Some things @Gus_Issa said in this thread made me wonder about the timers inside of the SC20100S and other STM32H7 based chips.

How much timers do we have? Is the firmware using any? What uses a hardware timer? What doesnt use a hardware timer?

For example, does this use a hardware timer?

Timer timer = new Timer(Ticker, null, 3000, 1000);

I haven’t been able to find any information about this in the docs, but I think it can be vital when designing complicated systems that can e.g. have a lot of timers running at different frequencies.

All timers are being used today.

For what?

Does this mean there is a limit to the amount of signal capture or Timer instances I can have?

There is no limit that you need to worry about. We handle all that internally, which is why we do not and should not document the intervals. We do the hard work to make it easy for you.

1 Like