OpenServo.com Forum Index OpenServo.com
Discussion of the OpenServo project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Timing for 20/16 MHz resonators

 
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
mpthompson



Joined: 02 Jan 2006
Posts: 650
Location: San Carlos, CA

PostPosted: Thu Apr 27, 2006 6:06 am    Post subject: Timing for 20/16 MHz resonators Reply with quote

While contemplating the support of 20 MHz resonator on the ATmega168 and and 16MHz resonator for ATmega8 I added appropriate #defines in the config.h, adc.c and pwm.c files to support faster clock rates. This is actually not supported in the current OpenServo hardware for technical reasons explained in other threads.

I'm going to check this code into CVS so as to not lose the changes. However, my worry is that the timing values won't be maintained properly as we all will likely be using the internal 8MHz oscillator built into the AVR MCU. I will put a compile time warning that will indicate if #define FAST_CLOCK_ENABLED is set all timing dependent values need to be verified by the user.

-Mike
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group