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.

F28M36P63C2: Managing ISRs priority between eQEP and ePWM

Part Number: F28M36P63C2
Other Parts Discussed in Thread: CONTROLSUITE

Hi everyone,

I am encountering a problem with my application. I am driving a motor using ePWM456 modules and I use a position feedback sensor connected to eQEP1. I rely on the QEP interrupts to detect QEP counter rollovers using the flags PCO and PCU.

My motor control loop is sequenced by ePWM4 period when ePWM4 reaches 0.

The problem I am encountering is that on some rare instances, I am missing interrupts from the QEP module when the position oscillates around counter limits. In attempt to fix it, I am sequencing my control loop by a "dummy" ePWM9 to reach the same group than eQEP. My question is then if I can interrupt EPWM9_INT with EQEP1_INT ?

Also, I see that there is EPWM11_INT but it doesn't seem like it is supported in controlSUITE ?

Thank you very much.