I am receiving random MCLR resets both during RUN time and during SLEEP
My circiut in MCLR is as follows (Sorry for the crude drawing)
Code:
3.3V 10K DIODE 4|
*---------^^^^------->|------------| MCLR/CPP/RA5 Input. on PIC
| |
|
|
To Programming Header
I have 0.1uF caps on the Power Supply pin.
Any one else have similar problems? Any suggestions on how to combat?
Watchdog is enabled
Brownout is disabled
Powerup Timer is enabled
Ali Guest
Posted: Fri Mar 24, 2006 1:57 pm
OK.. A quick question, Since I only use MCLR for programming and
I do not need an external reset to the processor.
can I just set that pin for I/O only and will that solve my MLCR reset problem?
Then set that pin as an Input.. Since in hardware it is tied to 3.3V. (or so)
Thanks in advance..
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Mar 24, 2006 2:29 pm
I would get rid of the diode. Most people just use the 10K resistor
to provide isolation between the +13v programming voltage and
the +3.3v generated from the boards own voltage regulator.
This advice is for boards that use the Microchip ICD2 as an in-circuit
programmer.
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Fri Mar 24, 2006 3:54 pm
And don't forget the other popular suggestion: Set the NOLVP fuse.
Ali Guest
Posted: Sun Mar 26, 2006 8:58 am
Thanks for your replies.
I do have NOLVP set, and I will take out the diode and see if it helps the situation. I've done some searching on the site and have seen a few people use resistors in the 4.7 to 1K range? Anyone had to do that for ESD protection in portable devices?
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