Content originally posted in LPCWare by John@MPL on Thu Nov 07 10:49:37 MST 2013
I am using the 33 pin version of the LPC11A14 and cannot configure PI00_2 and PIO0_3 as outputs.
I am also using PI00_1 and PIO0_4 which work fine as I/O pins. (being used as a 4 to 16 decoder)
I have used LPC_IOCON->PIO0_2 &= ~0x07; to set as an I/O port as I have PIO0_3 but refuse to work as I/O.
I use GPIOSetDir and GPIOSetBitValue to configure direction and set output.
These 2 pins can be used as alternative SWDIO and SWCLK pins.
Am I missing something.