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.

using EnergyTrace with external target

Other Parts Discussed in Thread: CC2650, ENERGYTRACE, MSP430FR5969, MSP-EXP430FR5969, MSP430FR6989, MSP-FET

Hi,

I need to measure the energy consumption of CC2650 Sensortag.

Is it possible to use MSP430FR5969 Launchpad's EnergyTrace with external target?

Has anyone done it and if yes can you share howto?

Jan

  • Jan,

    Yes you can. You would first need to use CCSv6.1.0 at minimum where EnergyTrace can be used in standalone mode (no debug session). And then remove all of the jumpers from J13 of MSP-EXP430FR5969. And connect the VCC and GND from MSP-EXP430FR5969 to the CC2650. And then Launch EnergyTrace without the debug session. And you should be able to measure your target system this way.

    Regards,
    William
  • William,

     

    Thanks for that, but I have more questions.

    (I am using CCS v. 6.1.0.00104)

     

    1)      Is it possible to change the supply voltage?

    I have MSP430FR5969 Launchpad, which has a 3.6V output labelled ‘V+’

    Luckily, just received a MSP430FR6989 Launchpad, which has a 3.3V output labelled ‘3V3’, which I am going to use.

    Does the EnergyTrace measure the supply voltage to know about the differences?

    Can I change the resistors (adj) on FR5969 eZ-FET Rev. 1.2 to have V+ = 3.3V or V+ = 3V? If yes, which ones and what should be the values?

     

    2)      How to enter the free run mode?

    The second problem is how to enter the free run mode

    Currently I start the debugger and stop at the break point, before main

    Next I disconnect jumpers between launchpad and emulator and connect my external target

    Finally I start Free Run from Run menu

    Is there a better way of doing it?

     

    3)      Is it possible to extend measurement period?

    As I can see the maximum energy measurement interval is 10s, correct?

    I need it much longer. Possible or not?

    Actually it would be nice to have it run continuously.

     

    Thanks again and regards

     

    Jan

  • Hi Jan,

    1)
    EnergyTrace measures the voltage being provided, so it takes this into account - you can see that it lists the voltage as one of the measurements when you run it. However, please note that for using EnergyTrace stand-alone like you are doing you need to have the tool that is running EnergyTrace also be supplying the voltage to the target device. While the Launchpad can only supply one voltage, if you use the MSP-FET instead, this has a programmable voltage supply capability (and also supports energyTrace). I would recommend getting the MSP-FET tool if you are needing to be able to supply and debug with different voltage levels (it also is a faster tool with more features and has faster EnergyTrace capability if you see www.ti.com/.../slaa603 section 3.5 Limitations, you can see that the MSP-FET EnergyTrace sampling frequency using 4-wire JTAG is 10x faster than the eZ-FET which can only to SBW and at 1kHz).

    2)
    Since you have CCS v6.1 or greater, you do not need to enter a debug session at all for standalone energyTrace. You can find the steps for launching energytrace without a debug session in the CCSv6.1 user's guide www.ti.com/.../slau157 section 3.3. There's a button for launching energyTrace right from the code editor view.

    3)
    Yes you should be able to extend the measurement period. In the EnergyTrace window, click on the stopwatch icon - it should have a dropdown with options like 10s, 30s, 1 min, even up to 5 minutes, and finally "On halt" which will run until you click the stop button in energyTrace. Set this interval before you click the start arrow button.

    Hope this helps,
    Katie
  • Hi Katie,

     Thank you for the very comprehensive answer.

     It confirms, that there are things I need, I just didn't know where to find them.

    Cheers,

    Jan

**Attention** This is a public forum