Tool/software:
Hi, I would like to explore using events or cross trigger to get more precise timing performance, compared to using interrupts.
The application I have in mind is to let a comparator event start TIMA1, and when TIMA1 reaches Zero, to let it start TIMA0. So COMP => TIMA1 => TIMA0.
Currently I have no problems making TIMA1 start TIMA0 via cross trigger.
I would like to know if it's possible to also make the comparator start TIMA1 via events. From the documentation, I could use cross trigger from generic event. But that would mean TIMA1 is both a main and a secondary timer. Is that workable?
As a related question, is it possible to restart a running PWM timer via comparator event?
Thanks!