cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

jacky_m
New Contributor

Hi

Originally, these two fields are filled with 0, and it can work normally.
But now there is the issue of voice synchronization, It seems that these two fields must be filled.

I have read the explanation of UVC spec, but still don't understand

I want to understand how they calculate. Can you give me a tutorial or a simple example?

Do I need to update PTS field once per frame? And how is SCR calculated?

Thank you !

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator

Edited:

Hello,

Is my understanding of the PTS field correct?

>> As per the UVC spec, PTS is the source clock time in native device clock units when the raw frame capture begins. The PTS is in the same units as specified in the dwClockFrequency field of the Video Probe Control response.

In the default UVC firmware (AN75779), the dwClockFrequency in probe control structure is set as 384 MHz which is the SYSTEM CLOCK of FX3.

0x00, 0x60, 0xE3, 0x16, /* Device Clock */

Please refer to this thread  Solved: CX3 timestamp - Cypress Developer Community  

Please refer to this KBA for getting 0.1us timestamp  How to Get a 0.1-µs Unit Timestamp with FX3 – KBA2... - Cypress Developer Community  

Q: Assuming that 0.033 (s) has passed, this value must be filled in 0.033 / (1/1000) = 33?

>> D42..D32 represents the frame number at the time the STC was sampled.

Regards,
Rashi

View solution in original post

0 Likes
3 Replies