Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 9 months ago.
LPC824 Power Consumption: A Check List
Hello, Our team struggled a bit with power consumption and we think we have narrowed down the major aspects. Here are a few findings. Please feel free to add more or correct my statements and I will take it from the comments and add it to this original post
1) Before going to deep-sleep, power-down make all pins DigitalOut and move them to low to reduce current consumption. Exceptions may apply. See below.
2) If you are using open drain pins and have hence pulled them high, keep them at 1 otherwise that will result in power consumption. SO DONT pull them low.
3) If you have pulled-high the reset pin to avoid any accidental resets of the MCU, keep them high. If you accidentally bring them low, this will consume power
4) If there are requirements where you have to keep certain pins high (to handle another module like bluetooth or wifi or gprs), make sure your design will accommodate the moving to "low" to ensure that it doesnt consume power
5) Reduce clock speed by importing mbed. My exp with mbed-dev shows there MAY be problems with sprintf.
6) Make sure you take the checklist and make ONE CHANGE AT TIME to easily theorize-identify-solve loop :)
7) If you are using a MCU package that has lesser # of pins than another in the same family, ensure that pins that are not in the smaller package (but are on the bigger package) are also pulled down. Take care of ALL pins in the MCU family
8) Evalutae turning Off BOD or WD to conserve power
Best regards Surendar