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.

TMS570LS3137: TMS70LS3137 PWM question

Part Number: TMS570LS3137
Other Parts Discussed in Thread: TMS570LC4357

Hello,

On the Hercules product page PWM(ch) section its written TMS570LS3137 doesnt have any PWM. Does it mean this model of Hercules not able to generate PWM signals?

Thanks

  • Hello,

    That means that this MCU does not include the ePWM module for generating PWMs. You can use the High-End-Timer (HET) module to generate up to 44 separate synchronized PWMs.

    Regards, Sunil

  • Hello again,

    Thanks for the reply. What is the difference between ePWM and PWM in hercules in terms of advantages/disadvantages?

    Best.

  • The HET module is a programmable coprocessor with its own instruction set (29 instructions). This is dedicated to timing functions and can be programmed to autonomously respond to input signals' period / duty-cycle changes and perform complex operations on the output PWM. There is an IDE that can help you become familiar with programming the HET. Download the IDE here: 

    For example, a PWM can be generated using the HET by setting up a counter (CNT instruction) and a compare threshold (ECMP, or equality compare instruction).

    The ePWM module is a module dedicated to generating PWMs based on a counter and programmable threshold compare values. This is slightly easier to use and takes lesser time to become familiar with.

    ePWM modules are incorporated in TMS570LS07x/09x/11x/12x and TMS570LC4357 MCUs. HET modules are incorporated in every TMS570 MCU.

    Hope this helps.