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.

Pullup resistor for unused pins of a PIC microcontroller?

Status
Not open for further replies.
No, it's wrong!

MCLR is an 'input only' pin on most PICs and it doesn't have an internal pull-up current source simply because it usually doubles as the programming voltage input. It NEEDS a pull-up OR to be actively driven for it to work

Unused pins should never be left floating. The rule is 'if it can be programmed as an output, drive it low', otherwise pull-it up or down. If you can only program the unused pins to be inputs, tie them together and use a single pull-up or pull-down for them.

Brian.
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
Hi,

Setting an unused pin as output_low is uncritical.
No EMI problem.

Klaus
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
Agreed, it's a strange claim to make since presumably, although not essentially, the pin would carry no signal.
You could of course make use of the pin(s) by taking them to test pads and outputting some diagnostic data, for example part of a checksum of the internal program ROM or maybe an indication that some internal process is underway.

I often use 'spare' pins as diagnostic aids, for example toggling them as serial data bytes are been received so I can see the UART is working, even if the rest of the program needs debugging.

Brian.
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top