hi,
I have been using Stellaris LM4F112E5 micro controller. My code size is 46K Flash and 9K SRAM. In my code, I have put while(1) after SysCtlClockSet(), i.e. I am not using any code and not initialize any internal modules. I have kept system clock to 16MHz. I am doing this to check how much current; controller takes in minimum operating condition. At this condition it takes 21mA. There is no any other peripherals on the board which can consume current. My question is, why controller is taking this much current, as controller is not using any internal peripherals and not doing any operation? Is there any relation of flash size and power consumption? Is there any ways to reduce power consumption, apart from sleep mode.?