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.

Can a single EPWM cause 1+ interrupts



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