摘要:
A method of determining the downstream propagation time of signals from a USB Host Controller across one or more USB cables and one or more USB Hubs to a Super Speed USB device, comprising: opening at least one Isochronous communication pipe between the Host Controller and the Super Speed USB device; ensuring that the Super Speed USB device is in link state U0 in preparation for receiving an ITP; controlling the USB Host Controller to send a plurality of ITPs across the Isochronous communication pipe, the ITPs containing respective first timestamps indicative of times at which the Host Controller generated the respective ITPs; locking a local clock of the Super Speed USB device to information that comprises the first timestamp, derived from one or more of the ITPs, the locking being in respect of frequency such that the local clock is syntonised to a timebase of the USB Host Controller and a notion of time of the local clock is substantially synchronised to a notion of time of the USB Host Controller but with a constant phase delay equal to an average downstream propagation time of the plurality of ITPs from the USB Host Controller to the Super Speed USB device; the Super Speed USB device transmitting a plurality of signals to the USB Host Controller, each of the signals containing a second timestamp indicative of a local time in the time domain of the Super Speed USB device when the respective signal was generated by the Super Speed device; the USB Host Controller creating a third timestamp indicative of a time of reception of the respective signals from the Super Speed USB device; the USB Host Controller determining a time period from one or more respective time differences between corresponding second and third timestamps, the time period being indicative of a sum of a downstream propagation time and an upstream propagation time; and determining the downstream propagation time from the time period.