Hi Champ,
As there will be a fixed delay (2x EPWMCLK for TBCLK = EPWMCLK) from internal master module to slave module in epwm.
To compensate this 2x EPWMCLK delay, it should be implemented by enabling the phase shift load with filling in TBPHS in slave module, correct ?
In general, we use the formula TBPHS = TBPRD*Desired Phase Degree/360 to get the value of TBPHS for shifting angle.
To compensate the fixed delay, any formula could provided to calculate for TBPHS from here ? Is the formula different from up / up-down count mode ?
Thanks and regards,
Johnny