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/MSP430F2274: Getting EnergyTrace to correctly monitor the power consumption during a debug/free run?

Part Number: MSP430F2274
Other Parts Discussed in Thread: ENERGYTRACE, MSP-FET,

Tool/software: Code Composer Studio

As stated in the title I am trying utilize EnergyTrace to measure the power/energy of the device running the current program. The problem is that once I enter the debug mode, configure the EnergyTrace Technology to the appropriate constraints (start immediately, end after 10 minutes), and select "free run", the EnergyTrace does not appear to monitor anything. I believe this to be the case as the System time does not count upwards, the timer does not count down, and the current values remain constant at ~0.0002mA. 

Is there something wrong with my configuration of EnergyTrace, or should settings be altered to have it function properly? Also, if I exit EnergyTrace while in a free run, and then open EnergyTrace again, the window pops up with EnergyTrace+, which I did not believe to be enabled for this specific device (MSP430F2274 with a MSP-FET debugger). If EnergyTrace is possible with this configuration, how can it be set up to monitor which states the device is currently operating in. Thank you.

  • Hi,

    What is the CCS version you are using? The reason is that I am able to run EnergyTrace on my F2274 device (Rev F silicon) on my MSP-FET (4~5 years old) on CCSv8.0.0.00016 without problems. The procedure I am following is shown below, which grants the most accurate measurement given there is no JTAG session running:

    Please let me know if you can reproduce the same scenario. 

    Regards,

    Rafael

  • I am also using the same version of CCS, and doing the actions which you posted did get EnergyTrace to work. At the same though, this does not run while the program is executing. My goal was to have EnergyTrace operate during the execution of the program so that I can see when the device switches to low-power mode and vice versa.
  • Part Number: MSP430F2274

    Tool/software: Code Composer Studio

    My program is running for most of time in low-power mode 3, which is supposed to have a current consumption of roughly .9uA. When running EnergyTrace in free run mode, the average current of the device is 44.2uA. I checked the GPIO pins to make sure they are not floating, by setting the direction (PxDIR) as all high (0xFF), and setting the selection (PxSEL) as GPIO (0x00). Is there any reason as to why there is such a large increase in the current value when running EnergyTrace? Thank you.

  • Hi,

    From your last post I can infer that EnergyTrace started working during an active debug session, right?

    Sean Kramer said:
    Is there any reason as to why there is such a large increase in the current value when running EnergyTrace?

    If this is the case, the increase in current consumption is expected and comes from the fact the JTAG subsystem inside the device is also drawing power. The most accurate energy consumption method is when the device is completely disconnected.  

    Hope this helps,

    Rafael

**Attention** This is a public forum