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/TMS570LC4357: How to generate a complimentary PWM pair with TMS570 series?

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello,

Does anyone know how to generate a complimentary PWM pair with Hercules TMS570? I know how to do that with Halcogen with ePWM. But the problem is that I need a variable duty cycle instead of a fixed one.

Thank you so much,

Alice

  • Hello,

    HALCoGen generates APIs (for example etpwmSetCmpA() ) for ePWM module that can be used to change PWM duty cycle. ePWM module is described in TRM, Chapter 35.