Tool/software:
Hi, Experts
I encountered a problem when using the phase-shift function of the EPWM module on the C2000 chip. The configuration is as follows: UP MODE is used, the Duty of EPWM and EPWMB is 50%, and there is an additional 120ns dead time. When the value of the phase-shift register is changed, if the value of the phase-shift register is such that TBPHS > CMPA, the comparison event is skipped, resulting in a full duty cycle for one period, and the subsequent waveforms will return to normal. Can this problem be solved? The description picture is as follows:
Hi Steven
Yes if you exceed PHS value before CMP value is encountered by the TBCTR running counter the event will be missed.
I would suggest you do shadow loading and adjust the PHS value such that you don't miss the event. Below are few threads which talk about this in details
Thanks