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.

TMS320F280049C: How to set ePWMB both edge delay comparing to ePWMA

Part Number: TMS320F280049C
Other Parts Discussed in Thread: SYSCONFIG

Hello, I am trying to create PWM signals with PWMB both edges delaying comparing to PWMA. I tried different options in Sysconfig, all options are one edge delay and another edge earlier.

I don't think it couldn't set what I want, but couldn't find how to configure. Anyone can help with this? Thanks!

  • Hi Crane,

    Our expert will get back on this issue today.

  • Hello Crane,

    The first thing to note is that it's impossible for the DB module to cause a signal to come earlier than it's source- both rising and falling edge delays (RED, FED) are delay values for their respective edges, the beginning and end of a signal pulse, respectively.

    For the specific use case you're describing, ePWMxB acting as a phase-shifted ePWMxA, I suggest glancing through the TRM for your device, located here. Section 18.7.3 describes how to do exactly what you're looking for!

    To convert the logic described in the TRM into SysConfig settings, you can set the FED input to be the output of the RED (this is one of the options for FED input), then set the delay values for your RED & FED values- but only hit the checkbox for the FED. (If the delay value setting only appears when the respective checkbox is marked, then you may need to update to a newer version of SysConfig- this was a known issue that has since been fixed)

    I hope this helped!

    Regards,

    Jason Osborn

  • Thanks Jason. Understand.

    One question left, you said "you can set the FED input to be the output of the RED (this is one of the options for FED input)", I don't see this option at below screenshots.

    Are they the places where to set what you mentioned?

  • In the second screenshot, the third option in the dropdown for the FED input is the one I'm referring to.

    Happy to help,

    Jason Osborn

  • Ok got it. It is clear. Thanks!