This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
I have below test code. As you can see there is no other power consumption other than deep sleep and external wake up interrupt events.
If the interrupt occurs every second, The energyTrace profile shows estimated AAA battery life ~ 1month. When there is no interrupt at all battery life is 24 years of something.
My question is just waking up every second causes 1 month?
What can be done to improve to power consumption during wake up time? I have not connected any external LED of anything yet, I just wanted to see what is bare bone current cosumption when not doing anything.
#include <msp430.h> int main(void) { WDTCTL = WDTPW | WDTHOLD; P1DIR = 0xFF; P1OUT = 0x00; P2DIR = 0xFF; P2OUT = 0x00; P1OUT &= ~BIT0; P1DIR |= BIT0; P1OUT |= BIT3; P1REN |= BIT3; P1IES |= BIT3; P1IE |= BIT3; PM5CTL0 &= ~LOCKLPM5; P1IFG &= ~BIT3; while(1) { __bis_SR_register(LPM4_bits | GIE); } } #pragma vector=PORT1_VECTOR __interrupt void Port_1(void) { P1IFG &= ~BIT3; __bic_SR_register_on_exit(LPM4_bits); }
**Attention** This is a public forum