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.

LAUNCHXL-F28069M: Generate PWM interrupt signal each 5th or 6th event trigger

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CONTROLSUITE

Hi Everyone,

I need to generate interrupt signal from PWM1A each 5th or 6th event. I know that I can generate this interrupt for each 1st, 2nd, or 3rd event by editing the <EPwm1Regs.ETPS.bit.INTPRD>. So i was thinking of generating another PWM2 signal that has twice the PRD of the original PWM1 and synchronized with it, and then generate the interrupt on the 3rd event of PWM2. can someone help me on how to do that.