defining un-connected pins

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
rstechnics
Posts: 16
Joined: Mon Oct 29, 2007 12:17 pm
Has thanked: 2 times
Been thanked: 1 time
Contact:

defining un-connected pins

Post by rstechnics »

Hi,
in most digital designs the un-connected input pins of any chip have to be connected to the GND or VCC level, as floating pins can pickup noise etc, causing instable circuits.

In wich way this is neccessairy for the Microchip PIC-controllers?
Now using Flowcode4 at a PIC16F883, wich has about 12 pins I/O connected, but the rest unconnected.
Are these automatically set by Flowcode4 in the right state, or do we have to connect them to a VCC or GND level, possible with Pullup/down resistors?
Or something like to place and connect an output (LED) in Flowcode for each unused I/O pin?

This just to be sure, do not want to create unstable designs :-)
Many thanks, Luuk.
kind regards,
Luuk Aalders

RS Technics BV
for electronics engineering and industrial controls
The Netherlands
www.rstechnics.nl

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: defining un-connected pins

Post by Benj »

Hello Luuk

PICs are quite tolerant devices and you should be able to leave any unused I/O pins floating. This avoids damage that could be caused by linking to a supply rail. Eg if your unused pin is connected to ground and then happens to be told to be an output with a state of 1.

rstechnics
Posts: 16
Joined: Mon Oct 29, 2007 12:17 pm
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: defining un-connected pins

Post by rstechnics »

Thanks Ben, will leave unused pins floating then!
regards, Luuk
kind regards,
Luuk Aalders

RS Technics BV
for electronics engineering and industrial controls
The Netherlands
www.rstechnics.nl

Post Reply