Hello,
I have a question regarding phase shift for PWM channels with different frequency.
Im using a Piccolo F28035 device (60Mhz).
I have the first 6 PWM channels configured to run 25kHz (2400 period), where ePWM1 is the master, running in phase with ePWM2.
ePWM3 and ePWM4 are phase shifted 120 deg., that is 800 counts, where ePWM5 and ePWM6 are phase shifted with 240 deg. (1600 counts).
Everything is working as it should for ePWM1..6
Then I have configured ePWM7 to run 300kHz (200 period count), which is also phase enabled (phase shifted with 50 cycles), referenced to the ePWM1 master with 2400 count period. The reason for phase shifting ePWM7 is so that the ADC will not overlap with the sampling of the other channels.
When i measure the ePWM7 signal, the phase shift is working, but it varies with 184ns (11 cycles), that means that the measured phase is
either 833ns but sometimes can be measured to 1017ns.
Is there a good reason for this?
Thank you in advance.