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.

HET Issue: Cannot stop pwm output, if duty cycle was set to 100%

Other Parts Discussed in Thread: HALCOGEN

Hello,

I am using the pwm generation on the TMS570 platform using the HET module. I generate the code using HAlcogen (version 03.03.01).

The pwm generation works so far, however if Ithe duty cycle was set before to 100% (pwmSetDuty()) , calling the method pwmstop from the generated het.c does not deactivate the output.

For any other pwm duty cycle, I can stop the pwm generation, and the output on my pin is low.

Should I explicitely set the pin to low, after having called the pwmStop method ?

Thanks an regards

Emmanuel