I am using 6 ePWM channels with one of them being set as main. The phase shift given to some of the channels go from a small positive value to a small negative value. The way, I have programmed it currently, is that I subtract the phase shift from the total number of clock cycles in our PWM cycle and that will be given to the ePWM channel. All the channels are synched at counter=0 of the main ePWM with their phase shift being set. If the phase shift goes from a small negative value to a positive value, a cycle is missed. For example, in PWM cycle of 6000 clock cycles, if the phase shift is at 0.033, 198 is given to the ePWM block and if it oscillates to -0.033, 5802 will be given to the same ePWM channel and this will cause a skip in one of the cycles. Do you have any suggestions on how to fix this?