Académique Documents
Professionnel Documents
Culture Documents
User Name
Password
Log in
Register
Lost password?
Resend activation?
Remember Me?
Forum
Activity Stream
New
Posts
Unanswered Posts
What's
New?
Forum
Search
FAQ
Help
Forum Actions
Rules
Community
Groups
Albums
Blogs
Advanced Search
Quick Links
Microcontrollers
Results
1 to pins
16 of
what is the best practice to leave
unused
16
in a micro-controller
LinkBack
Sponsor
Thread Tools
Search Thread
#1
arbj2
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2012
133
7/7
1,118
7
what is the
best practice
to leave
unused pins
in a microcontroller
Hi,
I am using the
8F4620 mcu, in
my project
some of the
pins in the
device are left
un used, some
pins on the
PortB, some on
the PortA.
thanks
New Replies
Allegro PCB Editor 16.6 (1)
is there any library for image processing
codes in vhdl like imresize or imshow ?? (3)
gsm modem restarted while OUTPUT will
turn ON/OFF. (4)
RC-extractions/coners -> how many should
be done for SignOff (6)
Will an AC electromagnet respond to
harmonics? (8)
lcd interfacing in spartan 3E using vhdl (19)
Array Antenna Simulation and measured
differnce (8)
Errors of inout ports & their associated
expressions. (2)
[moved] D-Type Positive-Edge -Triggered
Flip-Flop with discrete components? (5)
Radiation pattern in CST studio (2)
How do I use Float in xc8 compilor ? (4)
Triac flashing with no gate signal (1)
[moved] Why I can't reply post? (1)
Assembly Code for data saving from keypad
in Registers(8051) (9)
delay calculation in vhdl (2)
How to read ram in test bench? (1)
How to multiplex serial data and send it to
the PC? (1)
Universal SMPS design (1)
not equal phase feeding of patch array
elements, what would be S11? (3)
Password problem on windows 8 (6)
Logic Formal Verification -> how does it
work? (10)
Signals and variables in VHDL (25)
Is it possible to make Capacitive touch
operated tone generator with
microcontroller? (1)
LVPECL to LVDS termination. (4)
linear variable resistor but output voltage is
not linear (7)
Reply With
Quote
#2
milan.rajik
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2013
2,415
499 / 499
11,771
26
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
Configure them
as digital input
pins and
connect them to
GND.
Reply With
Quote
#3
arbj2
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2012
133
7/7
1,118
7
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
but what if I
leave them not
connected to
anything, will
this damage the
mcu ??
Reply With
Quote
#4
milan.rajik
Join Date:
Posts:
Helped:
Points:
Level:
Sponsor
Apr 2013
2,415
499 / 499
11,771
26
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
No, it will not
damage the
MCU but make
then as digital
input pins.
Top Posters
Reply With
Quote
#5
srizbf
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2010
1,249
253 / 253
8,502
22
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
Origi
nally
Post
ed by
arbj
2
but
wha
t if I
leav
e
the
m
not
con
nect
ed to
anyt
hing,
will
http://www.edaboard.com/thread337418.html[6/4/2015 4:03:50 PM]
this
dam
age
the
mcu
??
open pins can
easily pickup
noise.
sometimes
difficult to
debug.
so connect
either to 1 or 0
level.
Reply With
Quote
#6
arbj2
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2012
133
7/7
1,118
7
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
ope
n
pins
can
easil
y
pick
up
nois
e.
Could this
damage the
chip ??
Reply With
Quote
#7
malli_1729
Achievements:
Join Date:
Feb 2007
Re: what is
the best
practice to
leave unused
pins in a
micro-
INDIA
160
25 / 25
2,505
11
controller
You can't leave
CMOS pins
OPEN.That can
damage the IC
itself... IF they
are inputs Pull
Up/Down
Reply With
Quote
#8
arbj2
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2012
133
7/7
1,118
7
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
so if I configure
the unused pins
as digital inputs,
then do I have
to connect
pullup
resistances to
them ?? or
should I just
configure as
input and leave
it.
Alternatively Is
it OK to
configure as
output and keep
them low
through
firmware
Reply With
Quote
#9
Easyrider83
Join Date:
Location:
Posts:
Helped:
Points:
Level:
Oct 2011
Tallinn, Estonia
525
120 / 120
3,136
13
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
You can leave
them in any
configuration. It
always
protected by
internal diodes.
But good
practice to leave
them as digital
input. Also, pullup if available.
But not
mandatory.
Love me or hate
me. All infractions
will be ignored.
spudboy488
Join Date:
Posts:
Helped:
Points:
Level:
Oct 2012
177
50 / 50
1,364
8
#10
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
If I have the
space, I'll run
them to a nonpopulated
connector and
set them as
outputs set to
low.
Reply With
Quote
andre_teprom
Super Moderator
Join Date:
Location:
Posts:
Helped:
Points:
Level:
Blog Entries:
Nov 2006
Rio de Janeiro, Brazil
4,096
474 / 474
13,546
27
5
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
Origi
nally
Post
ed by
arbj
2
Coul
d
this
dam
age
the
chip
??
Not properly
damage, but
could increase
power
consumption in
the presence of
a noisy
environment if
these inputs are
type of CMOS,
but as far as I
know most
microcontrollers
have general
inputs of type
ST.
---------------------------------------------------------------------------------------------
Part of the world
that you live in,
You are the part
that you're giving
( Renaissance )
Reply With
Quote
#12
FvM
Super Moderator
Awards:
Join Date:
Location:
Posts:
Helped:
Points:
Level:
Jan 2008
Bochum, Germany
31,104
9688 / 9688
186,850
100
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
The input buffer
of digital inputs
will sink
additional power
if inputs float to
an intermediate
level. So in a
low power
design, you'll
never leave
digital inputs
floating.
Configuring the
unconnected
pins as analog
input (if
available for the
respective pins)
would avoid this
issue.
Alter
nativ
ely
Is it
OK
to
conf
igure
as
outp
ut
and
kee
p
the
m
low
thro
ugh
firm
ware
That's my
preferred option
for unconnected
pins that have
no pull-up or
pull-down
resistors.
Reply With
Quote
hobbyckts
Join Date:
Posts:
Helped:
Points:
Level:
Mar 2015
178
27 / 27
659
5
#13
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
If you want to
left it as open
Better to
configure as an
output
compared to
configuring as
an input. Unless
until you are
not going to
connect
anything on
that pin you
don't even have
to worry about
drive strength
or source
current of it.
Reply With
Quote
arbj2
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2012
133
7/7
1,118
7
#14
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
thanks everyone
for the tips...
I was curious as
one of the pins
(Txd) in a
18F4620-SPDIP
mcu got
damaged after
working for
some time. The
Do you think
the unused pins
could have
damaged the
Txd pin of the
mcu ??
Curiously only
the Txd pin was
damaged, while
other pins
where all
working...
The current
consumption of
Interestingly a
similar unit
(having another
18F4620 mcu,
and sealed in
similar manner)
was connected
to the defective
unit via RS 485
cable, and also
shared same
power supply
unit did not get
damaged, and
continues to
work without
any problem...
Just wanted to
know your
opinion...
thanks
Reply With
Quote
hobbyckts
Join Date:
Posts:
Helped:
Points:
Level:
Mar 2015
178
27 / 27
659
5
#15
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
Is araldite is
touching any of
the components
in the PCB?
Reply With
Quote
Today,04:12
arbj2
Join Date:
Posts:
Helped:
Points:
Level:
Apr 2012
133
7/7
1,118
7
#16
Re: what is
the best
practice to
leave unused
pins in a
microcontroller
yes almost all
the
components,
the components
are immersed in
Araldite..
Reply With
Quote
Please
login
+ Post
New Thread
[PIC] Is this SPI Multi-Master Communication working
properly ? [Doubt]
|
seperately excited dc motor control
Similar Threads
I2C Sniffer using GPIO pins of ATtiny85 Micro-controller? (5)
How to select the micro-controller based on the I/O pins? (10)
SOC Encounter and unused pins (0)
What to do with 74HC245 unused pins? (1)
IC question (unused pins) (7)
-- Edaboard
Classic
-Edaboard
Classic