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-F28379D: EPWM SOC and Phase Shift

Part Number: LAUNCHXL-F28379D

Tool/software:

Hello,

I want to generate a SOC for ADC with a PWM (PWM3 aka PWM_SOC):

That works. See:

- in blue a debug GPIO that toggle each time the programm enters in the EPWM ISR

- in orange a debug GPIO that toggle each time the programm enters in the ADC ISR

Please note that Period of the PWM is calculated to be the same as another one (PWM1 aka PWM_LE), and the RC is calculated to always be 0.5. The period of PWM1 can change in real time.

Now, I want to synchronize PWM3 with PWM1:

first I pass the Sync Signal from PWM1 through PWM2

Then I enable Phase Shift Load in PWM3:

Down below in orange PWM1 and in blue PWM3

The programm seems to enter in the EPMW ISR: in blue the PWM3 signal and in orange the toggling of a GPIO in the EPWM ISR

But the programm does not run into the ADC ISR anymore: in orange the non toggling of a GPIO in the ADC ISR

Why activating the Phase Shift supress the SOC signal although the EPWM interrupt signal is still here ?

Thank you.

Vince.