CX3 timestamp

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
IlHa_3972631
Level 1
Level 1

Hi,

How can I reset the CX3 timestamp timer ?

thanks

0 Likes
1 Solution

Edited:

Changed the timer incrementing value to 1ms from 10 ms.

Hello,

Typically, In CX3/FX3, the timer gets increment for every 1 ms - called a timer tick.

If you use CyU3PGetTime API to get the timer tick, it will give the number of ticks from the start of the OS.

For example, if you are streaming 30 fps, one frame takes 33.33 ms.

In this case, timer ticks update 10 ms, 20ms and 30ms and 40 ms. Hence, you cannot capture time 33.33 ms.

Therefore, you don't get proper time stamp for synchronization in CX3/FX3.

You can use CyU3PGetTime and CyU3PSetTime to get and set the timer tick. Please refer API guide for usage of the APIs.

View solution in original post

0 Likes
10 Replies