Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Broken IO Pins?

2006-05-20 by Martin Maurer

Hello,

> 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?

P0.2 and P0.3 are I2C pins. You must add pullups. Search for older posts 
here in this mailing list !
I don't know anything P0.26 related, sorry.

Regards,

       Martin

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.