CN113076278A - USB device clock calibration method, device, system and computer readable storage medium - Google Patents

USB device clock calibration method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN113076278A
CN113076278A CN202110365439.4A CN202110365439A CN113076278A CN 113076278 A CN113076278 A CN 113076278A CN 202110365439 A CN202110365439 A CN 202110365439A CN 113076278 A CN113076278 A CN 113076278A
Authority
CN
China
Prior art keywords
clock signal
usb
reference clock
value
internal clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110365439.4A
Other languages
Chinese (zh)
Inventor
杨力
王翔
刘吉平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hangshun Chip Technology R&D Co Ltd
Original Assignee
Shenzhen Hangshun Chip Technology R&D Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hangshun Chip Technology R&D Co Ltd filed Critical Shenzhen Hangshun Chip Technology R&D Co Ltd
Priority to CN202110365439.4A priority Critical patent/CN113076278A/en
Publication of CN113076278A publication Critical patent/CN113076278A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention discloses a method, a device, equipment and a readable storage medium for calibrating a USB equipment clock, wherein the method for calibrating the USB equipment clock comprises the following steps: acquiring a reference clock signal of the USB master device at preset time intervals; the secondary calibration function is operated according to the reference clock signal, the internal clock signal of the USB slave device is calibrated in real time, the method is suitable for the use environment of complicated and variable USB devices, such as temperature change and the like, and is realized by a hardware algorithm, so that software resources are greatly saved, and the complexity of software development is reduced.

Description

