Gpio Problem

Started by Gigi February 26, 2007
Hello,
This is my configuration

PINSEL0= 0x00; // P0 come gpio
IODIR0 = 0x001C1800; // P0_11, P0_18, P0_19,P0_20, output

but the pin P0_11 non work as GPIO where is the problem??

An Engineer's Guide to the LPC2100 Series

I have find the problem now all work!!!

thanks the same one
--- In l..., "Gigi" wrote:
>
> Hello,
> This is my configuration
>
> PINSEL0= 0x00; // P0 come gpio
> IODIR0 = 0x001C1800; // P0_11, P0_18, P0_19,P0_20, output
>
> but the pin P0_11 non work as GPIO where is the problem??
>
hi
pin P0_11 is Open-drain.so u will pull up resistor in this pin

warm Regards,
Jeyakumar.R
On 2/26/07, Gigi wrote:
>
> I have find the problem now all work!!!
>
> thanks the same one
>
> --- In l... , "Gigi"
> wrote:
> >
> > Hello,
> > This is my configuration
> >
> > PINSEL0= 0x00; // P0 come gpio
> > IODIR0 = 0x001C1800; // P0_11, P0_18, P0_19,P0_20, output
> >
> > but the pin P0_11 non work as GPIO where is the problem??
> >
>