Introduction
EPWM Deadband example
This example configures ePWM1 TO ePWM6 as follows:
- ePWM1 with Deadband disabled (Reference)
- ePWM2 with Deadband Active High
- ePWM3 with Deadband Active Low
- ePWM4 with Deadband Active High Complimentary
- ePWM5 with Deadband Active Low Complimentary
- ePWM6 with Deadband Output Swap (switch A and B outputs)
External Connections
- GPIO0 EPWM1A
- GPIO1 EPWM1B
- GPIO2 EPWM2A
- GPIO3 EPWM2B
- GPIO4 EPWM3A
- GPIO5 EPWM3B
- GPIO6 EPWM4A
- GPIO7 EPWM4B
- GPIO8 EPWM5A
- GPIO9 EPWM5B
- GPIO14 EPWM6A
- GPIO11 EPWM6B
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