USB device clock calibration method, device, system and computer readable storage medium
Technical Field
The present invention relates to the field of video detection, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for calibrating a clock of a USB device.
Background
The crystal oscillator is the most widely used analog circuit in the chip, and one crystal oscillator with a prepared clock frequency is a fundamental stone for stable operation of a digital chip. In the fast transmission interface, the clock synchronization quality between two master-slave systems can greatly affect the accuracy of data transmission and reception. USB interfaces are widely used, and have high transmission speed and many devices, but the quality of USB clock source is uneven, and if the clock skew between devices is large, the data transmission rate will be reduced and errors will be caused.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a computer readable storage medium for calibrating a USB equipment clock, and aims to provide a method for synchronizing clocks of USB master and slave equipment, wherein the method for calibrating the USB equipment clock comprises the following steps:
acquiring a reference clock signal of the USB master device at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the USB slave equipment in real time.
In one embodiment, the step of acquiring the reference clock signal of the USB host device at preset time intervals includes:
acquiring SOF token packets sent by USB master equipment at preset time intervals;
and analyzing the SOF token packet to obtain a reference clock signal.
In one embodiment, the step of running a secondary calibration function according to the reference clock to calibrate an internal clock signal of the USB slave device in real time includes:
obtaining an expected value of an internal clock signal of the USB slave device;
and calibrating the internal clock signal according to the difference value of the expected value and the count value of the reference clock signal based on a secondary calibration function until the internal clock signal is synchronous with the reference clock signal.
In one embodiment, the step of calibrating the internal clock signal according to the difference between the expected value and the count value of the reference clock signal until the internal clock signal is synchronized with the reference clock signal comprises:
inputting the reference clock signal into a Counter module, and counting the reference clock signal to obtain a count value of the reference clock signal;
inputting the counting value and the expected value into a Compare module to obtain a difference value between the counting value and the expected value;
when the calculation module receives the difference value, an adjustment value of the crystal oscillator is determined according to the difference value so as to calibrate the internal clock signal until the internal clock signal is synchronous with the reference clock signal.
In one embodiment, the step of determining an adjustment value of the crystal oscillator according to the difference value to calibrate the internal clock signal until the internal clock signal is synchronized with the reference clock signal includes:
when the difference value is a positive value, reducing the output frequency of the crystal oscillator according to the adjustment value so as to adjust the synchronization of the internal clock signal and the reference clock signal;
and when the difference value is a negative value, increasing the output frequency of the crystal oscillator according to the adjustment value so as to adjust the synchronization of the internal clock signal and the reference clock signal.
In one embodiment, the USB master device is a USB player, the USB slave device is a digital audio player,
acquiring a reference clock signal of the USB player at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the digital sound in real time.
In one embodiment, the USB master device is a USB player, the USB slave device is a digital display,
acquiring a reference clock signal of the USB player at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the digital display in real time.
In addition, to achieve the above object, the present invention further provides a USB device clock calibration apparatus, including:
the acquisition module is used for acquiring a reference clock signal of the USB master device at intervals of preset time;
and the operation calibration module is used for operating a secondary calibration function according to the reference clock signal and calibrating the internal clock signal of the USB slave equipment in real time.
In addition, in order to achieve the above object, the present invention further provides a USB device clock calibration system, where the USB device clock calibration system includes a memory, a processor, and a USB device clock calibration program stored in the memory and running on the processor, and the USB device clock calibration program, when executed by the processor, implements the steps of the USB device clock calibration method described above.
Furthermore, to achieve the above object, the present invention further provides a computer-readable storage medium, on which the USB device clock calibration method program is stored, and when being executed by a processor, the USB device clock calibration method program implements the steps of the USB device clock calibration method as described above.
According to the invention, the reference clock signal of the USB master device is acquired at preset time intervals, the secondary calibration function is operated according to the reference clock signal, and the internal clock signal of the USB slave device is calibrated in real time, so that the method is applicable to complicated and changeable USB device use environments such as temperature change and the like, and is realized by a hardware algorithm, thereby greatly saving software resources and reducing the complexity of software development.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;
FIG. 2 is a schematic flowchart of a USB device clock calibration method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the logic structure of the present invention;
FIG. 4 is a diagram illustrating a first application scenario of the present invention;
fig. 5 is a diagram illustrating a second application scenario of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a terminal, and referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the terminal. The terminal according to the embodiment of the present invention may include hardware devices such as a PC (Personal Computer), a portable Computer, and a server.
As shown in fig. 1, the terminal includes: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a computer storage readable storage medium, may include therein an operation terminal, a network communication module, a user interface module, and a USB device clock calibration program. The operation terminal is a program for managing and controlling hardware and software resources of the terminal, and supports the running of a USB device clock calibration program and other software or programs.
The terminal shown in fig. 1 may be used to provide a method for synchronizing clocks of USB master and slave devices, and the user interface 1003 is mainly used to detect or output various information, such as an input reference clock and an output calibrated internal clock; the network interface 1004 is mainly used for interacting with a background server and communicating; processor 1001 may be configured to invoke a USB device clock calibration program stored in memory 1005 and perform the following operations:
acquiring a reference clock signal of the USB master device at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the USB slave equipment in real time.
The invention can be applied to complicated and changeable USB equipment using environments such as temperature change and the like by acquiring the reference clock signal of the USB master equipment at intervals of preset time, operating the secondary calibration function according to the reference clock signal and calibrating the internal clock signal of the USB slave equipment in real time, and is realized by a hardware algorithm, thereby greatly saving software resources and reducing the complexity of software development
The specific implementation of the mobile terminal of the present invention is substantially the same as the following embodiments of the USB device clock calibration method, and will not be described herein again.
Based on the above structure, a first embodiment of the USB device clock calibration method of the present invention is provided.
The invention provides a USB device clock calibration method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a USB device clock calibration method according to a first embodiment of the present invention.
In the present embodiment, an embodiment of a USB device clock calibration method is provided, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
In this embodiment, the method for calibrating the clock of the USB device includes:
step S10, acquiring a reference clock signal of the USB master device at preset time intervals;
the USB (Universal Serial Bus) has high transmission speed, can meet the application environment requirement of high-speed data transmission, and has the advantages of simple power supply (Bus power supply), convenient installation and configuration (supporting plug and play and hot plug), simple expansion port (127 peripheral devices can be expanded at most through a concentrator), diversified transmission modes (4 transmission modes), good compatibility (downward compatibility after product upgrade), and the like. The clock sources of the USB master and slave devices are independent from each other, and the clock synchronization quality of the USB slave device and the USB master device can greatly influence the accuracy of data sending and receiving. The clock of the USB slave device is synchronous with the clock of the USB master device, so that data between the two devices can be directly synchronously delivered. The clock of the USB slave device increases the deviation after PLL (phase locked loop) and multiple frequency division, and if the clock deviation of the USB slave device is large, when the USB performs long-time large data volume transmission, the data receiving error inevitably occurs, so that the transmission rate and stability of the video device are improved. The USB device of the present embodiment includes a USB slave device and a USB master device.
The embodiment provides a method for calibrating a clock of a USB slave device so as to synchronize the USB slave device with a USB master device. It should be noted that, in the present embodiment, the calibration method is executed once at regular intervals, that is, at preset time intervals, to implement real-time tracking and correction of the clock of the USB slave device, so that the USB slave device uses a complicated and variable usage environment, such as temperature change.
The method comprises the steps of firstly, acquiring a reference clock signal of the USB master device at preset time intervals, and taking the clock signal sent by the USB master device as a reference, so that the stability of transmitted data can be ensured even if the clock drift problem is caused by temperature rise in the use process of the USB slave device.
In some specific embodiments, step S10 further includes:
step a, acquiring SOF token packets sent by USB master equipment at preset time intervals;
and b, analyzing the SOF token packet to obtain a reference clock signal.
The method comprises the steps that a USB master device sends SOF token packets at intervals of a preset time interval, the SOF token packets are received through a SOF token capture module (refer to fig. 3), after initial keywords of the SOF token packets are detected, a USB device calibration function is started, the initial keywords in the SOF token packets are accurately obtained in a high-power sampling or multi-phase mode, the SOF token packets are continuously analyzed, and SOF interval signals, namely reference clock signals, are obtained.
And step S20, according to the reference clock signal, operating a secondary calibration function, and calibrating the internal clock signal of the USB slave equipment in real time.
The USB slave device may perform calibration of the internal clock once when it is shipped from a factory, but the internal clock is subjected to PLL and multiple frequency division to increase the deviation, so that a secondary calibration function is required to perform recalibration. And calibrating an internal clock signal generated by the USB slave equipment according to the reference clock signal, so that the USB master equipment and the USB slave equipment are synchronous, and the synchronization of the USB master equipment and the USB slave equipment can be realized by ignoring whether the clock of the USB master equipment is correct or not.
In some specific embodiments, step S20 further includes:
step c, obtaining an expected value of an internal clock signal of the USB slave equipment;
and d, calibrating the internal clock signal according to the difference value of the expected value and the count value of the reference clock signal based on a secondary calibration function until the internal clock signal is synchronous with the reference clock signal.
After the reference clock signal is acquired, the internal generation circuit generates an internal clock signal, acquires an expected value configured in advance for the internal clock signal, calculates a difference value between the expected value and a count value of the reference clock signal after the secondary calibration function is started, calibrates the internal clock signal according to the difference value, and uses the difference value as an adjustment value of the internal crystal oscillator to calibrate the output internal clock signal. When the difference value is a positive value, the internal clock corresponding to the internal clock signal is faster; when the difference value is negative, the internal clock corresponding to the internal clock signal is slow.
In some specific embodiments, the step of calibrating the internal clock signal according to the difference between the expected value and the count value of the reference clock signal in step d until the internal clock signal is synchronized with the reference clock signal includes:
step d1, inputting the reference clock signal into a Counter module, counting the reference clock signal, and obtaining a count value of the reference clock signal;
step d2, inputting the count value and the expected value into a Compare module to obtain the difference between the count value and the expected value;
and d3, when the calibration module receives the difference, determining an adjustment value of the crystal oscillator according to the difference to calibrate the internal clock signal until the internal clock signal is synchronous with the reference clock signal.
Referring to fig. 3, a reference clock signal is input to a Counter module, the Counter module is responsible for counting intervals of the reference clock signal by using the internal clock signal to obtain a count value, the count value is input to a Compare module, the Config module sends the expected value to the Compare module, and the Compare module subtracts the expected value from the count value to obtain a difference between the expected value and the count value. And after the Compare module obtains the difference value, sending the difference value to a calibrate module, calculating by the calibrate module according to the difference value to obtain an adjustment value of the crystal oscillator, and adjusting the crystal oscillator to obtain adjustment of the internal clock signal.
In some specific embodiments, in step d3, the step of determining an adjustment value of the crystal oscillator according to the difference value to calibrate the internal clock signal until the internal clock signal is synchronized with the reference clock signal further includes:
step d31, when the difference is positive, reducing the output frequency of the crystal oscillator according to the adjustment value to adjust the synchronization of the internal clock signal and the reference clock signal;
and d32, when the difference is negative, increasing the output frequency of the crystal oscillator according to the adjustment value to adjust the synchronization of the internal clock signal and the reference clock signal.
Referring to fig. 3, if the difference between the count value and the expected value is a positive value, which indicates that the count value is greater than the expected value, the clock corresponding to the internal clock signal is faster, and the Adjust Crystals module reduces the output frequency of the internal crystal oscillator according to the adjustment value to slow down the internal clock signal, so that the internal clock signal is synchronized with the reference clock signal; if the difference value between the count value and the expected value is a negative value, the count value is smaller than the expected value, the internal clock corresponding to the internal clock signal is slow, and the Adjust Crystal modules are needed to increase the output frequency of the internal crystal oscillator so as to accelerate the internal clock until the internal clock signal is synchronous with the reference clock signal; if the difference between the count value and the expected value is zero, it indicates that the internal clock signal and the reference clock signal are in a synchronous state, and no adjustment is needed to be made on the frequency of the crystal oscillator.
According to the embodiment, the reference clock signal of the USB master device is acquired at preset time intervals, the secondary calibration function is operated according to the reference clock signal, the internal clock signal of the USB slave device is calibrated in real time, the method and the device are suitable for complicated and changeable USB device use environments such as temperature change and the like, and are realized by a hardware algorithm, so that software resources are greatly saved, and the complexity of software development is reduced.
A second embodiment is proposed, which is different from the first embodiment in that the second embodiment is an application scenario embodiment, the USB master device is a USB player, the USB slave device is a digital audio device, and the second embodiment includes the steps of:
step g, acquiring a reference clock signal of the USB player at intervals of preset time;
and h, operating a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the digital sound in real time.
Referring to fig. 4, the USB master-slave devices in the application scenario are a USB player and a digital audio device, and audio information is transmitted between the USB player and the digital audio device, and the USB device clock calibration method provided in the first embodiment has a large transmission data amount and no error retransmission mechanism, and can avoid receiving errors, noise generated by the digital audio device, and experience problems of image users, and can also ensure stability of audio data transmission even if the device clock drifts due to temperature rise of the device during use.
This embodiment further provides another application scenario embodiment, where the USB master device is a USB player, and the USB slave device is a digital display, including the steps of:
step i, acquiring a reference clock signal of the USB player at intervals of preset time;
and j, operating a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the digital display in real time.
Referring to fig. 5, the USB master-slave devices in the application scenario are USB players and digital displays, which have the same advantages as described above, and can avoid receiving errors and screen splash of the digital displays.
In addition, an embodiment of the present invention further provides a USB device clock calibration apparatus, where the USB device clock calibration apparatus includes:
the acquisition module is used for acquiring a reference clock signal of the USB master device at intervals of preset time;
and the operation calibration module is used for operating a secondary calibration function according to the reference clock signal and calibrating the internal clock signal of the USB slave equipment in real time.
In addition, an embodiment of the present invention further provides a USB device clock calibration system, where the USB device clock calibration system includes a memory, a processor, and a USB device clock calibration program that is stored in the memory and can be run on the processor, and when the USB device clock calibration program is executed by the processor, the USB device clock calibration system implements the steps of the USB device clock calibration method described above.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a USB device clock calibration program is stored on the computer-readable storage medium, and when executed by a processor, the USB device clock calibration program implements the steps of the USB device clock calibration method described above.
Note that the computer storage medium may be provided in a terminal-based system.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the USB device clock calibration method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A USB device clock calibration method is characterized by comprising the following steps:
acquiring a reference clock signal of the USB master device at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the USB slave equipment in real time.
2. The method for calibrating a clock of a USB device according to claim 1, wherein the step of acquiring the reference clock signal of the USB host device at predetermined time intervals comprises:
acquiring SOF token packets sent by USB master equipment at preset time intervals;
and analyzing the SOF token packet to obtain a reference clock signal.
3. The method for calibrating a clock of a USB device according to claim 2, wherein said step of running a secondary calibration function according to said reference clock to calibrate an internal clock signal of a USB slave device in real time comprises:
obtaining an expected value of an internal clock signal of the USB slave device;
and calibrating the internal clock signal according to the difference value of the expected value and the count value of the reference clock signal based on a secondary calibration function until the internal clock signal is synchronous with the reference clock signal.
4. The USB device clock calibration method of claim 3, wherein the step of calibrating the internal clock signal according to the difference between the expected value and the count value of the reference clock signal until the internal clock signal is synchronized with the reference clock signal comprises:
inputting the reference clock signal into a Counter module, and counting the reference clock signal to obtain a count value of the reference clock signal;
inputting the counting value and the expected value into a Compare module to obtain a difference value between the counting value and the expected value;
when the calculation module receives the difference value, an adjustment value of the crystal oscillator is determined according to the difference value so as to calibrate the internal clock signal until the internal clock signal is synchronous with the reference clock signal.
5. The method for calibrating a clock of a USB device according to claim 4, wherein the step of determining an adjustment value of a crystal oscillator according to the difference value to calibrate the internal clock signal until the internal clock signal is synchronized with the reference clock signal comprises:
when the difference value is a positive value, reducing the output frequency of the crystal oscillator according to the adjustment value so as to adjust the synchronization of the internal clock signal and the reference clock signal;
and when the difference value is a negative value, increasing the output frequency of the crystal oscillator according to the adjustment value so as to adjust the synchronization of the internal clock signal and the reference clock signal.
6. The USB device clock calibration method of claim 1, wherein the USB master device is a USB player, the USB slave device is a digital audio,
acquiring a reference clock signal of the USB player at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the digital sound in real time.
7. The USB device clock calibration method of claim 1, wherein the USB master device is a USB player, the USB slave device is a digital display,
acquiring a reference clock signal of the USB player at preset time intervals;
and running a secondary calibration function according to the reference clock signal, and calibrating the internal clock signal of the digital display in real time.
8. A USB device clock calibration apparatus, comprising:
the acquisition module is used for acquiring a reference clock signal of the USB master device at intervals of preset time;
and the operation calibration module is used for operating a secondary calibration function according to the reference clock signal and calibrating the internal clock signal of the USB slave equipment in real time.
9. A USB device clock calibration system comprising a memory, a processor and a USB device clock calibration program stored on the memory and executable on the processor, the USB device clock calibration program when executed by the processor implementing the steps of the USB device clock calibration method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a USB device clock calibration program stored thereon, which when executed by a processor implements the steps of the USB device clock calibration method of any one of claims 1 to 7.
CN202110365439.4A 2021-04-02 2021-04-02 USB device clock calibration method, device, system and computer readable storage medium Pending CN113076278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110365439.4A CN113076278A (en) 2021-04-02 2021-04-02 USB device clock calibration method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110365439.4A CN113076278A (en) 2021-04-02 2021-04-02 USB device clock calibration method, device, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113076278A true CN113076278A (en) 2021-07-06

