Hello,
I have a question regarding the following pwm settings in the C28x (F28M36):
pwm 4,5,6,7 work on 48 KHz (TBPRD: 3124)
the phase of pwm 5 and 7 is changed.
There are 2 DCDC converters (DCDC1 use pwm 4,5. DCDC2 use pwm 6,7). because of power consumption we want to have a fixed phase shift between pwm 4,5 and pwm6,7 of 90 degrees.
To generate this I have configure pwm 4 as master and set the start counter value to 3124 / 4 (TBCTR). pwm 5 is set as slave with a start counter value of 0. pwm 6 is set as master with start counter value 0. pwm 7 is set as slave with start counter value of 0. (Epwm 1 is also configured to 48 kHz)
Now I expected that pwm4 and pwm5 to be exact 90 degrees phase shifted again pwm 6 and 7. measurements show this was not the case. after tweaking I configured the TBCTR to 3124 / 4.58, this gives a 90 degrees phase shift.
Where does this difference come from? I have disabled TBCLKSYNC during configuration of the pwms