|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Oct 2002
Location: Louisiana, USA
|
I'm building a DAC which uses a PIC18F448. The design is not going to require the use of all the I/Os, so I was wondering what the best practice would be with regards to them. Should they be left floating or grounded? Seems to me it would be far wiser to ground them, but maybe I'm missing something.
Stu |
|
|
|
#2 |
|
diyAudio Member
Join Date: Jul 2003
Location: Hannover
|
Use a pull-up resistor or better a resistor-network to +Vdd. About 10k, value is not critical. Never left an input port open untill you're shure it got an internal pull-up or -down
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Oct 2002
Location: Adelaide, South Australia
|
Read the PIC manuals... they normally state how unused pins should be connected.
Most newer uC's dont require any pull up/downs. |
|
|
|
#4 |
|
diyAudio Member
Join Date: Aug 2001
Location: Bath, UK
|
I'd connect the spare IO lines to LEDs to help with code debugging: light them when you reach a breakpoint, that kind of thing.
Nice one, David. |
|
|
|
#5 | |
|
diyAudio Member
Join Date: Dec 2001
Location: Eindhoven
|
Quote:
Hi, Select a PIC that likes to sleep and power it down to sleep mode when unused. If you want to terminate the pins: Make sure the are logically low, and connect them to ground, as much of them as possible. regards |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Oct 2002
Location: Louisiana, USA
|
Thanks everybody! I think I'll ground them then as originally planned.
Stu |
|
|
|
#7 | |
|
diyAudio Member
Join Date: Dec 2001
Location: Eindhoven
|
Quote:
Stu OK, but realize yourself that it only makes sense once you make them actively low regards |
|
|
|
|
#8 | |
|
diyAudio Member
Join Date: Oct 2002
Location: Louisiana, USA
|
Quote:
Hi Guido, So are you saying it would be just as good to leave it floating if the pins are not used in the code? I just don't want them wandering all over the place, spitting noise into the system and possibly wasting power (this is a battery powered application). Stu |
|
|
|
|
#9 | |
|
diyAudio Member
Join Date: Jan 2002
Location: Vancouver, BC, Canada
|
Quote:
1. Configure them as inputs and connect them to Vdd or Vss via pull up (or down) resistors, or 2. Configure them as outputs, drive them high or low, (in your software) and do not connect them to anything. They will not "wander". If you make them outputs and connect them to ground (or Vdd), you could have a big problem if the pin is driven high. (on startup or otherwise) Edit: Check out the "Low Power Solutions Design Center" at Microchip's web site: http://www.microchip.com/1010/suppdo...wpwr/index.htm
__________________
|
|
|
|
|
#10 | |
|
diyAudio Member
Join Date: Oct 2002
Location: Louisiana, USA
|
Quote:
Thanks for the suggestions and the link - very helpful. Stu |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FS: new and unused TDA1541A S1 | SSassen | Swap Meet | 9 | 20th January 2010 07:02 PM |
| enABL kit. Unused. | nodiak | Swap Meet | 3 | 23rd January 2009 07:10 PM |
| Unused secondaries | pilli | Parts | 8 | 7th October 2007 10:14 AM |
| Superclock Ii - Unused | leeo666 | Swap Meet | 0 | 19th July 2006 11:05 AM |
| New To Site? | Need Help? |
| Page generated in 0.09791 seconds (81.20% PHP - 18.80% MySQL) with 10 queries |