Arm Mbed OS support forum

Please tell me, how to use 6-channel PWM wave to control the switch of MOS tube?

Normal output of 6 channels of PWM is possible, but the 6 channels of signals are all synchronized. If the three-phase full-bridge inverter circuit is controlled, the difference between the three phases must be 120 degrees. How should this be reflected in the program? 3 Stagger the output of pwm for a period of time, and output alternately according to the difference of 1/3 of the cycle?