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.

ISR for ADC and EPWM in F28335

Other Parts Discussed in Thread: TMS320F28335

Hi folks,

I an trying to activate two ISRs in my code, one for ePwm and the other for ADC.

However, I can only have "IER |= 1" to activate the interrupt for ADC or "IER |=4" to do the same for ePwm.

Is there any way to temporarily change the IER value inside the ISRs? I tried it but it failed!

By the way, I noticed that the priority of the ADC interrupt is higher that that of the ADC.

Thanks

Ali