Family

ID=76615373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110365439.4A Pending CN113076278A (en) 2021-04-02 2021-04-02 USB device clock calibration method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113076278A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064535A (en) * 2021-11-15 2022-02-18 深圳市闪芯微电子有限公司 USB chip and manufacturing method thereof
CN115454230A (en) * 2022-10-10 2022-12-09 苇创微电子(上海)有限公司 Method for reducing power consumption of driving chip for information screen display and display system
CN116131988A (en) * 2023-04-14 2023-05-16 深圳酷源数联科技有限公司 Standard time generation device, method, device, readable storage medium and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035296A (en) * 2007-04-03 2007-09-12 北京中星微电子有限公司 Digital audio/video synchronization method, device and system
CN102331979A (en) * 2011-09-28 2012-01-25 成都市芯锐微电子有限公司 Dynamic clock frequency calibration method applied to universal serial bus (USB) equipment
CN102571080A (en) * 2010-12-27 2012-07-11 北京中电华大电子设计有限责任公司 clock recovery method and circuit supporting dynamic calibration
CN103092256A (en) * 2011-11-03 2013-05-08 原相科技股份有限公司 Clock frequency adjusting circuit and clock frequency adjusting method thereof
CN104834623A (en) * 2015-04-28 2015-08-12 常州听觉工坊智能科技有限公司 Audio playing method and audio playing device
CN109687867A (en) * 2018-11-30 2019-04-26 珠海慧联科技有限公司 A kind of no crystal oscillator USB device clock correcting method and calibration circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035296A (en) * 2007-04-03 2007-09-12 北京中星微电子有限公司 Digital audio/video synchronization method, device and system
CN102571080A (en) * 2010-12-27 2012-07-11 北京中电华大电子设计有限责任公司 clock recovery method and circuit supporting dynamic calibration
CN102331979A (en) * 2011-09-28 2012-01-25 成都市芯锐微电子有限公司 Dynamic clock frequency calibration method applied to universal serial bus (USB) equipment
CN103092256A (en) * 2011-11-03 2013-05-08 原相科技股份有限公司 Clock frequency adjusting circuit and clock frequency adjusting method thereof
CN104834623A (en) * 2015-04-28 2015-08-12 常州听觉工坊智能科技有限公司 Audio playing method and audio playing device
CN109687867A (en) * 2018-11-30 2019-04-26 珠海慧联科技有限公司 A kind of no crystal oscillator USB device clock correcting method and calibration circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064535A (en) * 2021-11-15 2022-02-18 深圳市闪芯微电子有限公司 USB chip and manufacturing method thereof
CN114064535B (en) * 2021-11-15 2024-06-11 深圳市闪芯微电子有限公司 USB chip and manufacturing method thereof
CN115454230A (en) * 2022-10-10 2022-12-09 苇创微电子(上海)有限公司 Method for reducing power consumption of driving chip for information screen display and display system
CN116131988A (en) * 2023-04-14 2023-05-16 深圳酷源数联科技有限公司 Standard time generation device, method, device, readable storage medium and system

