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.

CCS/MSP-EXP430FR5969: Why Energy is too high for LPM3.5 Low Power Mode

Part Number: MSP-EXP430FR5969
Other Parts Discussed in Thread: ENERGYTRACE

Tool/software: Code Composer Studio

Hi,

This is my code. Cpu is starting blinking then Cpu goes to LPM3.5 Mode. In datasheet is says Real-Time Clock (LPM3.5): 0.25 µA (Typical) (RTC is clocked by a 3.7-pF Crystal.) But Energy Trace says 0.7681mA.

Why?

Is it about Laucnhpad's Leds ?




#include <RTC_B.h>

void setup() {
	rtc.begin();
	rtc.attachScheduledInterrupt(-1, NO_ALARM, -1, 10, flagTick);
	pinMode(RED_LED, OUTPUT);
	digitalWrite(RED_LED, HIGH);
	sleep(1); 
	digitalWrite(RED_LED, LOW);
	sleep(1); 



	P1SEL0=0;
	P1SEL1=0;
	P2SEL0=0;
	P2SEL1=0;



	WDTCTL = WDTPW | WDTHOLD;

	PMMCTL0_H = PMMPW_H;
	PMMCTL0_L |= PMMREGOFF;
	PMMCTL0_L &= ~SVSHE;
	PMMCTL0_H = 0;

	__bic_SR_register(GIE);
	__bis_SR_register(CPUOFF+OSCOFF+SCG1+SCG0); 

}

void loop() {

}

void flagTick()
{
	wakeup();
}



  • Hi Metin,

    When running Energy Trace please make sure use Free Run(Ctrl + F8) instead of Resume(F8).

    please refer to www.ti.com/.../slaa603.pdf

    "In order to see more accurate values for absolute power, use the EnergyTrace mode in combination with the “Free Run” debug option. This is the only setting that captures energy consumption without accessing the debug logic of the target microcontroller."

    Also please check your GPIOs setting to avoid leakage issue.

    regards
    KC

**Attention** This is a public forum