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.

CCS/TMS320F28035: Generating Epwm waveforms

Part Number: TMS320F28035
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi,

I am trying to generate 3 delayed PWM waveforms as shown in the technical reference page 295 http://www.ti.com/lit/ug/sprui10/sprui10.pdfthe code that i am using.Could you look into it at once.

  • Silpa,

    are you having an issue? That code is simply an example of what the setup code should ideally look like. That code snippet looks like it should setup the sync chain, but I would recommend you verify it by synchronizing to different values. You will still need to write the code to control the duty cycles for each PWM.

    If you would like to used the dead-band submodule, please download C2000Ware and look at the following example. <install-directory>\c2000\C2000Ware_1_00_06_00\device_support\f2803x\examples\c28\epwm_deadband.

    If you ask a question I will try to answer it.

    Regards,
    Cody 

  • Hi,

    I have modified the deadband submodule example <install-directory>\c2000\C2000Ware_1_00_06_00\device_support\f2803x\examples\c28\epwm_deadband and also the epwm_updown_aq example as per the code snippet provided in page 295 of the technical reference .Still am getting only a constant value at the ePWM pins .

    Regards ,
    silpa
  • Silpa,

             What do you mean by

    silpa JAYARAJ said:
    Still am getting only a constant value at the ePWM pins .

    Are you seeing a constant logic high or logic low level? If so then you have broken the examples when merging code. Have you tried running the unmodified example? Check your GPIO configurations, the clocking, check your Action Qualifier settings

    Are you seeing a PWM output, but at a fixed period and duty? This wouldn't be to surprising because you will likely need to write the code to modify the compare values.

    Regards,
    Cody 

  • Silpa,
    are you still having issues? This post will be closing soon. Please post back if you are still having issues.

    Regards,
    Cody