AC Motor Control Pulse Width Modulation (PWM) eTPU Functions


The PWMMAC and PWMF functions enable the eTPU to generate PWM signals for driving a motor. The PWM Master (PWMMAC) function synchronizes and updates up to three PWM phases. The phases are driven by the PWM Full Range (PWMF) function that enables a full 0% to 100% duty-cycle range. The PWMF function generates the PWM signals. The PWMMAC function controls the PWMF function, does not generate any drive signal, and can be executed even on an eTPU channel not connected to an output pin. If connected to an output pin, the PWMMAC function turns the pin high and low, so that the high-time identifies the period of time in which the PWMMAC execution is active. In this way, the PWMMAC function, as with many of the motor-control eTPU functions, supports checking eTPU latencies using an oscilloscope.

Functionality of PWMMAC + PWMF.

For full description refer to AN2969.