How do I calculate the time interval between one frame and the next? I have set the frame period to 100ms in frameCfg, I want to verify whether it is strictly 100ms, is there a system clock function that can be implemented? Thanks in advance.
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.
How do I calculate the time interval between one frame and the next? I have set the frame period to 100ms in frameCfg, I want to verify whether it is strictly 100ms, is there a system clock function that can be implemented? Thanks in advance.
Hi Geogia,
Please note that the frame timing of the has already been tested thoroughly. For your check, you can use the frame trigger interrupt to write to a GPIO and then probe the same pin on an oscilloscope to view the timings. Alternatively, you can obtain CPU cycle count from one such interrupt to another and divide the same by the CPU clock to get the timings. Both these methods will have additional trigger/interrupt latencies (not constant) due to which you will be unable to obtain "Strict" timings.
Regards,
Kaushik