You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Packet timestamps are generated based on 24 bit 60 MHz counter value. For example OutputPcap generates nanosecond resolution timestamp based on the counter value:
The approach of detecting counter overflows by comparing timestamp against previous timestamp works fine when there is actual bus traffic (even when there is no transfer in progress there is a steady number of SOF packets sent on Full- and High- speed links). However, the timestamps become no longer relevant when the bus is suspended and therefore there is no traffic whatsoever on the bus. Host has no way to tell how many overflows there were during the suspend.
A naive solution is to send new magic byte on every counter overflow. Then the host software could use it to keep the timestamp accurate while the bus is suspended.
The text was updated successfully, but these errors were encountered:
Copied from openvizsla#55
Packet timestamps are generated based on 24 bit 60 MHz counter value. For example
OutputPcap
generates nanosecond resolution timestamp based on the counter value:ov_ftdi/software/host/ovctl.py
Lines 221 to 231 in f70968b
The approach of detecting counter overflows by comparing timestamp against previous timestamp works fine when there is actual bus traffic (even when there is no transfer in progress there is a steady number of SOF packets sent on Full- and High- speed links). However, the timestamps become no longer relevant when the bus is suspended and therefore there is no traffic whatsoever on the bus. Host has no way to tell how many overflows there were during the suspend.
A naive solution is to send new magic byte on every counter overflow. Then the host software could use it to keep the timestamp accurate while the bus is suspended.
The text was updated successfully, but these errors were encountered: