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.

CCS/MSP430FR5994: Using profile clock in Code Composer Studio

Part Number: MSP430FR5994

Tool/software: Code Composer Studio

Hi,

I have been using the profile clock in code composer studio to measure cpu cycles

Im wondering how does ccs calculate those values? 

Since im planning on using the device for energy harvesting and cannot connect it directly to the pc, I'm interested to getting cpu cycles without using the profile clock

Any help would be appreciated 

  • Hello Steven,

    you can use GPIOs, plenty of them, to signal some events within a software.
    Using external device you can measure a time elapsed between triggers.
    Also you can use 5594 internal timer modules and send measurements using UART or the radio type boosterpads.
  • Hi, thanks for the help

    do you know any device that can be used for this purpose thats easy to set up and use
  • the most common is scope.
    if you need more accuracy, many timers offer time distance measurement.
  • Sorry Im a little bit confused as to what you mean by time distance measurement and how it would help in my case.

    Since what I'm measuring would occur multiple times within a short period
  • When you enter a certain state in your code you can set a selected GPIO pin to "1" and leaving that state you can set the same pin to "0".
    In your case a time distance measurement would be a time elapsed between down to up and up to down on a pin, or time when pin is a "1" state.

**Attention** This is a public forum