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.

  • TI Thinks Resolved

CCS/MSP432P401R: How to use Stand-alone EnergyTrace without USB cable?

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hello,

I am working with MSP432P401R Launchpad to use stand-alone EnergyTrace feature in CCS.

I already used EnergyTrace several times in Debugging mode, so I am quite used to the feature.

The problem is I would like to use the stand-alone without USB cable.

I connected the launchpad with following several devices:

1. Power Supply 3.3V, 0.5A <-----> MSP432 external power supply pins.

- I connected Power supply machine to MSP432 for supplying power to the launchpad

- Simply blinky project is programmed in the launchpad, therefore, the LED starts blinking when the power supplies.

- Detailed picture is below

2. MSP432 launchpad's EnergyTrace part (upper part) <----- FTDI cable (mini USB b cable)  -----> PC

- To send the EnergyTrace signal to CCS, I thought FDTI module is need for the connection.\

- I connected several pins:

MSP432 Isolation block ---------- FTDI cable

3V3 pin ----- VCC pin

GND pin ----- GND pin

TX pin ----- RX pin

RX pin ----- TX pin

- Also, I am aware of energyTrace's green LED which is on when XDS110 or EnergyTrace part is available.  

- Detailed picture is below

I thought the configuration is fine for stand-alone mode, but CCS gave me an error window.

It stated me that the connection is not established properly.

Are there any additional things to do or anything wrong?

Thanks.

PS. CCS Version is 7.3.0.00019. 

  • Guru 130390 points
    Hi,

    I still need to investigate a few details, but I have the following comments:

    Your setup in 1) is ok. No problems there.

    However, for the setup in 2) I see a few problems:
    - The UART port that transfers the EnergyTrace data to the host is not tied to the user UART pins TXD/RXD, but instead to the UART port instantiated by the XDS110 itself; the connection to the external UART will not work.
    - The EnergyTrace needs to be powered from its own USB port; per your photographs you are applying power to the output voltage pins, which may stress the output of voltage regulators and switches on the Launchpad.
    - The Launchpad schematics indicate the EnergyTrace built into it is not capable of measuring the current consumption without simultaneously providing power to the target.

    Therefore I ask: what are you exactly trying to achieve?

    Regards,
    Rafael

    When posting, click on the link Insert Code, Attach Files and more... to attach images, files or use nice formatting.

    If my reply answers your question please click on the green button "This resolved my issue".

  • In reply to desouza:

    Thank you for your reply.

    I would like to design a system supplied with external power, especially solar panel.
    Since DC power supply give external power to operate MSP432 above 1), it will be replaced by solar panel.
    Therefore, I would like to power the device with the output voltage pins, not with the connected USB port in XDS110/EnergyTrace side.
    At the same time, I would like to measure the power of MSP432 only except XDS110 debugger using EnergyTrace.
    That's why I configure the connection like 1) and 2) to separate MSP432 side to XDS110/EnergyTrace side.


    By the way, your answers make me some more additional questions.

    1. 'The EnergyTrace needs to be powered from its own USB port'.
    Does this means that using USB port to powering EnergyTrace is inevitable?
    Actually I don't care powering EnergyTrace by USB port, but I do not want the port to power MSP432.
    (Because I want to power MSP432 by external supply-mentioned above.)
    I would like to separate powering MSP432 from others.

    2. Not only separating powering, I would like to use EnergyTrace feature
    Now I understand the connection in 2) does not connect EnergyTrace device to MSP432.
    Then, are there any ways to transfer EnergyTrace data to the host?
    I thought I have looked through some documents related to EnergyTrace, but didn't figure out how to do...
    That was why I just thought connecting TXD/RXD pins available can help MSP432 receive EnergyTrace data.

    I really appreciate your help!!!
    Thank you!
  • Guru 130390 points

    In reply to Youngkyoung Koo:

    Hi,

    Please apologize for the delay in your reply.

    1. Unfortunately you have to power the target device using the XDS110 to measure energy consumption via EnergyTrace.
    2. In addition to the GUI, you also can transfer the raw data of EnergyTrace using a command line utility called stune. Check section 3.6.5 of the XDS110 user's guide:
    www.ti.com/.../sprui94.pdf

    This utility usually helps integrate EnergyTrace in more automated environments.

    Hope this helps,
    Rafael

    When posting, click on the link Insert Code, Attach Files and more... to attach images, files or use nice formatting.

    If my reply answers your question please click on the green button "This resolved my issue".

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.