Other Parts Discussed in Thread: MSP430FR5739
Hello,
I've managed to bring the MSP430FR5739 to LPM4.5 (PMMLPM5IFG is set on wakeup), but the current consumption still amounts to 1.2uA, which is double of the specified max. in the Datasheet (0.66uA). Possible, that the controller actually is in LPM3.5, but i set LPM4_bits on LPM-entry... is there any module i may have not turned off?
No additional HW attached to the MSP. What's curious: 0.4uA are drown by AVCC, the remaining 0.8uA by VCC. Measured over 100Ohm with a 6.5 Digit Multimeter, so the Measuring should be good. Following the code to enter LPM4.5:
// Stop WDT WDTCTL = WDTPW + WDTHOLD; // Init SMCLK = MCLk = ACLK = 1MHz CSCTL0_H = 0xA5; CSCTL1 |= DCOFSEL0 + DCOFSEL1; CSCTL2 = SELA_1 + SELS_3 + SELM_3; CSCTL3 = DIVA_0 + DIVS_3 + DIVM_3; //crystal off CSCTL4 = XT1OFF + XT2OFF; CSCTL5 &= ~(XT1OFFG + XT2OFFG); //intern Temp. Sensor off REFCTL0 |= REFTCOFF; REFCTL0 &= ~REFON; //configure all ports as GPIO P1SEL0 = 0x000; P1SEL1 = 0x000; P2SEL0 = 0x000; P2SEL1 = 0x000; P3SEL0 = 0x000; P3SEL1 = 0x000; P4SEL0 = 0x000; P4SEL1 = 0x000; PJSEL0 = 0x000; PJSEL1 = 0x000; //configure all ports as inputs with pulldown P1DIR = 0; P1OUT = 0; P1REN = 0xFF; P2DIR = 0; P2OUT = 0; P2REN = 0xFF; P3DIR = 0; P3OUT = 0; P3REN = 0xFF; P4DIR = 0; P4OUT = 0; P4REN = 0xFF; PJDIR = 0; PJOUT = 0; PJREN = 0xFF; PMMCTL0_H = 0xA5; //unlock PMMPW PMMCTL0_L |= PMMREGOFF; //LDO turned off on LPM4.5-entry //Enter LPM4 w/ interrupts __bis_SR_register(LPM4_bits + GIE);