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.
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
Hi,
Our ePWM expert is OOO today, we will get back to you on this by tomorrow
Hello,
But it doesn't work in the opposite order.
where i want to change the slave and master order
It is not possible to change the order in which the sync pulse propagates. Please refer to the sync chain diagram within the Technical Reference Manual.
Best Regards,
Marlyn