Part Number: TMS320F2800137
Hi,
Im working with 2 channels of EPWM, with sync between them.
When Im settiing EPWM1 in higher speed (lower TBPRD) I set his sync in pulse according to EPWM3 lower speed (higher TBPRD) and vice versa.
TBCTR(3056) is >> then TBPRD (600) ; PROBLEM SOLVED AFTER I RESET

ANOTHER PIC REGISTER EPWM1 WORKING WELL:
ERROR:

Reset PHSEN from 1 to 0 and back to 1 solve the problem:
Code that transient :
EPWM_enablePhaseShiftLoad (EPWM1);
EPWM_setSyncInPulseSource(EPWM1, EPWM_SYNC_IN_PULSE_SRC_SYNCOUT_EPWM3);
EPWM_setPhaseShift(EPWM1, (2U * TBPRD) - 30U );
EPWM_setSyncInPulseSource(EPWM3, EPWM_SYNC_IN_PULSE_SRC_SYNCOUT_EPWM3);
Thanks!