2 Replies Latest reply on Oct 20, 2017 4:27 AM by harikumar.g_1730351

    FX3 microsecond (or better) timestamps?

    juergen.sawinski_1564026

      Hi all.

         

      I'm currently implementing a USB3 Vision interface and require a nano-second timestamp per frame - but I can't find any timestamp API which is at least in the micro-second range. CyU3PGetTime/tx_time_get seems to be milli-second. SysTick is not available(?).

         

      So, how do I get a microsecond (or better) timestamp?

         

      Thanks,

         

      George

        • 1. Re: FX3 microsecond (or better) timestamps?
          nisa

          The CyU3PGetTime API provides output in millisecond. We do not have any API to give you time stamp in microseconds, but you can use a timer to do so. You can use a firmware timer using CyU3PTimerCreate and you can keep on reading the value of the timer. I can this can help you with your implementation. Please refer the Cx3UvcOV5640 firmware in the SDK to see the implementation and start of timer function. Please let me know if you have questions

          • 2. Re: FX3 microsecond (or better) timestamps?
            harikumar.g_1730351

            Hi,

             

            i need to generate the timestamp in 10us units, but i can able to generate the timestamp in 1ms units only by using the CyU3PGetTime() API. Also by using counters i can able to generate the timestamp upto 0.64us units only. Is there any other ways or workaround available to generate the timestamp in 10us units ?

             

            Regards,

            Hari kumar