Problem with the PIO0_4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with the PIO0_4

708 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nasib on Mon Dec 17 09:21:27 MST 2012
Hi all!

I have a little problem with the PIO0_4. I want to use it as a Standard IO Port ( not as an I2C Port). So i configure it as the Datasheet says (User Manual, 66):

LPC_IOCON->PIO0_4 &= ~0x0FFF;           
LPC_IOCON->PIO0_4 |= 0x0180;

But i  already can't use it like a GPIO.

Is this configuration correct?.

(I have the same problem with the other I2C pin, PIO0_5)

Thank you so much!
0 Kudos
Reply
2 Replies

696 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nasib on Mon Dec 17 09:45:43 MST 2012
Uff! i didn't! thanks!
0 Kudos
Reply

696 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Mon Dec 17 09:34:25 MST 2012
These pins are true open collector pins:eek:. Did you already connect some pullup resistors?:rolleyes:
0 Kudos
Reply