I have modified Example _2806xEPwmUpDownAQ.c with phase shift for EPWM1 and EPWM2.
Apparently I change the expression of <EPwm1Regs.TBPHS.half.TBPHS> in the expressions tab after running the code.
which works when I do it for EPWM1 as MASTER and EPWM2 as slave.
{
EPwm1Regs.TBCTL.bit.SYNCOSEL = TB_CTR_ZERO ; and EPwm2Regs.TBCTL.bit.SYNCOSEL = TB_SYNC_IN ;
}
But it doesn't work in the opposite order.
where i want to change the slave and master order