cancel
Showing results for 
Search instead for 
Did you mean: 

PWM frequency

jacksons1976
Associate
Posted on November 29, 2004 at 02:44

PWM frequency

2 REPLIES 2
jacksons1976
Associate
Posted on November 25, 2004 at 15:12

How to vary the frequency of the PWM, using ATR ?

jatin
Associate II
Posted on November 29, 2004 at 02:44

You can vary the PWM frequency by varying the ATR register value. The ATR value is loaded into the counter register at each overflow(OVF) event. You can calculate the ATR value for selecting a particluar frequency according to your counter clock selection.