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.

PWM Signal generation

Other Parts Discussed in Thread: HALCOGEN

Hello Everyone,

I have generated a Pwm Signal of frequency 20khz with different duty cycle uisng PwmSetduty instruction in CCS. I have set my Loop time as 30ns, Hr = 0, Lr = 2 Vclk2 = 110Mhz(In HalCoGen). With these Specification the program Overflow flag is set. If i increase the Loop time to 200ns. The program Overflow flag is Zero. How can I avoid this program Overflow and at the same get pwm Signal with higher Resolution.

Kindly help me.

Thank you.