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.

Initializing PWM

Other Parts Discussed in Thread: CONTROLSUITE

Im still new to piccolo C2000. I would like to test on the pwm. I have tried few codes on my own initializing PWM. I have followed the steps required in the datasheet and does not seem to be working. How do you exactly initialize pwm on piccolo c2000 F28027?

Thanks in advance,

Gregorius

  • Hi,

    You did mention that you referred PWM sample codes in controlSuite, didn't you? Also, in your previous post I did check your code and it seems to be done in a haphazard way. Yes you've isolated the code into individual functions but you're missing the flow. So what I would like you to do is, refer "epwm_updown_aq" or "epwm_up_aq" example and follow their footsteps. As for multiple PWMs you just have to copy paste the configurations done for the 1st one.
    Let me know if you need more help.

    Regards,

    Gautam