Question: How do you implement three-phase PWM generation?
To generate three-phase PWM signals shifted by 120 degrees, four PWM user modules are required. One PWM user module is used to generate the time interval for the other three PWMs to generate three-phase PWM signals shifted by 120 degrees. The period of the PWM that generates the time intervals for the other PWMs should be adjusted to one third of the output frequency of the other three PWMs. The PWM that generates the time intervals has to be configured for terminal count interrupt. The three PWM user modules have to be started during the first three terminal count interrupts sequentially. The three-phase PWM can be used to generate signals for three phase motors.