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

Crystal - Diferences

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



Joined: 07 Jul 2005
Posts: 3

View user's profile Send private message

Crystal - Diferences
PostPosted: Fri Nov 18, 2005 9:19 am     Reply with quote

Hi All!

I have a PIC16F877A and I want it to run at 20Mhz.

In CCS Wizard the oscilator I need to choose High Speed Crystal(>4Mhz).
But when I choose HS the PIC doesn´t work.
If I use 4Mhz cristal with XT configuration it runs ok.

My question: What is the diferences between them?

The crystals its self is the same, just the frequency changes.

Thanks.

Tercio
Ttelmah
Guest







PostPosted: Fri Nov 18, 2005 9:34 am     Reply with quote

HS, increases the gain of the oscillator to deal with the extra losses at higher frequencies. You say the crystal stays the same. Presumably you mean that you are using the same 'type'?. Are you sure that the type you are using actually meets the specs required for the PIC oscillator?. This becomes _much_ more important as the frequency rises, with the oscillator actually working with crystals that are well 'off spec', at lower frequencies, but failing when higher frequencies are used. What voltage are you running the PIC?. What load capacitance have you got on the crystal?. Have you looked at the MicroChip application notes on crystal selection?.

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
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