Part Number: TMS320F28377D
EPWM4 cannot receive sync signal from ePWM3 according to 2837xd ePWM datasheet if I understand rightly.
The synchronization is needed for MOSFET logic drive while EPWM1 is not available for sync purpose in my application. In addition, ePWM3 and ePWM4 frequency is variable.
1. I use "CpuSysRegs.PCLKCR0.bit.TBCLKSYNC" like below to sync at first.
But is it reliable? Will the synchronization failure occur due to a long time running or under some other circumstance?
....
EALLOW;
CpuSysRegs.PCLKCR0.bit.TBCLKSYNC=0;
......// configure ePWM modules......
CpuSysRegs.PCLKCR0.bit.TBCLKSYNC=1;
EDIS;
.....
2. Is there any other simple way for synchronization between ePWM4 and ePWM3?
Thanks very much.