This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] F29x ePWM: Frequently Asked Questions

Part Number: F29H859TU-Q1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Where can I find answers to frequently asked questions related to using ePWM on F29x devices?

  • For reference, please see F29x General FAQ for other IP/peripherals

    F29x ePWM Frequently Asked Questions

    Is Digital Compare Submodule embedded in ePWM and dedicated for ePWM? Or does it only refer to the CMPSS?

    • The digital compare submodule is embedded inside the PWM. CMPSS signals are an input to the PWM. CMPSS is separate from the PWM.

    Can TRIPIN be sourced from GPIO or an analog input pin?

    • TRIPIN can be sourced from a GPIO via the following path. GPIO -> INPUTXBAR -> PWMXBAR -> Digital compare submodule (example: TRIPIN3). Alternatively if you take a look at the GPIO MUX to Trip Input Connectivity Diagram, you can do the following path GPIO -> INPUTXBAR -> TZ[1-6]. TZ[1-6] is connected straight to the PWM to trip the PWMs.

    How are DCAH and DCAL thresholds set for comparison? How do you configure them?

    • The thresholds to set for CMPSS TRIPH and TRIPL signals are done within the CMPSS. The DCAH and DCAL signals are used for the features in the DC submodule and can be used to generate trip zone events. DCAH and DCAL are sourced from TRIPIN[1-15] or ORed combination of TRIPIN. The TRIPIN signals are connected to PWMXBAR. To generate the DCA/BEVT1/2.force signals to the Trip Zone submodule you’ll have to configure the condition for digital compare output. This is under the “Condition for digital compare output 1/2 A/B” option in SysConfig.

    On previous C28x HRPWM, a common issue is that PWM missing edge occurs under certain conditions. Under what conditions does this occur for F29x Type-5 PWM? 

    • Type5 has additional edges (up to 8 edges) that can be placed within a period to remove the missing edge problem under certain conditions

    In the TRM, why is the description of EPWMXLINK missing?

    • There is XLINK within the ePWM registers on F29x, it's now found in the DEV_CFG_REGS in F29x. Please refer to the TRM on how to enable this feature: F29x FAQ

    What features are new to type-5 PWM? For example, PWM XLINK.