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.
Hi there,
I am trying to use the EPwm1 module to trigger Cla Task 1 without triggering any ISR in the CPU.
In other words, when an EPwm interruption happens I want to execute a task in the Cla but no code at all in the Cpu.
Is this possible? Would you be able to provide me with some help on how to do it?
I have no issues at all in triggering the Cla from the EPwm interruption or from the ADC EOC. What I cannot find a way to do is to block the Cpu from servicing the ISR.
Thanks,
Lucas
Hi Lucas,
Any interrupt ISR will not get executed unless that interrupt has been enabled in PIE. Did you try disabling the EPwm interrupt in PIE by wrtting '0' to specific field of Interrupt Enable register (E.g. PieCtrlRegs.PIEIER3.bit.INTx1 = 0 to disable EPWM1_INT).
Regards,
Vivek Singh
Hi Singh,
I actually found an answer to my question in the forum already here.
Thank you for your help,
Lucas