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/TMS320F28377S: TMS320F28377S

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Generally, there are some ways to measure the function running period. could some mastermind show me one simple and accurate way?

  • Wentao,

    There are two simple and straightforward ways to do this.

    1. Use the Profile Clock in CCS. (processors.wiki.ti.com/.../Profile_clock_in_CCS ). This is useful if you are doing a simple linear operation. Each tick of this clock is a single CPU cycle. Follow the instructions in the link.
    2. Set up a GPIO to toggle at the start and end of a function call, or sequence of operations. Using an oscilloscope, measure the time between the edges. This is a great way to check for operation in a standalone environment when you don't have access to the device while it is operating but can monitor GPIOs or output signals.

    There are likely others, but these seem to work well enough for basic timing checks.

    -Mark