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.

TMS570LS1224: ePWM module set PWM to zero

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hello,

I want to generate a PWM signal with the ePWM module.

I use the halcogen function 'etpwmsetcmpA(..)' to control the pwm output. This works fine so far.

But when I want to set the PWM to zero, one full PWM period with a duty cycle of 100% occurs. (See attachment)

What is the reason of this behavior? How can I create a direct zero on the output?

Thanks
Daniel Diener