Content originally posted in LPCWare by bavarian on Fri Mar 11 06:41:50 MST 2016
Do you configure the pins used by GPIO1[12] and GPIO0[1] in the same way as the pins which are used for the LEDs?
Look for Chip_IOCON_PinMux(...) or Chip_IOCON_SetPinMuxing(...).
Maybe these two pins (P0_1 and P2-12) are not set to GPIO function. In this case your GPIO configuration is useless, because the multiplexer just in front of the pin is set to another function.
Regards,
NXP Support Team