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.

LAUNCHXL-F280025C: EPWM lab from the c2000 academy

Part Number: LAUNCHXL-F280025C
Other Parts Discussed in Thread: SYSCONFIG

I came across this epwm example from c2000 library under hands on lab section ( https://dev.ti.com/tirex/explore/node?node=A__Adlf59dR9TRikXjOlRRRsg__c2000Academy__jEBbtmC__LATEST ) , here only epwm1A is configured but my requirement is to configure both epwm1A and epwm1B and generate pwm's on them with a certain amount of  phase shift , may I know what are the changes need to be made in sysconfig settings and the code to meet my requirement? 

  • I came across this epwm example from c2000 library under hands on lab section ( dev.ti.com/.../node ) , here only epwm1A is configured but my requirement is to configure both epwm1A and epwm1B and generate pwm's on them with a phase shift and a delay of 100ns between the two signals , may I know what are the changes need to be made in sysconfig settings and the code to meet my requirement?

  • Hi Fathima,

    The code demonstrates using a GPIO0 as an output to an LED4 which is an example, in your case I believe you need a pair of ePWM for which you need to enable the action qualifiers on ePWMxB to generate complimentary pair.

    Please refer to the video session: ePWM training which explains in detail about the time base module, counter compare value, action qualifiers, trip zones etc.

    this content will help you to get the desired waveforms.

    Best, 

    Uttam