Similar Documents

Publication Publication Date Title
CN113076278A (en) USB device clock calibration method, device, system and computer readable storage medium
US10469184B1 (en) Radio frequency ranging using phase difference
CN109417500B (en) System and method for controlling isochronous data streams
US20230341892A1 (en) Device synchronous calibration method and apparatus, devices, and storage medium
US11811501B2 (en) Clock synchronization method and apparatus, and storage medium
WO2020135198A1 (en) Clock synchronization method and device, and storage medium
CN111510237B (en) Controller and method for modifying clock signal, and synchronization device
TWI640165B (en) Method of sensor clock estimation, and associated apparatus
CN112866098B (en) Gateway time service method, device, electronic equipment and computer readable medium
US20220137661A1 (en) Electronic device with multiple processors and synchronization method thereof
US20130215910A1 (en) Transmission apparatus, transmission method, program, and communication system
WO2017054554A1 (en) Clock synchronization method, device, and communication apparatus
CN115694704A (en) Time synchronization method, device, equipment and storage medium
CN103149970A (en) Clock calibration method and system
JP5261714B2 (en) High-precision time synchronization apparatus, high-precision time synchronization method, and program
JP5096529B2 (en) Frequency calibration fixing device and frequency calibration fixing method
CN109787620B (en) Method and device for calibrating frequency based on digital frequency divider
CN114285514B (en) Clock synchronization method and device
CN113721702A (en) Clock compensation method applied to externally-hung touch chip
TW200303676A (en) System for providing a calibrated clock and methods thereof
TWI400596B (en) Synchronized receiving circuit and method thereof
TWI795678B (en) Synchronization device and synchronization method
WO2022141575A1 (en) Method and device for using reference time information
AU2013204485A1 (en) Synchronisation and Timing Method and Apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210706