CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

int osc

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
teekaytk



Joined: 14 Jan 2005
Posts: 28

View user's profile Send private message

int osc
PostPosted: Mon May 22, 2006 3:25 am     Reply with quote

hi all
is it possible to use int osc and rs232 together. i think the intosc clock is not accurate to about 10%. is that right? and if so does that affesct rs232

pls help

thanks
Ttelmah
Guest







PostPosted: Mon May 22, 2006 4:07 am     Reply with quote

Depends on the int osc, and the temperature.
If you look at (for instance), the 16F628, the internal oscillator, is warranted to be between 3.65, and 4.28MHz, over the entire temperature range, from a 5v supply. This is -9.5 to +7%, and would cause problems. If instead you look at the 18F2420, this has a 'typical' error of +/-1% (at 25C), and a max/min, at the same temperature of +/-2%. Over the entire commercial temperature range, this achieves +/-5%, while going out to the extended temperature range, the error rises to +/-10%. These chips, if operated in a 'reasonable' temperature enviroment (+10 to +40C for example), will maintain acceptable values, with problems appearing over wider temperature ranges. You can in fact read an external temperature sensor, and tweak the oscillator, to compensate for this, and Microchip have a formula, for how the frequency changes with temperature, which does allow figures in the order of +/-3% to be achieved over the entire temperature range if required.

Best Wishes
teekaytk



Joined: 14 Jan 2005
Posts: 28

View user's profile Send private message

PostPosted: Mon May 22, 2006 5:05 am     Reply with quote

thanks
i am using the pic18f4620 for zigbee. so i think there should nt be a problem then using it at room temp

thanks for your help
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
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