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!