element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog advanced XDS110 debugger use with EasyL1105 MSPM0 board: EnergyTrace
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 14 Sep 2025 5:37 PM Date Created
  • Views 369 views
  • Likes 10 likes
  • Comments 2 comments
  • xds110
  • MSPM0L1105
  • ccs
  • MSPM0
  • energytrace
  • easyL1105
  • code_composer_studio
Related
Recommended

advanced XDS110 debugger use with EasyL1105 MSPM0 board: EnergyTrace

Jan Cumps
Jan Cumps
14 Sep 2025
advanced XDS110 debugger use with EasyL1105 MSPM0 board: EnergyTrace

In an earlier post, I tested the EasyL1105 MSPM0 kit with Code Composer Studio and an XDS110 debug probe. That blog covered the standard functionality: program the device, step through the code. This time, I try the EnergyTrace++ option.

image

EnergyTrace++ analyses the power consumption of your design. While doing that, it collects info from controller and debugger. It the displays the results. Amongst the data collected: timestamp, power mode, peripheral status.

The tracer requires that the debugger provides power to the kit. The XDS110 can do that. Also the on-board debuggers on the MSPM0 LaunchPads. I have not seen other LaunchPads that have the necessary EnergyTrace circuitry.

XDS110 option Probe supplied power: 

when debugging, you can provide external power to your board (e.g.: via the USB). You can also have it powered by the XDS110. On its extension connector, it has a power supply that can deliver between 1.8 and 3.6V. The power will be supplied when you start the debug session. It 'll (optionally) switch off when you stop debugging.

You configure that in the targetConfigs advanced settings:

image

First trace

You can make a trace right away. Use one of your own projects. Start a debug session, then Run -> Trace -> Start EnergyTrace++. There are several other ways to do this, but this one is the easiest to document.

image

Run the design by selecting Run -> Free Run. After 20 seconds, you get results. Wen you run  design that doesn't use low power modes, you 'll typically see something like this:-, where all activity happens in Active (high power) mode.

image

Low Power Mode tracing

It gets more interesting when you try to make a low power design. The trace will help you to see how long the design spends in high vs low power modes. You can also let it calculate the amount of energy burned. In total, or for a particular time range. A good project to start from, is sysctl_shutdown. Available from Resource Explorer, or when you create a new project.

warning: when you build low-power designs, always include a mechanism to boot your design in a mode where you can debug or reprogram it.

Failing to do this can result in a bricked IC.

TI does that in their examples, by checking the logic level of configuration pins at startup. If those pins have a certain value, the device will go into a mode where a debugger or bootloader can take over. You can use patch cables to set those pins in  a safe combination. Like jumpstarting a car.

When I'm done testing a low power design, I always flash a "normal" power design before the board is put aside. A blinky, or anything that isn't low power. So that I don't have to figure out the next time how to resurrect the device out of its low power state.

I've ran that one, configured for Sleep power mode. Here is a trace, with collateral. A particular interesting data point: how long will your design survive on one coin cell.

image

XDS110 option UART-to-USB bridge: 

The XDS110 has a built-in UART to USB bridge. If you connect the MSPM0 UART Tx and Rx signals with the Rx and Tx pins of the debug probe extension connector, the data is available on your PC trough  a COM port.

image

Thank you for reading.

Related posts

  • Sign in to reply
Parents
  • Jan Cumps
    Jan Cumps 2 days ago

    A real world scenario:

    1. controller is stop mode (lowest power mode)
    2. timer wakes up the controller and asks to take 12-bit ADC samples in sleep mode
    3. active mode to communicate results (with an LED)
    4. back to 2

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Jan Cumps
    Jan Cumps 2 days ago

    A real world scenario:

    1. controller is stop mode (lowest power mode)
    2. timer wakes up the controller and asks to take 12-bit ADC samples in sleep mode
    3. active mode to communicate results (with an LED)
    4. back to 2

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube