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.
8 years, 10 months ago.
FRDM-KL46Z (MKL46Z256VLL4MCU) High power consumption in deep sleep.
I'm currently doing a project where i've got a MKL46Z256VLL4MCU microprocessor on an external board, and am programming it using it's development board, the FRDM-KL46Z.
I'm noticing extremely high current in supposed deep sleep mode (about 3mA). I'm using the WakeUp Library (https://developer.mbed.org/users/Sissors/code/WakeUp/) as recommended in other posts, but this doesn't seem to reduce the power consumption.
When I'm testing the current, I disconnect the programmer totally to prevent it still being in debug mode, and power cycle the MCU.
The example code i'm testing is here:
- include "mbed.h"
- include "WakeUp.h"
int main() { WakeUp::calibrate();
while (true) {
Set wakeup time for 10 seconds WakeUp::set_ms(10000);
Enter deepsleep, the program won't go beyond this point until it is woken up deepsleep(); } }
Any ideas why I'm getting such high current usage in a supposed sleep mode? Any help/suggestions would be greatly appreciated!