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.

TMS320F28379D: eCAP Interrupt during ePWM or ADC interrupt

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSBIOS

Hello there,

I would like to know if I can have an interrupt from eCAP during a ePWM interrupt and how i would programm it?

I would like to do a field oriented control (control task is run by ePWM interrupt or ADC interrupt) while using a Hall-sensed motor. 

If the Hall reaches a new state (read by eCAPs) I would like to throw an interrupt to use the data to calculate the newest rotor position and use it in the the control task.

If a new hall state occur during the control task, the eCAP should interrupt the control task.

Greetings