AnsweredAssumed Answered

eTimer PWM Generation

Question asked by Florian Farrenkopf on May 11, 2017
Latest reply on May 15, 2017 by Peter Vlna

Hello

i am using the eTimer peripheral for generating a PWM signal.

I use the "variable frequency mode" with "OUTMODE = toogle OFLAG O/P using alternating compare reg" and i can generate a PWM signal with duty cyles 1% to 99%.

I do not know how to generate a duty cyle of 0% (output signal = low) and a duty cycle of 100% (output signal = high).

How to generate these signals in variable frequency mode?

Maybe i have to switch the "OUTMODE" to "software controlled mode"?

 

Best regards,

Florian

Outcomes