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.

CODECOMPOSER: Hardware Trace Analyzer : Meaning Of Cycles

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: AM263P4, ENERGYTRACE

Tool/software:

Hello,

Am using Eclipse 12.8.1 with Hardware Trace Analyzer Function Profiler with AM263P4 (400MHz).

In my application there is a function called every 1ms by FreeRTOS. The function is called Xcp_Test_IncCounter1ms().

The Trace Analyzer manual says: "The Per Call view provides a list of all function calls that occurred with the time (in cycles) when the function was entered and exited".

My function is called twice in the example below:

The first call is at 855 cycles and the second at 143244 cycles a difference of 142389.

My problem is the meaning of "cycles". I thought that this would be the number of CPU cycles but that t doesn't seem to match the expected numbers.

1ms / 142389 = 7.02ns (142.4MHz)

<Q>
Why does 1 cycle = 7ns please? Put another why doesn't 1 cycle = 2.5ns (400MHz)?

Thank you.