Overview
EnergyTrace™ technology is a power analyzer tool for CCS that measures and displays the energy profile of an application and helps optimize it for ultra-low-power consumption. The tool can be used standalone as a power profiling tool or in EnergyTrace+ or EnergyTrace++ modes within a debug session for code analysis to help optimize the application for ultra-low-power consumption.
EnergyTrace measurements are exported via a USB bulk endpoint on the XDS110 Debug Probe. In other words, this guarantees that it can operate independently of an IDE such as Code Composer Studio and therefore achieve ultra-low power consumption in standalone mode.
Hardware variants
EnergyTrace has two different hardware variants: EnergyTrace and EnergyTrace HDR.
EnergyTrace
EnergyTrace features the highest precision current range and it is suitable for the ultra low power devices such as MSP430 and MSP432P.
It is embedded in several MSP430 and MSP432P development kits and the standalone Debug Probes MSP-FET and XDS110.
The basic Electrical specifications:
Range | Accuracy | Observations |
---|---|---|
I < 25 mA | ± 2% ± 500 nA | VBUS = 5 V constant during and after calibration |
I > 25 mA & I < 75 mA | ± 5% ± 500 nA | VBUS = 5 V constant during and after calibration |
EnergyTrace implements a new method for measuring current consumption for ultra low power currents. Traditionally, power is calculated by measuring the current consumption and voltage drop over a shunt resistor at sampling intervals via analog to digital converters. In Debug Probes that support EnergyTrace, a software-controlled DC-DC converter generates the target power supply and keeps it regulated via a train of pulses. The density of the DC/DC converter charge pulses is proportional to the energy consumption of the target microcontroller. Because the width of each charge pulse remains constant, the Debug Probe simply counts each charge pulse and then sums them over time to calculate the average current. The accuracy of measurements is guaranteed by a built-in calibration circuit in the Debug Probe, which quantifies the energy equivalent of a single charge pulse. Using this approach, even the shortest device activity that consumes energy contributes to the overall recorded energy. The XDS110 user's guide contains additional details.
EnergyTrace HDR
The EnergyTrace High Dynamic Range (HDR) increases the Dynamic Range of the EnergyTrace technology for operation above 100mA while using the same GUI. This allows performing very accurate power consumption measurements on all Simplelink Wireless MCUs while still using the same well known user interface. This makes the XDS110 ETHDR a solution that fits all designer needs for power monitoring.
The basic Electrical specifications:
Low range high accuracy | |
---|---|
Range | Accuracy |
1 μA to 15 μA | ± 700 nA |
15 μA to 120 mA | ± 5% |
High range low accuracy | |
Range | Accuracy |
1 μA to 70 μA | ± 3.5 μA |
70 μA to 800 mA | ± 5% |
EnergyTrace HDR is available as an accessory to the XDS110 and it is marketed as XDS110HDR or embedded on the CC13x2 or CC26x2 Launchpad development kits. The XDS110HDR user's guide contains additional details.
In summary
The major differences between the two hardware variants are summarized in the table below:
Capability | EnergyTrace | EnergyTrace HDR |
---|---|---|
Measurement range | 500 nA to 100 mA |
|
Sampling frequency | 2 kSPS | 256 kSPS |
Supply ripple | Some ripple due to the SW DC-DC converter | No ripple |
Modes of operation
The mode of operation sets the level of detail the energy is being drawn on the device:
- ET: Energy profiling only. Also called standalone mode. ET measures the energy consumption of the entire device or system.
- ET+: Energy profiling + Program Counter trace. ET+ correlates the energy consumption with the CPU states, including whether the device is in active mode or one of the many low-power modes (LPM).
- ET++: Energy profiling + Program Counter trace + Peripheral state. ET++ shows the ON-OFF status of the peripherals and all system clocks (regardless of the clock source).
The deeper the level, the higher the reassurance the CPU and peripherals are properly set to their expected power states and activity.
A summary of devices and trace level are shown in the table below:
Features | ET | ET+ | ET++ |
---|---|---|---|
Current monitoring | X | X | X |
CPU State (PC) | X | X | |
Peripheral or system state | X | ||
Devices supported | All MCUs |
All MSP432P MCUs |
MSP430FR59xx/69xx CC13x0/CC2640R2F CC13x2/CC26x2 |
Compatible tools |
TMDSEMU110-U (XDS110 Standalone) TMDSEMU110-HDR (XDS110 Add-on) eZ-FET with EnergyTrace
Embedded XDS110 |
MSP-FET + Adapter (MSP-FET-432ADPTR) TMDSEMU110-U (XDS110 Standalone) TMDSEMU110-HDR (XDS110 Add-on) Embedded XDS110 |
TMDSEMU110-U (XDS110 Standalone) TMDSEMU110-HDR (XDS110 Add-on) eZ-FET with EnergyTrace++ Embedded XDS110 |
Settings
EnergyTrace has a settings view that is present under the menu Window → Preferences → Code Composer Studio → Advanced Tools → EnergyTrace™ Technology.

The settings are as follows:
-Enable Auto-Launch on target connect: self explanatory. When launching a debug session, EnergyTrace is automatically launched as well.
-EnergyTrace/EnergyTrace+[CPU State]+[Peripheral States]: it allows selecting which mode EnergyTrace is launched by default: either ET-only or ET+/ET++
-Cell Type: this allows setting which power source will be used by the design. This is a helper to calculate a cell lifetime based on its rated capacity. Current selections are CR2032, 2xAA, 2xAAA or Custom. When selecting the option Custom, the options Cell voltage and Cell capacity (mAh) are enabled.
-Optional: this allows setting a Target lifetime or the Peak current - continous or Peak current - pulse to trigger warnings on the EnergyTrace view.
-Target Connection: this option allows setting which Debug Probe is attached to the system by default. It also allows setting the default supply voltage.
-ET-HDR Range Selector: this option allows setting the range used by the EnergyTrace HDR probe.
-When save profile also save: self explanatory. When saving the EnergyTrace data, it can enable or disable saving data in CSV mode (comma separated values) as well.
Autodetect mode
Starting with version Code Composer Studio 9.0.0, EnergyTrace performs autodetection of the Debug Probe attached to your system when ET-only mode is launched. If the Target Connection setting is different on the EnergyTrace settings, it spawns a prompt while launching EnergyTrace.

EnergyTrace Usage cases
The use of EnergyTrace is very tailored to which device is being used, thus a few usage scenarios can be found in their literature.
MSP430
Connectivity and MSP432
- Section 7 of the Code Composer Studio IDE for SimpleLink MSP432 Microcontrollers (SLAU575)
- Section EnergyTrace User Guide of the following CC13x2 and CC26x2 Stack User's Guides: