Hey
I am using EPWM to signal a switching amplifier and monitoring the current through an inductor via ADC.
I want to keep track of the positive pulse and zero of the EPWM, cause in each section of period I perform some calculations.
I was wondering if a single EPWM can cause two interrupts one at CNTR = CMPA and other at CNTR = PRD .
According to datasheet it seems that
EpwmXregs.ETSEL.bit.INTSEL can be set to allow just one Interrupt. Just want to confirm that whether there is some other setting to allow for two interrupts.
Regards
Salman