Tool/software:
Hi Champ,
I am asking for my customer.
They attempt to use comparator and EPWM DCAEVT1 / DCAEVT2, to trigger TZISR.
(1). Since the behavior of digital output from CMPSS seems to act as a level trigger, is there a way to configure it as a edge trigger behavior with CMPSS + EPWM DC submodule ? or by configuring one-shot trip interrupt to pretend as edge trigger behavior when using trip Condition set through CMPSS ?
(2). Continue 1st question, what customer wants to implement as follows,
The CMPSS's compared voltage is set as 1.5V from internal DAC / external signal, once the sensed voltage on positive pin is higher than negative pin 1.5V, then trigger ONCE interrupt. Then, if the sensed voltage on positive pin keeps higher than 1.5V, then not triggering the interrupt again. Going on, An interrupt can only be triggered again until the sensed voltage on CMPSS positive input pin is first lower than 1.5V, and then come after higher 1.5V again, as a real edge trigger source for TZISR. In simple terms, an interrupt occurs every time when the comparator output changes from 0 to 1. Is there a feasible workaround with CMPSS + EPWM module ?
(3). When we talk to CBC tripping, it aim at the action on the EPWMxA and EPWMxB outputs, and TZISR is CBC triggering at the same time, right ? If yes, would it be possible that TZISR keeps interrupting once again and again if the CBC event is still existing for a period ?
Thanks for the input.
Regards,
Johnny

