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

PIC 16F876 Resetting...

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



Joined: 16 Feb 2005
Posts: 25

View user's profile Send private message

PIC 16F876 Resetting...
PostPosted: Wed Feb 15, 2006 1:13 pm     Reply with quote

The PIC is resetting randomly...whats going on...??

I have a Push button for RESET PIC

Observation:

If I remove the RESET to MCLR the PIC works fine....add back in it works, but have some random resets?

checked the push button, I think it is good....

I need th RESET button!.

Do you think it is the noise? or adding a cap (something like .1uF) bet Vcc and Vdd will help...?


thanks.
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Wed Feb 15, 2006 2:08 pm     Reply with quote

Quote:

Do you think it is the noise? or adding a cap (something like .1uF) bet Vcc and Vdd will help...?

A ceramic capacitor between Vcc and Vdd is a must, no matter if it reset randomly or not.

Assuming you have a hardware problem in the reset line, the following are contributors to generate random reset:
- A high resistance value used as pull up.
- If wired to a pushbutton, long non shielded nor twisted cables.
- Defective switch/contact/connector. You can test this hitting the parts with some "light hammer"
- If an IC socket is used, low/poor contact pressure, dirty pins.


Humberto
digitalfreak



Joined: 16 Feb 2005
Posts: 25

View user's profile Send private message

PostPosted: Wed Feb 15, 2006 3:51 pm     Reply with quote

thanks Humberto

added .1uF cap bet Vdd and Vcc - decreased the random resetting action a lot....

pull up is 5.1K
push button is OK and
iam using IC sockets, pins look fine though..

I still sometimes see (very rare though, not as frequent as before) random resets.

is there anything else i can try....

thanks.




Humberto wrote:
Quote:

Do you think it is the noise? or adding a cap (something like .1uF) bet Vcc and Vdd will help...?

A ceramic capacitor between Vcc and Vdd is a must, no matter if it reset randomly or not.

Assuming you have a hardware problem in the reset line, the following are contributors to generate random reset:
- A high resistance value used as pull up.
- If wired to a pushbutton, long non shielded nor twisted cables.
- Defective switch/contact/connector. You can test this hitting the parts with some "light hammer"
- If an IC socket is used, low/poor contact pressure, dirty pins.


Humberto
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