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

PIC and reset problem

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



Joined: 04 Oct 2011
Posts: 3

View user's profile Send private message

PIC and reset problem
PostPosted: Sun Oct 09, 2011 6:20 am     Reply with quote

Hello,

I am using PIC18F4520 and Its datasheet says that oscillator capacitors are 15pF if you use 10 MHZ crystal. But when I used this configuration, pic usually gets reset. I tried to use several capacitors and with 33pF its a bit better now. But its very bad to get reset again and again.

Does anybody have the same problem? How can I make my PIC much more stable?

with kind regars,
Sunay
temtronic



Joined: 01 Jul 2010
Posts: 9226
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Oct 09, 2011 7:43 am     Reply with quote

Those caps should not affect the reset.
To prove that, just reconfigure to use the internal osc. !
What value of resistor do you have on *MCLR( pin 1).
I use a 10K
Also what fuses are you using?
Is this a PCB or a breadboard ?
High or low humidity ?
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