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.
hello all,
I used the Epwm1 as a interrupt source for the CLA core.
how can I set the interrupt to start at a certain epwm1 comparator value? (TBCTR register) ?
now im cant tell if the interrupt happens at the zero or period or some comparator of the epwm1 - i set my EPWM1 to zero.
i tried to read the TBCTR value in the CLA core and received changing values..
thanks
H
Hi,
Can you let me know how the EPWM is being configured for generating interrupt ?
Thanks,
Ashwini
Hi,
how can I set the interrupt to start at a certain epwm1 comparator value? (TBCTR register) ?
You can use CMPC or CMPD registers for EPWM1 to generate interrupts at the specific comparator value. Event selection for interrupt generation can be done using the ETSEL register.
Thanks,
Aditya