F29H85x-SDK  1.03.00.00
 
EPWM Digital Compare Event Filter

Introduction

EPWM Digital Compare Event filter and Blanking window

This example configures ePWM1 as follows:

  • ePWM1 with DCAEVT1 forcing the ePWM output LOW
  • GPIO25 is used as the input to the INPUT XBAR INPUT1
  • INPUT1 (from INPUT XBAR) is used as the source for DCAEVT1
  • GPIO25's PULL-UP resistor is enabled, in order to test the trip, PULL this pin to GND
  • ePWM1 with DCBEVT1 forcing the ePWM output LOW
  • GPIO25 is used as the input to the INPUT XBAR INPUT1
  • INPUT1 (from INPUT XBAR) is used as the source for DCAEVT1
  • GPIO25's PULL-UP resistor is enabled, in order to test the trip, PULL this pin to GND
  • DCBEVT1 uses the filtered version of DCBEVT1
  • The DCFILT signal uses the blanking window to ignore the DCBEVT1 for the duration of DC Blanking window

External Connections

  • GPIO0 EPWM1A
  • GPIO1 EPWM1B
  • GPIO25 TRIPIN1, pull this pin low to trip the ePWM

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