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

spare pins on a micro

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



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

spare pins on a micro
PostPosted: Sun Mar 30, 2008 9:16 pm     Reply with quote

Just a quick question,
is it better to ground any unused PINs or just leave them floating.
I an using the 24FJ256(BG)106 I will be using about 1/2 on a particular project.

Or can I have the unused pins float with them internally grounded. Confused
_________________
What has been learnt if you make the same mistake? Wink
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 9:39 pm     Reply with quote

Set unused pins to be outputs and force them either high or low - it doesn't matter. Don't externally connect them to anything on the PCB - just leave their pads unconnected. Never let them float as inputs as they can potentially oscillate or assume an intermediate voltage that causes excess current draw.
Storic



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

PostPosted: Sun Mar 30, 2008 10:13 pm     Reply with quote

thanks Smile Embarassed after thinking about this, you have confirmed what I thought would be OK to set, yes I will set the unused pins as an output and will properly set output to low.

It is just I found on other designs, spare pins were grounded. (these may have been spare input pins Confused )

I guess on another note, should I need to use another pin for something, I have a number of spares that I can use without the need to try and take the ground of (if externally done) Smile
_________________
What has been learnt if you make the same mistake? Wink
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 10:58 pm     Reply with quote

Storic wrote:
I guess on another note, should I need a to use another pin for something, I have a number of spares that I can use without the need to try and take the ground of (if externally done) Smile


Absolutely. There's no shame in adding barnacles to a board. Wink
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