Thanks to everyone who replied. I feel much better now knowing what the problem was. I had no idea that pins P0.2 and P0.3 had no pull up resistors. Also thanks for the link, Robert.
jstamos111 <jstamos111@...> wrote: Hey guys,
This problem has me completely baffled. Hopefully you can help.
I have an LPC2106 running on a board of my own design and am using
Keil tools to compile the code. Here's my very short code:
void main() {
PINSEL0 &= 0x00000000;
IODIR0 = 0xFFFFFFFF;
IOSET0 = 0xFFFFFFFF;
while(1);
}
The problems when I run this code all IO ports turn on except P0.2,
P0.3 and P0.26. Any idea why? I tried looking in the documentation
but couldn't find anything specific about these ports not working for
IO. I thought maybe the problem was what I had the pins connected to
(a CPLD) so I made sure to put the connected CPLD pins as inputs and
even disconnected one pin completely and still the same problem. I
have multiple boards and it does it for at least two of them.
Thoughts? I'd appreciate anything since I don't know where to go w/
this anymore.
Thanks.
SPONSORED LINKS
Microcontrollers Microprocessor Intel microprocessors
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "lpc2000" on the web.
To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
[Non-text portions of this message have been removed]Message
Re: [lpc2000] Broken IO Pins?
2006-05-21 by John Stamos
Attachments
- No local attachments were found for this message.