SWRA478D February 2015 – January 2019 CC1310 , CC1312PSIP , CC1312R , CC1314R10 , CC1352P , CC1352P7 , CC1352R , CC2640 , CC2640R2F , CC2640R2F-Q1 , CC2642R , CC2642R-Q1 , CC2650 , CC2650MODA , CC2652P , CC2652R , CC2652R7 , CC2652RB , CC2652RSIP
EnergyTrace is available on all CC13x2 and CC26x2 LaunchPads. The tool can be used stand-alone, as a power profiling tool, or in EnergyTrace++ mode (4-pin JTAG required) within a debug session for state monitoring to help optimize the application for ultra-low-power consumption. This section focuses on the steps necessary to run EnergyTrace in stand-alone-mode in CCS. In this mode, the debugger is not active and the displayed current consumption is what to expect for the final application. Since the previous sections have focused on Bluetooth Low Energy, this section will use one of the proprietary examples to show how to use EnergyTrace. Please note that the CC13x2 Proprietary RF User’s Guide [26] has a section with info regarding EnergyTrace.
The rfPacketTx example (available for our CC13x2 devices) was used running on the CC1352R1 LaunchPad [20].
The example can be found and downloaded using Resource Explorer (see Figure 7-1).
After building the example, it should be downloaded to the LaunchPad and the following steps should be done:
If post-processing of the acquired data is wanted, select the ‘Raw data to CSV file’ checkbox. If this checkbox is selected, you can, after EnergyTrace is finished capturing data, select the 'Save current energy profile' button, to save a .csv file. The default location for this file will be under your project workspace.
A dialog with instructions on how to use the EnergyTrace Stand-alone Measurement Mode will pop-up. Click ‘Proceed’ to continue.
Figure 7-8 shows the current profile for the rfPacketTX example taken over 1 s. From the plot, it is easy to identify the packet interval of 500 ms and to verify that the device enters Standby in-between packets. If you want to zoom in on the current graph, you can use the magnifying glass symbol.