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.

Clock_getTicks() granularity question

Other Parts Discussed in Thread: CC2640

Hello everyone,

I'm attempting to profile some code on my custom CC2640 board using Clock_getTicks() and I'm having a problem where the granularity that is returned by Clock_getTicks() seems to be in increments of 30. I am using it to profile code over time, and even code that should be separated by no more than a few ticks always returns a difference of 30, or 60, or 90, etc.

In my appBLE.cfg I have the Clock.tickPeriod set to 1, so I should theoretically be able to get a resolution of individual ticks, right? Does anyone have any idea why this behavior is occurring, or how to remedy it?

If anyone needs to see my code or anything, I can post some excerpts.

Let me know, thanks guys!

-Ben