Content originally posted in LPCWare by nerd herd on Wed Feb 25 08:49:00 MST 2015
Hi nesrine,
I don't have a Keil MCB1800 board to test with at the moment, but I noticed you are using a function from the LPC1800 (with Flash) Low Power AN. To be clear, that function does not turn off everything as there were things needed to be on for the AN to work the way it did. In your case, you should try turning off UART3 (which it looks like you do), both flash banks, EMC, and EEPROM.
If this does not get your desired current, please reply with your exact hardware setup (how you are measuring current consumption), and what software example you are using.