Introduction
This example configures ePWM1, ePWM2, ePWM3 to produce an waveform with independent modulation on EPWMxA and EPWMxB.
The compare values CMPA and CMPB are modified within the ePWM's ISR. The TB counter is in up count mode for this example.
External Connections
- View the EPWM1A/B(GPIO0 & GPIO1), EPWM2A/B(GPIO2 & GPIO3) and EPWM3A/B(GPIO4 & GPIO5) waveforms via an oscilloscope.
Steps to Run the Example
- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see CCS Build Project).
- When using makefiles to build, note the required combination and build using make command (see Makefile based Build)
- Establish connections as mentioned in External Connections section.
- Launch a CCS debug session and run the executable, see CCS_LAUNCH_PAGES
See Also
EPWM