SPRADL7 July 2025 F28E120SC
In the Application-Specific Microcontrollers (ASM) device family, there are different types of PWM modules: EPWM (Enhanced Pulse-Width Modulator) and MCPWM (Multi-Channel Pulse-Width Modulator) module. Most C2000 devices such as F2837xD, F28003x and F28P55x have utilized the EPWM module. The F28E12x devices are the first to utilize the MCPWM module.
The MCPWM module was designed as a low-cost version of the EPWM module specifically for motor control applications. More specifically, a single MCPWM module is intended to drive a 3-phase motor. For this reason, a single MCPWM instance can have up to six outputs unlike the EPWM module which only has two. Still, the core functionality of the MCPWM module remains the same.
Due to the reduced feature-set of MCPWM, and the combination of three PWM pairs into a single MCPWM instance, the programming procedure for the two modules have significant differences which are addressed in this document. The programming procedures and feature differences for the time-base, counter-compare, action-qualifier, and other submodules are detailed. The recommended workarounds to successfully migrate an EPWM-based application to MCPWM are described in this application note.