Hi Experts,
I ran below code and saw that the current is around 17uA. What is wrong?
#include <msp430.h> /** * main.c */ int main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer // Port Configuration all un-used pins to output low P1OUT = 0x00; P2OUT = 0x00; P3OUT = 0x00; P1DIR = 0xff; P2DIR = 0xff; P3DIR = 0xff; P1REN = 0xFF; P2REN = 0xFF; P3REN = 0xFF; CSCTL4 = SELMS__DCOCLKDIV | SELA__REFOCLK; // MCLK=SMCLK=DCO; ACLK=REFO // Disable the GPIO power-on default high-impedance mode // to activate previously configured port settings PM5CTL0 &= ~LOCKLPM5; __bis_SR_register(LPM3_bits); // Enter LPM3 __no_operation(); // For debug return 0; }
Regards,
Uchikoshi