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

What capacitor is suitable for 20MHz crystal?

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







What capacitor is suitable for 20MHz crystal?
PostPosted: Fri Nov 15, 2002 5:52 am     Reply with quote

Dear all,

Hi, thanks for all ur help just now. U all are really expert in PIC. Because can answer almost all my questions. How u all learned it?

I'm here having a doubt on what is the suitable capacitor value for 20MHz crystal when using PIC16F876? Because the datasheet shows it can be from 15pF to 33pF. I don't know the larger the better or smaller the better. But at the moment I use 33pF type.

Hope to get your response soon. Thanks.

Regards: June,
___________________________
This message was ported from CCS's old forum
Original Post ID: 8971
Gerrit Faas
Guest







Re: What capacitor is suitable for 20MHz crystal?
PostPosted: Fri Nov 15, 2002 6:04 am     Reply with quote

Hi june,

For exact frequency it depence on the cystal specs.
For my quick and easy boards I use 18 pF and until know
no problems.


Regards,

Gerrit


:=Dear all,
:=
:= Hi, thanks for all ur help just now. U all are really expert in PIC. Because can answer almost all my questions. How u all learned it?
:=
:= I'm here having a doubt on what is the suitable capacitor value for 20MHz crystal when using PIC16F876? Because the datasheet shows it can be from 15pF to 33pF. I don't know the larger the better or smaller the better. But at the moment I use 33pF type.
:=
:= Hope to get your response soon. Thanks.
:=
:=Regards: June,
___________________________
This message was ported from CCS's old forum
Original Post ID: 8972
adimot
Guest







Re: What capacitor is suitable for 20MHz crystal?
PostPosted: Fri Nov 15, 2002 6:22 am     Reply with quote

:=Dear all,
:=
:= Hi, thanks for all ur help just now. U all are really expert in PIC. Because can answer almost all my questions. How u all learned it?
:=
:= I'm here having a doubt on what is the suitable capacitor value for 20MHz crystal when using PIC16F876? Because the datasheet shows it can be from 15pF to 33pF. I don't know the larger the better or smaller the better. But at the moment I use 33pF type.
:=
:= Hope to get your response soon. Thanks.
:=
:=Regards: June,

I use 18 pF.
But I had to change the crystal once to make it work. Try that yourself.
This is what I use :
#FUSES HS,NOWDT,NOLVP,NOWRT,NOPROTECT,PUT,BROWNOUT // PIC fuse settings.
Put a 100 nF capacitor near the power pins (19 and 20, GND and +5V). And ground both pins 8 and 19.
___________________________
This message was ported from CCS's old forum
Original Post ID: 8977
Sherpa Doug
Guest







Re: What capacitor is suitable for 20MHz crystal?
PostPosted: Fri Nov 15, 2002 7:52 am     Reply with quote

Ask the manufacturer of your crystal.

:=Dear all,
:=
:= Hi, thanks for all ur help just now. U all are really expert in PIC. Because can answer almost all my questions. How u all learned it?
:=
:= I'm here having a doubt on what is the suitable capacitor value for 20MHz crystal when using PIC16F876? Because the datasheet shows it can be from 15pF to 33pF. I don't know the larger the better or smaller the better. But at the moment I use 33pF type.
:=
:= Hope to get your response soon. Thanks.
:=
:=Regards: June,
___________________________
This message was ported from CCS's old forum
Original Post ID: 8981
Miguel Martin
Guest







Re: What capacitor is suitable for 20MHz crystal?
PostPosted: Sat Nov 16, 2002 4:44 am     Reply with quote

:=Dear all,
:=
:= Hi, thanks for all ur help just now. U all are really expert in PIC. Because can answer almost all my questions. How u all learned it?
:=
:= I'm here having a doubt on what is the suitable capacitor value for 20MHz crystal when using PIC16F876? Because the datasheet shows it can be from 15pF to 33pF. I don't know the larger the better or smaller the better. But at the moment I use 33pF type.
:=


Hi. At moment I use 22pF, SMD capacitor. You need some precautions in grounding these capacitors. The point to ground MUST be shortly to VSS pin of the chip. This avoid possibility of ground loops, and works correctly.

Bye.
WMMG
___________________________
This message was ported from CCS's old forum
Original Post ID: 9031
June
Guest







Thanks for your answer
PostPosted: Wed Nov 20, 2002 11:50 pm     Reply with quote


___________________________
This message was ported from CCS's old forum
Original Post ID: 9198
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