摘要:
An apparatus for generating a local clock signal, comprising: a USB adapted to receive a USB data stream; a reference signal source for providing a reference signal; timing circuitry for determining a frequency of a periodic data structure decoded from the USB data stream by comparing the periodic data structure with the reference signal; and circuitry for generating a local clock signal having a desired local clock frequency. The circuitry for generating the local clock signal is configured to receive an information signal having data indicative of the desired local clock frequency and to generate the local clock signal by: i) generating a clock synchronization signal comprising clock and trigger signals by combining the periodic data structure with a scaling factor; ii) generating a divided signal by dividing the reference signal; iii) manipulating the clock synchronization signal and the divided signal according to the desired local clock frequency; iv) generating a phase comparison signal by phase comparing the manipulated clock synchronization signal and divided signal; and v) generating the local clock signal with a controlled oscillator clock generator of the circuitry by using the phase comparison signal to control the controlled oscillator clock generator.
摘要:
The invention provides a method of measuring the propagation time of signals from a USB host to a USB device within a USB tree, comprising designating a master USB device in said USB tree, generating or designating specified signal structures for transmission in the USB data traffic, transmitting said specified signal structures to said USB device in a predefined sequence, monitoring said USB traffic by means of said master USB device for said specified signal structures and for specified response signals from said USB device, generating event triggering signals local to said master USB device corresponding to decoding of said specified signal structures, generating event triggering signals local to said master USB device corresponding to decoding of response signals from said USB device, measuring a time interval between said event triggering signals in said master USB device, and determining a propagation time from said USB host to said USB device from said time interval.
摘要:
A method of synchronising a compound Super Speed USB device, comprising: providing data communication between a host computing device and the compound Super Speed USB device across the Super Speed USB communication channel; establishing a Super Speed USB communication channel to a Super Speed USB function of the compound USB device; establishing a non-Super Speed synchronisation channel to a non-Super Speed USB function of the compound USB device; and synchronising a local clock of the compound USB device to a periodic data structure within a data stream in the non-Super Speed synchronisation channel so that the local clock can enable synchronous operation of the compound USB device with one or more comparable USB devices.
摘要:
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.
摘要:
The invention provides a method and apparatus for providing a synchronized multichannel universal serial bus, the method in one aspect comprising supplementing the signal channels in the USB specification to provide synchronization information from an external source, and in another aspect comprising observing USB traffic and locking a local clock signal of a USB device to a periodic signal contained in USB data traffic, wherein the locking is in respect of phase and/or frequency.