Dears
PWM is sent out using two ePWM modules ePWM1A and ePWM2A. The synchronization signal of ePWM2A is ePWM1A.PWM needs to update the three parameters of the TB module (CMA, PERIOD and PhaseShift) at regular intervals (CMA and Period update parameters are the same).
In the test, it was found that CMA and PERIOD were the values I needed, but the phase deviation produced serious deviation.
In the test, it is found that the operation order of the phase offset register has an impact on the results. However, after operating the PhaseShift register before and after updating the CMA or PERIOD, the results are not what I need.
In the fixed period, the phase deviation works normally. Why can't the phase deviation take effect when the PERIOD is changed?