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.

MCU-PLUS-SDK-AM263X: EPWM new instance

Part Number: MCU-PLUS-SDK-AM263X
Other Parts Discussed in Thread: SYSCONFIG

Hi
I am checking epwm_hr_duty_cycle_am263x example code. I am able to change the duty cycle and frequency of the EPWM instance which is added in the example. But, When I add a new instance of EPWM in SysConfig it does not work (no output on pwm dedicated pins). The configuration of the new PWM instance is exactly same as the PWM which has been already added in the example but there is no output.

  

The above screenshots are the two configuration of the EPWM which are exactly same.

Would you please guide me if I am doing something wrong?

Best Regards

Saman

  • Hi Saman

    Thanks for Asking the question. Apologies for the delay in response.

    For seeing a basic PWM Waveform we need to configure the below settings:

    1. Set the Time Base Counter.

    2. Set the Counter Compare if you want to trigger the PWM waveforms depending on a specific counter value.

    3. Set the Action qualifier for at what trigger the PWM has to toggle high or low.

    4. Choose the EPWM instance (depending on the hardware pins on which you want to see the PWM waveforms)

    I hope you are doing all these three settings.

    Could you please share me your action qualifier settings as well?

    Thanks & Regards

    Sri Vidya