This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G1507: Using events or crosstrigger to trigger 2 timers sequentially

Part Number: MSPM0G1507

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!

  • Hi,

    I think it is workable to use TIMA1 as both a main and a secondary timer.

    But for restart a running PWM timer via event is not possible to me. Restart means you need to clear the current configuration of the timer then run. It could not be triggered by an event. 

    Best regards,

    Cash Hao