Part Number: TMS320F28377S
Tool/software: Code Composer Studio
Hi,
I am operating the adjacent legs of an inverter with some phase shift let it be 30 deg in 28377S launchpad.I have set up the TBPRD for 25kHz frequency with PWM2 as master and PWM 6,7 as slaves. I have used the below command lines to set the master and then changed the phase by 100-200 to get some phase shift in PWM6, but i am not getting any phase-shift. What may be the possible reasons for this.
EPwm2Regs.TBCTL.bit.PHSEN = 0;
EEPwm2Regs.TBCTL.bit.SYNCOSEL =0;
.
.
EPwm6Regs.TBCTL.bit.PHSEN = 100;
EEPwm6Regs.TBCTL.bit.SYNCOSEL =1
Thank you for your time.