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 CCS Technical Support

18F2520 Timer Setup Problem
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah
Guest







PostPosted: Mon Jul 06, 2009 10:13 am     Reply with quote

You are wrong on the frequency spec part.

The _chip_ has a maximum speed rating of 40MHz.

The _internal oscillator_ has a maximum speed rating for the external crystal of 25MHz.

You can run it at 40Mhz, with an external oscillator, _or_ by using 10MHz on the internal oscillator, and the PLL, to give a 40MHz oscillator output. This is what the Microchip site refers to. The crystal oscillator will _sometimes_ run with a crystal at 40MHz, _but will be very unreliable_.

It is _vital_ for long term reliability of your designs, that you learn to read what data sheets are actually _saying_, rather than what you think they say. The MicroChip site, does not disagree with the data sheet. They refer to the oscillator output, rather than the actual frequency of oscillation of the crystal.

The most likely cause for your problems, is that your crystals _do not_ meet the specification from the Microchip site. They almost certainly have a higher gain than is specified, overdriving the oscillator, and the PLL. This overdrive is allowing the oscillator to run well beyond it's specifications....

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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