[AVR] Quesition related to Avr microcontroller PWM

Status
Not open for further replies.

Karrar Hussain

Newbie level 4
Joined
Mar 18, 2014
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
36
How can i change the frequency of pwm signal .Although i can change the duty cycle but how to change the frequency .
There is a formula with prescaler .The formula is given below :
F=F(oscillator)/{(Top+1)*N}
Since the top value is constant ,so there is only one option left .To change presclaer (N) for changing frequency .Is there any other option available to change the frequency of pwm signalin Avr .
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…