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.

TMS570LS1224: Difference in measured clock ticks when changing clock frequency

Part Number: TMS570LS1224


Hello,

I am measuring code using the PMU. The thing I am wondering about is that when i measure my code with the microcontroller at 160MHz the number of clock ticks are greater than when i measure with a lower frequency. Should not the number of clock tick stay the same for the same code?

PS: The code is only pure calculations, and not dependent on any other events

Eirik

  • Eirik,

    The datasheet includes a section titled "Wait States Required". This section includes an image that shows the number of wait states (in terms of CPU cycles) for random accesses to flash memory. This includes data fetches as well as instruction fetches that cause a pipeline miss. You can see that the number of data wait states increments every 50MHz. The difference in cycles that you are observing can be due to this increasing number of wait states, depending on the two frequencies that you are comparing (160MHz and ??).

    Regards,
    Sunil