You can set a hardware time to run at whatever frequency is best for the granularity of your measurements - then read the timer at the measurement point to see how much time elapsed between the two.
rtel
(Richard Barry)
7
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| xTaskGetTickCount Frequency | 1 | 1393 | October 6, 2020 | |
| How to measure timeouts? | 1 | 430 | June 19, 2020 | |
| Accurate time with a timer possible? | 3 | 282 | January 27, 2012 | |
| Correct way to keep ms counter in FreeRTOS? Tick rate for 1Khz tasks? | 1 | 372 | August 21, 2014 | |
| Accurate timing measurement in freeRTOS? | 2 | 227 | December 11, 2006 |