Tool/software:
Hi!
I assume for most applications using the CMPSS and SDFM comparator, they are used to trigger a PWM XBAR -> trip EPWMs.
Using https://github.com/TexasInstruments/mcupsdk-core/releases/tag/REL.MCUSDK.10.01.00.33
What periodic function using the SDK API should I use to check if the CMPSS and SDFM comparator triggered a trip? For now, I want each trigger to latch so we can detect which CMPSS or SDFM comparator caused the trigger.
How can I set up the CMPSS & SDFM comparator to latch upon firing?
Do I need to loop over each CMPSS and SDFM comparator to find which triggered the xbar? If so, how can I use the SDK API for this?
Please provide an example function showing how I can detect CMPSS triggered trip and SDFM comparator triggered trip.
Thank you very much!