Part Number: TMS320F28379D
Hi everyone,
I am working on a phase shift converter design and I am trying to have one fixed PWM (4) and an other one (5) which can be dephased. The two PWMs have the same duty cycle (50% minus deadband). I have everything done but I have a little delay beetween the both PWM of 20ns (I noticed that it is one step of my counter).
I also noticed by debugging step by step that the EPWM4regs.bit.TBCTR and EPWM5regs.bit.TBCTR have a difference of 2...
I attached picture too understand everything.
Thank you in advance !
Debugging :
My code :
Pwm Signal D0 is PWM4 and D2 is PWM5:

