Hi,

it´s always better to switch them to output because open inputs can cause interrupts. Don´t forget to disable the interrupts before changing the direction (in/out) because it can cause interrupts.

Regards

Rolf F.


Sumukh Pathare schrieb:
Configure the unused pins as output to minimize the
power consumption. See section 9.2.6 of:
http://focus.ti.com/lit/ug/slau049d/slau049d.pdf

-Sumukh

--- "Dr.-Ing. Martin Göttlicher"
<martin.goettlic...@gmx.de> wrote:

Hello and a happy new year,

I using an MSP430F149 and the mspgcc tools for
building a diving computer doing decompression calculations. The device works fine most of the time. But sometimes it shows unpredictable behavior. Since I'm no hardware expert I'm not sure if this may be caused by unused/unconnected port pins. So I would like to ask the hardware experts on this list what should be done with unused port pins?
- Configure them as output pins and let them
unconnected
- Configure them as input pins and connect them to
ground or +3V
...

If several solutions are possible which one is the
best from a power consumption point of view?

Best regards,

Martin





-------------------------------------------------------

This SF.net email is sponsored by: IBM Linux
Tutorials.
Become an expert in LINUX or just sharpen your
skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the
bash shell to sys admin.
Click now!


http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net


https://lists.sourceforge.net/lists/listinfo/mspgcc-users



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users




Reply via email to