Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC MCU and MCLR internal pull-up

Status
Not open for further replies.

nanorobot

Newbie level 6
Joined
Jun 16, 2012
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,406
Hi

Some pic microcontrollers (in my case pic16LF1503) - when MCLR is enabled - have MCLR pin internally connected to Vdd through a weak pull-up. My question is: Does it mean that I do not have to use external pull-up resistor to tie up MCLR pin to Vdd? I've been searching for a definite answer but I haven't found any. Some people say that if there is an internal pull-up, there is no need to use an external pull-up resistor and the MCLR pin can be left floating. Some people also say that even if there is an internal pull-up, it is recommended to use an external pull-up resistor (and they don't exactly say why). Thank you for any suggestions.
 

Hi,

Prove it to yourself, if you have Mclre ON and leave Pin1 unconnected , the program may not run at all, or run on and off because that pin is floating.
For that reason you must tie Pin1 to Vdd either direct or via a resistor, typically 10k, which is often used with a cap in a reset switch situation.

I believe the weak internal pull up you refer to is used by the chip to tie its internal MCLRE cicuitry up to Vdd, when you have Mclre = OFF


Edit, should add that the cost of the parts for a diy one, plus postage , time and effort, it is far cheaper to buy a reliable ready made Pickit.
If the Microchip ones are too expensive, then consider a Sure Pk2 clone or similar on via ebay
 
Last edited:

Prove it to yourself

I did. It works perfectly fine, no random resets etc.


I believe the weak internal pull up you refer to is used by the chip to tie its internal MCLRE cicuitry up to Vdd, when you have Mclre = OFF

PIC16(L)F1503 data sheet (page 56 6.4.1 MCLR ENABLED) says:
When MCLR is enabled and the pin is held low, the
device is held in Reset. The MCLR pin is connected to
VDD through an internal weak pull-up
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top