CN114710257A - Frequency adjusting method and device and slave - Google Patents

Frequency adjusting method and device and slave Download PDF

Info

Publication number
CN114710257A
CN114710257A CN202210498769.5A CN202210498769A CN114710257A CN 114710257 A CN114710257 A CN 114710257A CN 202210498769 A CN202210498769 A CN 202210498769A CN 114710257 A CN114710257 A CN 114710257A
Authority
CN
China
Prior art keywords
frequency
slave
oscillation
working
control signal
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
CN202210498769.5A
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.)
Hefei Hongjing Semiconductor Technology Co ltd
Original Assignee
Hefei Hongjing Semiconductor Technology 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 Hefei Hongjing Semiconductor Technology Co ltd filed Critical Hefei Hongjing Semiconductor Technology Co ltd
Priority to CN202210498769.5A priority Critical patent/CN114710257A/en
Publication of CN114710257A publication Critical patent/CN114710257A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop

Abstract

The disclosure provides a frequency adjustment method, a device and a slave machine, wherein the method comprises the following steps: determining a transmission interval of a detection packet transmitted by a host; determining a first working frequency of the host according to the sending interval; under the condition that a frequency matching condition is not met between the first working frequency and a second working frequency of the slave, generating a frequency control signal; and sending the frequency control signal to the oscillation device so that the oscillation device can adjust the working parameters according to the frequency control signal, and the slave machine can be adjusted from the second working frequency to the third working frequency. According to the embodiment of the disclosure, the cost of the slave machine can be reduced, and meanwhile, the working frequency of the slave machine is matched with the working frequency of the host machine.

Description

Frequency adjusting method and device and slave
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a frequency adjustment method, an apparatus, and a slave.
Background
Data is transmitted between master and slave devices based on Universal Serial Bus (USB) in an asynchronous manner, which has high requirements for frequency or clock accuracy. In the slave device, in order to generate a high-precision frequency matched with the master device, an external crystal oscillator is generally used as a frequency input source, and a final frequency is obtained by means of Phase-locked loop (PLL) frequency multiplication or the like. The cost of the USB slave device is high due to the fact that the crystal oscillator with high cost is adopted as the frequency input source.
Disclosure of Invention
The disclosure provides a frequency adjustment method and device and a slave machine.
In a first aspect, the present disclosure provides a frequency adjustment method applied to an oscillation control device of a slave, the slave including an oscillation device connected to the oscillation control device, the frequency adjustment method including: determining a sending interval of a detection packet sent by a host; determining a first working frequency of the host according to the sending interval; generating a frequency control signal when a frequency matching condition is not satisfied between the first operating frequency and a second operating frequency of the slave; and sending the frequency control signal to the oscillation device so that the oscillation device can adjust working parameters according to the frequency control signal, so that the slave machine is adjusted from the second working frequency to a third working frequency, and the frequency matching condition is met between the third working frequency and the first working frequency.
In a second aspect, the present disclosure provides a frequency adjustment method applied to an oscillation device of a slave, the slave including an oscillation control device connected to the oscillation device, the frequency adjustment method including: receiving a frequency control signal sent by the oscillation control device; the frequency control signal is a signal sent by the oscillation control device under the condition that a frequency matching condition is not met between a first working frequency of a master and a second working frequency of a slave, wherein the first working frequency is a frequency determined by the oscillation control device according to a sending interval of a detection packet sent by the master; and adjusting working parameters according to the frequency control signal to adjust the slave machine from the second working frequency to a third working frequency, wherein the third working frequency and the first working frequency meet the frequency matching condition.
In a third aspect, the present disclosure provides an oscillation control device provided in a slave, the slave further including an oscillation device connected to the oscillation control device, the oscillation control device including: an interval determining unit for determining a transmission interval of the detection packet transmitted by the host; a frequency determining unit, configured to determine a first operating frequency of the host according to the sending interval; a generating unit, configured to generate a frequency control signal when a frequency matching condition is not satisfied between the first operating frequency and a second operating frequency of the slave; and the transmitting unit is used for transmitting the frequency control signal to the oscillating device so that the oscillating device can adjust working parameters according to the frequency control signal, the slave machine is adjusted from the second working frequency to a third working frequency, and the frequency matching condition is met between the third working frequency and the first working frequency.
In a fourth aspect, the present disclosure provides an oscillation device provided in a slave, the slave further including an oscillation control device connected to the oscillation device, the oscillation device including: a receiving unit, configured to receive a frequency control signal sent by the oscillation control apparatus; the frequency control signal is a signal sent by the oscillation control device under the condition that a frequency matching condition is not met between a first working frequency of a master and a second working frequency of a slave, wherein the first working frequency is a frequency determined by the oscillation control device according to a sending interval of a detection packet sent by the master; and the adjusting unit is used for adjusting working parameters according to the frequency control signal so that the slave machine is adjusted from the second working frequency to a third working frequency, and the frequency matching condition is met between the third working frequency and the first working frequency.
In a fifth aspect, the present disclosure provides a slave, including: at least one oscillating device; and oscillation control means connected to said at least one oscillation means; the oscillation control device is used for realizing the frequency adjusting method in any one of the embodiments of the present disclosure; the oscillation device is used for realizing the frequency adjustment method in any one of the embodiments of the present disclosure.
In a sixth aspect, the present disclosure provides an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores one or more computer programs executable by the at least one processor, the one or more computer programs being executable by the at least one processor to enable the at least one processor to perform the frequency adjustment method described above.
In a seventh aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor/processing core, implements the frequency adjustment method described above.
According to the embodiment provided by the disclosure, the oscillation device and the oscillation control device with lower cost are arranged in the slave machine to replace an external crystal oscillator, so that the cost of the slave machine can be effectively reduced, the oscillation control device is responsible for detecting whether the working frequency of the slave machine and the working frequency of the master machine meet a frequency matching condition, and sending a frequency control signal to the oscillation device under the condition that the frequency matching condition is not met, and the oscillation device adjusts the working parameters according to the frequency control signal, so that the working frequency of the slave machine and the working frequency of the master machine meet the frequency matching condition, thereby timely and accurately adjusting the working frequency of the slave machine and ensuring normal communication between the master machine and the slave machine.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the attached drawings.
Fig. 1 is a schematic diagram of a slave according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of a frequency adjustment method according to an embodiment of the disclosure.
Fig. 3 is a flowchart of a frequency adjustment method according to an embodiment of the disclosure.
Fig. 4 is a flowchart of a frequency adjustment method according to an embodiment of the disclosure.
Fig. 5 is a flowchart of a frequency adjustment method according to an embodiment of the disclosure.
Fig. 6 is a schematic diagram of a slave according to an embodiment of the present disclosure.
Fig. 7 is a schematic diagram of a working process of a frequency adjustment method according to an embodiment of the present disclosure.
Fig. 8 is a block diagram of an oscillation control apparatus according to an embodiment of the present disclosure.
Fig. 9 is a block diagram of an oscillation device according to an embodiment of the present disclosure.
Fig. 10 is a block diagram of a slave according to an embodiment of the present disclosure.
Fig. 11 is a block diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
To facilitate a better understanding of the technical aspects of the present disclosure, exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, wherein various details of the embodiments of the present disclosure are included to facilitate an understanding, and they should be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising … …, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The slave is a device relative to the master, and data transmission between the slave and the master can be performed according to an agreed communication protocol in general. For example, two devices connected by USB may transmit data via USB communication protocol, and the two devices may be divided into a USB host and a USB slave according to their primary and secondary relationships.
The USB communication belongs to asynchronous serial communication, adopts non-return-to-zero codes for transmission, and communication clocks are generated by a host and a slave respectively. The transmitting and receiving parties can negotiate the USB version during handshaking, so that the communication speed is determined. However, the master and the slave have no source clock, and the problem of communication desynchronization inevitably occurs under the accumulation of errors. In order to solve this problem, in the related art, a crystal oscillator is usually disposed outside the slave, and the slave performs information transmission with the master according to the frequency of the crystal oscillator.
Fig. 1 is a schematic diagram of a slave according to an embodiment of the present disclosure. Referring to fig. 1, a crystal oscillator 101 is provided outside the slave, and the slave includes a USB interface 102, a phase-locked loop module 103, a clock phase adjustment module 104, a data transceiver module 105, and a data processing and protocol analysis module 106 connected to the host. The external crystal oscillator 101 generates a high-precision initial clock signal and inputs the high-precision initial clock signal to the phase-locked loop module 103 of the slave, the phase-locked loop module 103 obtains a frequency-multiplied clock by performing frequency multiplication on the initial clock signal, and inputs the frequency-multiplied clock to the clock phase adjusting module 104, thereby obtaining the high-precision clock. The clock phase adjusting module 104 inputs a clock to the data transceiver module 105 to control information transmission between the slave and the host, and the data processing and protocol parsing module 106 may perform further processing operations on the related data. In addition, the data transceiver module 105 and the slave interface 102 may obtain USB differential data through differential operation, where the USB differential data may reflect a phase deviation between the slave clock and the master clock, and based on this, the clock phase adjustment module 104 may adjust the slave clock according to the USB differential data to ensure that clock phases of the slave and the master are consistent.
In the slave shown in fig. 1, although a clock with higher accuracy can be obtained, the cost of the external crystal oscillator is higher, and therefore, the cost of the USB system is correspondingly higher.
In view of this, in the embodiment of the present disclosure, an oscillation device and an oscillation control device are disposed inside the slave machine to replace an external crystal oscillator, where the oscillation device may adopt a resistance-capacitance oscillation unit or an inductance oscillation unit, so as to effectively reduce the cost; meanwhile, the oscillation control device effectively controls the oscillation device to enable the working frequency of the slave machine and the working frequency of the master machine to be kept within a preset error range, and under the condition that the working frequency of the master machine or the slave machine changes, the working frequency of the slave machine is adjusted correspondingly in real time to enable the slave machine to work at a high-precision frequency (clock), so that normal communication between the slave machine and the master machine is guaranteed.
The frequency adjustment method according to the embodiment of the present disclosure may be performed by an oscillation control apparatus or an oscillation apparatus. The oscillation control device and the oscillation device are functional modules arranged in the slave machine, and the slave machine is connected with the host machine through a USB interface to transmit data. The host may be an electronic device such as a terminal device or a server, and the terminal device may be a vehicle-mounted device, a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like.
Fig. 2 is a flowchart of a frequency adjustment method according to an embodiment of the present disclosure, which is applied to an oscillation control device of a slave, where the slave further includes an oscillation device connected to the oscillation control device. Referring to fig. 2, the method includes the following steps.
In step S21, the transmission interval of the detection packet transmitted by the host is determined.
In step S22, a first operating frequency of the host is determined based on the transmission interval.
In step S23, when the frequency matching condition is not satisfied between the first operating frequency and the second operating frequency of the slave, a frequency control signal is generated.
In step S24, the frequency control signal is sent to the oscillation device, so that the oscillation device adjusts the operating parameter according to the frequency control signal, so that the slave device is adjusted from the second operating frequency to a third operating frequency, and a frequency matching condition is satisfied between the third operating frequency and the first operating frequency.
In some possible implementations, the slave and the host establish a connection through a USB interface.
For example, if a personal computer is connected to a portable hard disk in a USB manner, the personal computer is a master and the portable hard disk is a slave. For another example, the intelligent vehicle controller is connected with the vehicle-mounted networking terminal in a USB manner, the intelligent vehicle controller is a USB host, and the vehicle-mounted networking terminal is a USB slave.
In some possible implementations, the slave further includes a data transceiver module, which is configured to receive data transmitted by the master or transmit data to the master. In step S21, the oscillation control device determines the transmission interval of the detection packet based on the detection packet received by the data transmission/reception module and transmitted by the host.
In some possible implementations, determining the transmission interval of the detection packet transmitted by the host includes: and under the condition that the current detection packet is received, determining the interval between the sending time of the current detection packet and the sending time of the previous detection packet, and obtaining the sending interval. The current detection packet is a detection packet currently received by the slave, and the previous detection packet is a detection packet received at a previous moment adjacent to the current detection packet. In other words, each time the slave receives one detection packet, the oscillation control device determines the interval between the transmission times of the current detection packet and the previous detection packet, thereby obtaining the transmission interval.
In some possible implementations, the detection packet may be a Start of Frame (SOF) or a heartbeat packet.
In one example, SOF packets include information such as a PID field (used to characterize the type of USB transport packet), a frame number field, and a CRC5 field (Cyclic Redundancy Check 5, representing a 5-bit Cyclic Redundancy Check), and are issued by the USB host controller every 1.00ms + -0.0005 ms at the nominal rate of the full-speed bus (125 μ s + -0.0625 μ s for high-speed buses). When the slave detects the SOF packet, the slave learns that the host controller starts to start a frame (micro-frame), so that the first working frequency of the host is obtained according to the sending interval between two adjacent SOF packets.
After the first operating frequency of the host is obtained, in step S23, when it is determined that the frequency matching condition is not satisfied between the first operating frequency and the second operating frequency, a frequency control signal is generated. The second working frequency is the current working frequency of the slave, and the frequency matching condition is a condition for judging whether the relationship between the first working frequency and the second working frequency can guarantee normal communication between the master and the slave.
In some possible implementations, the frequency matching condition includes a frequency error threshold. The frequency error threshold may be an absolute error (e.g., 0.0005ms) or a relative error (e.g., the frequency error threshold is 150ppm, where ppm represents a deviation of the nominal frequency), which is not limited by the embodiments of the present disclosure.
If the frequency matching condition includes the frequency error threshold, before step S23, the method further includes: the oscillation control device calculates a difference between the first operating frequency and the second operating frequency, and determines whether a frequency matching condition is satisfied between the first operating frequency and the second operating frequency based on the difference and a frequency error threshold.
Since the frequency error threshold may be an absolute threshold or a relative threshold, determining whether the frequency matching condition between the first operating frequency and the second operating frequency is satisfied according to the difference and the frequency error threshold includes: and under the condition that the frequency error threshold is an absolute threshold, determining a difference value between the first operating frequency and the second operating frequency, comparing the absolute value of the difference value with the frequency error threshold, determining that the frequency matching condition is not met between the first operating frequency and the second operating frequency when the absolute value of the difference value is greater than or equal to the frequency error threshold, and determining that the frequency matching condition is met between the first operating frequency and the second operating frequency when the absolute value of the difference value is less than the frequency error threshold.
And under the condition that the frequency error threshold is a relative threshold, determining a difference value between the first working frequency and the second working frequency, calculating the percentage of the absolute value of the difference value to the first working frequency, determining that the frequency matching condition is not met between the first working frequency and the second working frequency when the percentage is greater than or equal to the frequency error threshold, and determining that the frequency matching condition is met between the first working frequency and the second working frequency when the percentage is less than the frequency error threshold.
In some possible implementations, the frequency control signal includes indication information for adjusting an operating parameter of the oscillating device.
In some possible implementations, in step S24, the oscillation control device sends frequency control information to the oscillation device, and the oscillation device adjusts its operating parameter according to the frequency control information, so that the slave is adjusted from the second operating frequency to a third operating frequency, where a frequency matching condition is satisfied between the third operating frequency and the first operating frequency.
In one example, the oscillation device includes a Resistor-Capacitor (RC) oscillation unit and a phase-locked loop (PLL) unit, the operating parameters of the oscillation device include an output frequency of the RC oscillation unit and a frequency multiplication adjustment parameter of the PLL unit, and the operating frequency of the slave is equal to a product of the output frequency and the frequency multiplication adjustment parameter. Based on this, the indication information in the frequency control signal may be information indicating that the resistance-capacitance oscillating unit adjusts the output frequency, and/or information indicating that the phase-locked loop unit adjusts the frequency multiplication adjusting parameter. In other words, the third operating frequency satisfying the requirement is obtained by adjusting at least one of the output frequency and the frequency multiplication adjusting parameter.
It should be noted that the frequency adjustment method provided by the embodiment of the present disclosure is applicable to frequency adjustment from initial start to normal operation of the slave, and is also applicable to frequency adjustment of the slave in the normal operation. In other words, the third operating frequency may not be the final operating frequency of the slave, and after step S24, when the slave and/or the master do not satisfy the frequency matching condition due to external factors such as temperature and voltage, the oscillation control device in the slave can detect the frequency matching condition and adjust the operating frequency of the slave in time so that the operating frequencies of the slave and the master meet the frequency matching condition. It should be understood that, no matter at what stage, the nature of the frequency adjustment method does not change, and the use stage of the frequency adjustment method is not limited by the disclosed embodiments.
Fig. 3 is a flowchart of a frequency adjustment method according to an embodiment of the present disclosure, which is applied to an oscillation control device of a slave, where the slave further includes an oscillation device connected to the oscillation control device. Referring to fig. 3, the method includes the following steps.
In step S31, the transmission interval of the detection packet transmitted by the host is determined.
In step S32, a first operating frequency of the host is determined based on the transmission interval.
Steps S31 to S32 in the present embodiment are the same as steps S21 to S22 in the previous embodiment of the present disclosure, and are not described herein again.
In step S33, a second operating frequency of the slave is determined according to the output frequency and the frequency doubling adjustment parameter.
In some possible implementations, the oscillation device includes an RC oscillation unit and a phase-locked loop unit, where the RC oscillation unit is configured to provide an initial output frequency, and the phase-locked loop unit has a frequency doubling function, and the phase-locked loop unit can perform a frequency doubling operation on the output frequency of the RC oscillation unit through a frequency doubling adjustment parameter, so as to enable the slave to obtain a proper working frequency.
In some possible implementations, in step S33, the output frequency is multiplied by the frequency multiplication adjustment parameter, and the obtained product is the second operating frequency of the slave.
In step S34, a difference between the first operating frequency and the second operating frequency is determined.
In step S35, it is determined whether a frequency matching condition is satisfied between the first operating frequency and the second operating frequency based on the difference and the frequency error threshold.
In step S36, when the frequency matching condition is not satisfied between the first operating frequency and the second operating frequency of the slave, a frequency control signal is generated.
In step S37, the frequency control signal is sent to the oscillation device, so that the oscillation device adjusts the operating parameter according to the frequency control signal, and the slave is adjusted from the second operating frequency to the third operating frequency.
It should be noted that, after step S35, if it is determined that the first operating frequency and the second operating frequency satisfy the frequency matching condition, the oscillation control device starts a new round of detection according to the newly received detection packet, so as to ensure that the condition that the operating frequency of the slave does not satisfy the frequency matching condition with the operating frequency of the master can be detected in time, and perform adjustment in time, thereby ensuring normal communication between the slave and the master.
Fig. 4 is a flowchart of a frequency adjustment method according to an embodiment of the present disclosure, which is applied to an oscillation device of a slave, where the slave further includes an oscillation control device connected to the oscillation device. Referring to fig. 4, the method includes the following steps.
In step S41, the frequency control signal transmitted by the oscillation control device is received.
The frequency control signal is a signal sent by the oscillation control device under the condition that a frequency matching condition is not met between a first working frequency of the master and a second working frequency of the slave, and the first working frequency is a frequency determined by the oscillation control device according to a sending interval of a detection packet sent by the master.
In step S42, the operating parameter is adjusted according to the frequency control signal, so that the slave is adjusted from the second operating frequency to a third operating frequency, and the frequency matching condition is satisfied between the third operating frequency and the first operating frequency.
In some possible implementations, the frequency control signal includes indication information for adjusting an operating parameter of the oscillating device.
In one example, the oscillation device comprises a Resistance Capacitance (RC) oscillation unit and a phase-locked loop (PLL) unit, the operating parameters of the oscillation device comprise an output frequency of the RC oscillation unit and a frequency multiplication adjustment parameter of the PLL unit, and the operating frequency of the slave is equal to a product of the output frequency and the frequency multiplication adjustment parameter. Based on this, the indication information in the frequency control signal may be information indicating that the resistance-capacitance oscillating unit adjusts the output frequency, and/or information indicating that the phase-locked loop unit adjusts the frequency multiplication adjusting parameter. After the oscillating device receives the frequency control signal, at least one of the output frequency and the frequency multiplication adjusting parameter is adjusted, so that the slave machine obtains a third working frequency meeting the requirement.
Fig. 5 is a flowchart of a frequency adjustment method according to an embodiment of the present disclosure, where the frequency adjustment method is applied to an oscillation device of a slave, and the slave further includes an oscillation control device connected to the oscillation device. Referring to fig. 5, the method includes the following steps.
In step S51, in response to the start instruction, the operating parameters are determined according to the initial configuration information.
In step S52, a second operating frequency is determined according to the operating parameters so that the slave operates based on the second operating frequency.
It should be noted that, since the second operating frequency is obtained based on the operating parameters determined by the initial configuration information, and is not subjected to frequency calibration or the like, the accuracy of the second operating frequency is generally low. In subsequent operation, the oscillation device adjusts the second working frequency according to the frequency control signal sent by the oscillation control device, so that a frequency with higher precision can be obtained, the slave works at the working frequency matched with the host, and normal communication between the slave and the host is guaranteed.
In step S53, the frequency control signal transmitted from the oscillation control device is received.
In step S54, the operating parameter is adjusted according to the frequency control signal, so that the slave is adjusted from the second operating frequency to the third operating frequency.
And the third working frequency and the first working frequency meet the frequency matching condition.
Steps S53 to S54 in the present embodiment are the same as steps S41 to S42 in the previous embodiment of the present disclosure, and are not described herein again.
Fig. 6 is a schematic diagram of a slave according to an embodiment of the present disclosure. Referring to fig. 6, the slave includes: the USB interface 601, the oscillation device 602, the oscillation control device 603, the clock phase adjustment module 604, the data transceiver module 605, and the data processing and protocol analysis module 606. The most significant difference between the slave shown in fig. 1 is that an oscillation device 602 and an oscillation control device 603 are added inside the slave instead of an external crystal oscillator.
In some possible implementations, the oscillation means 602 includes a capacitance-resistance oscillation unit 6021 and a phase-locked loop unit 6022. In the starting stage of the slave, the oscillation device 602 initializes according to the operating parameters determined by the initial configuration information to generate a frequency signal with lower accuracy, and at this time, the slave operates at the second operating frequency. The data transceiver module 605 receives the SOF packet sent by the master, the oscillation control device 603 determines the sending interval of the SOF packet, determines the first working frequency of the master according to the sending interval, compares the first working frequency with the second working frequency, and determines whether the second working frequency of the slave needs to be adjusted according to the comparison result and the frequency error threshold. When it is determined that adjustment is necessary, the oscillation control means 603 transmits a frequency control signal to the oscillation means 602. The oscillation device 602 adjusts the operating parameter according to the frequency control signal, so that the slave computer is adjusted from the second operating frequency to a third operating frequency, wherein a frequency matching condition is satisfied between the third operating frequency and the first operating frequency.
In the process of the normal operation of the slave based on the third operating frequency, the oscillation control device 603 may continuously detect whether the operating frequency of the slave and the operating frequency of the master satisfy the frequency matching condition based on the SOF packet, and immediately adjust the oscillation device to ensure the normal communication between the master and the slave if the condition is not satisfied.
The clock phase adjustment module 604 and the data processing and protocol parsing module 606 are substantially the same as the clock phase adjustment module 104 and the data processing and protocol parsing module 106 shown in fig. 1, and are not described again.
Fig. 7 is a schematic diagram of a working process of a frequency adjustment method according to an embodiment of the present disclosure. Referring to fig. 7, the operation of the frequency adjustment method includes the following steps.
In step S701, the slave is initialized, and the RC oscillation unit and the PLL unit are configured to generate a high-speed clock with low accuracy.
Step S702, the host initiates a USB handshake, negotiates a USB protocol with the slave, and confirms the communication rate with the slave.
In some possible implementations, the USB protocol is a USB2.0 communication protocol or a USB3.0 communication protocol. Accordingly, the USB interface is also an interface supporting the USB2.0 communication protocol or the USB3.0 communication protocol. The present disclosure does not limit the version of the USB communication protocol.
Step S703, the master and the slave both enter a normal operating state.
In step S704, the master sends SOF packets to the slave at predetermined time intervals according to the USB protocol.
In step S705, when the current detection packet is received, the oscillation control device of the slave determines the interval between the transmission times of the current detection packet and the previous detection packet, and obtains the transmission interval.
In step S706, the oscillation control device determines the first operating frequency of the master according to the transmission interval of the SOF packet, and calculates a difference between the first operating frequency and the second operating frequency of the slave.
In step S707, the oscillation control device transmits a frequency control signal to the oscillation device when it is determined that the frequency matching condition is not satisfied between the first operating frequency and the second operating frequency based on the difference and the frequency threshold.
In step S708, the oscillation device adjusts the output frequency of the RC oscillation unit and/or the frequency doubling adjustment parameter of the PLL unit according to the frequency control signal, so as to obtain a third operating frequency.
Wherein a difference between the third operating frequency and the first operating frequency is less than a frequency error threshold.
Step S709, the master sends a packet to the slave, and the two normally communicate.
Step S710, during the operation, the oscillation control device continuously detects the transmission interval of the SOF packet, and immediately adjusts the oscillation device when it is determined that the difference between the third operating frequency and the first operating frequency is greater than or equal to the frequency error threshold.
Therefore, the frequency adjustment method provided by the embodiment of the disclosure is suitable for adjusting the slave machine from a starting state to a normal working state, is also suitable for adjusting the slave machine in a normal working process, and can ensure normal information transmission between the slave machine and the host machine through uninterrupted and continuous frequency adjustment.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides an oscillation control device, an oscillation device, a slave, an electronic device, and a computer-readable storage medium, which can be used to implement any one of the frequency adjustment methods provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the methods section are omitted for brevity.
Fig. 8 is a block diagram of an oscillation control apparatus according to an embodiment of the present disclosure.
Referring to fig. 8, an embodiment of the present disclosure provides an oscillation control apparatus including the following units.
An interval determination unit 801 is configured to determine a transmission interval of the detection packet transmitted by the host.
A frequency determining unit 802, configured to determine a first operating frequency of the host according to the transmission interval.
A generating unit 803, configured to generate a frequency control signal if a frequency matching condition is not satisfied between the first operating frequency and the second operating frequency of the slave.
The sending unit 804 is configured to send the frequency control signal to the oscillation device, so that the oscillation device adjusts the working parameter according to the frequency control signal, so that the slave is adjusted from the second working frequency to a third working frequency, and a frequency matching condition is satisfied between the third working frequency and the first working frequency.
In some possible implementations, the detection packet may be a frame header packet sent by the master according to a transmission protocol pre-agreed with the slave.
In some possible implementations, the interval determining unit 801 is configured to, in a case that a current detection packet is received, determine an interval between transmission times of the current detection packet and a previous detection packet, and obtain a transmission interval.
In some possible implementations, the oscillation device includes a resistance-capacitance oscillation unit and a phase-locked loop unit, and the operating parameters of the oscillation device include an output frequency of the resistance-capacitance oscillation unit and a frequency multiplication adjustment parameter of the phase-locked loop unit. Correspondingly, the oscillation control device further comprises a determining unit, which is used for determining the second working frequency of the slave according to the output frequency and the frequency multiplication adjusting parameter before generating the frequency control signal under the condition that the frequency matching condition is not satisfied between the first working frequency and the second working frequency of the slave.
In some possible implementations, the frequency matching condition includes a frequency error threshold. Correspondingly, the oscillation control device further comprises a difference value calculation unit and a condition matching unit. The difference value calculating unit is used for determining the difference value between the first working frequency and the second working frequency; the condition matching unit is used for determining whether the frequency matching condition is met between the first working frequency and the second working frequency according to the difference value and the frequency error threshold.
According to the embodiment of the disclosure, the oscillation control device can timely and effectively adjust the oscillation device, so that the working frequency of the slave and the working frequency of the host meet the frequency matching condition, thereby ensuring that the slave and the host can normally communicate with each other.
Fig. 9 is a block diagram of an oscillation device according to an embodiment of the present disclosure.
Referring to fig. 9, an embodiment of the present disclosure provides an oscillation device including the following units.
A receiving unit 901, configured to receive the frequency control signal sent by the oscillation control apparatus.
The frequency control signal is a signal sent by the oscillation control device under the condition that a frequency matching condition is not met between a first working frequency of the master and a second working frequency of the slave, and the first working frequency is a frequency determined by the oscillation control device according to a sending interval of a detection packet sent by the master.
The adjusting unit 902 is configured to adjust the working parameter according to the frequency control signal, so that the slave is adjusted from the second working frequency to a third working frequency, and a frequency matching condition is satisfied between the third working frequency and the first working frequency.
In some possible implementations, the oscillation device further includes a parameter determination unit and an initialization unit. The parameter determining unit is used for responding to a starting instruction and determining working parameters according to the initial configuration information; and the initialization unit is used for determining a second working frequency according to the working parameters so as to enable the slave machine to work based on the second working frequency.
According to the embodiment of the disclosure, the oscillation device can replace an external crystal oscillator to provide a frequency signal for the slave, so that the cost is reduced, and the oscillation device can timely and accurately adjust the frequency according to the indication of the oscillation control device, so that the working frequency of the slave and the working frequency of the host meet the frequency matching condition, and the normal communication between the slave and the host is ensured.
Fig. 10 is a block diagram of a slave according to an embodiment of the present disclosure.
Referring to fig. 10, an embodiment of the present disclosure provides a slave, including: at least one oscillation device 1001; and an oscillation control device 10012 connected to the at least one oscillation device 1001.
The oscillation control device is used for realizing the frequency adjusting method of any one of the embodiments of the present disclosure; the oscillation device is used for implementing the frequency adjustment method of any one of the embodiments of the present disclosure.
According to the embodiment of the disclosure, the oscillation device and the oscillation control device with lower cost are arranged in the slave machine to replace an external crystal oscillator, so that the cost of the slave machine can be effectively reduced, the oscillation control device is responsible for detecting whether the working frequency of the slave machine and the working frequency of the master machine meet a frequency matching condition, and sends a frequency control signal to the oscillation device under the condition that the frequency matching condition is not met, and the oscillation device adjusts the working parameters according to the frequency control signal, so that the working frequency of the slave machine and the working frequency of the master machine meet the frequency matching condition, thereby timely and accurately adjusting the working frequency of the slave machine and ensuring normal communication between the master machine and the slave machine.
Fig. 11 is a block diagram of an electronic device provided in an embodiment of the present disclosure.
Referring to fig. 11, an embodiment of the present disclosure provides an electronic device including: at least one processor 1101; at least one memory 1102, and one or more I/O interfaces 1103 connected between the processor 1101 and the memory 1102; the memory 1102 stores one or more computer programs executable by the at least one processor 1101, and the one or more computer programs are executed by the at least one processor 1101 to enable the at least one processor 1101 to perform the frequency adjustment method described above.
The disclosed embodiments also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor/processing core, implements the frequency adjustment method described above. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-volatile computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above frequency adjustment method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable storage media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable program instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), Static Random Access Memory (SRAM), flash memory or other memory technology, portable compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer. In addition, communication media typically embodies computer readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
The computer program product described herein may be embodied in hardware, software, or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. It will, therefore, be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.

Claims (10)

1. A frequency adjustment method applied to an oscillation control device of a slave including an oscillation device connected to the oscillation control device, the method comprising:
determining a transmission interval of a detection packet transmitted by a host;
determining a first working frequency of the host according to the sending interval;
generating a frequency control signal when a frequency matching condition is not satisfied between the first operating frequency and a second operating frequency of the slave;
and sending the frequency control signal to the oscillation device so that the oscillation device can adjust working parameters according to the frequency control signal, so that the slave machine is adjusted from the second working frequency to a third working frequency, and the frequency matching condition is met between the third working frequency and the first working frequency.
2. The frequency adjustment method according to claim 1, wherein the oscillation device comprises a resistance-capacitance oscillation unit and a phase-locked loop unit, and the operating parameters of the oscillation device comprise an output frequency of the resistance-capacitance oscillation unit and a frequency multiplication adjustment parameter of the phase-locked loop unit;
before generating the frequency control signal when the frequency matching condition is not satisfied between the first operating frequency and the second operating frequency of the slave, the method further includes:
and determining a second working frequency of the slave according to the output frequency and the frequency multiplication adjusting parameter.
3. The frequency adjustment method according to claim 1 or 2, wherein the frequency matching condition includes a frequency error threshold;
before generating the frequency control signal when the frequency matching condition is not satisfied between the first operating frequency and the second operating frequency of the slave, the method further includes:
determining a difference between the first operating frequency and the second operating frequency;
and determining that the frequency matching condition is not met between the first working frequency and the second working frequency according to the difference value and the frequency error threshold.
4. The method according to claim 1, wherein the detection packet is a frame header packet transmitted by the master according to a transmission protocol pre-agreed with the slave.
5. The method of claim 1, wherein the determining the transmission interval of the detection packet transmitted by the host comprises:
and under the condition of receiving the current detection packet, determining the interval between the sending time of the current detection packet and the sending time of the previous detection packet, and obtaining the sending interval.
6. A frequency adjustment method applied to an oscillation device of a slave including an oscillation control device connected to the oscillation device, the method comprising:
receiving a frequency control signal sent by the oscillation control device;
the frequency control signal is a signal sent by the oscillation control device under the condition that a frequency matching condition is not met between a first working frequency of a master and a second working frequency of a slave, wherein the first working frequency is a frequency determined by the oscillation control device according to a sending interval of a detection packet sent by the master;
and adjusting working parameters according to the frequency control signal to adjust the slave machine from the second working frequency to a third working frequency, wherein the frequency matching condition is met between the third working frequency and the first working frequency.
7. The method according to claim 6, wherein before receiving the frequency control signal transmitted by the oscillation control apparatus, the method further comprises:
responding to a starting instruction, and determining working parameters according to the initial configuration information;
and determining a second working frequency according to the working parameters so as to enable the slave machine to work based on the second working frequency.
8. An oscillation control device provided in a slave that further includes an oscillation device connected to the oscillation control device, the oscillation control device comprising:
an interval determination unit for determining a transmission interval of the detection packet transmitted by the host;
a frequency determining unit, configured to determine a first operating frequency of the host according to the sending interval;
a generating unit, configured to generate a frequency control signal when a frequency matching condition is not satisfied between the first operating frequency and a second operating frequency of the slave;
and the transmitting unit is used for transmitting the frequency control signal to the oscillating device so that the oscillating device can adjust working parameters according to the frequency control signal, the slave machine is adjusted from the second working frequency to a third working frequency, and the frequency matching condition is met between the third working frequency and the first working frequency.
9. An oscillation device, wherein the oscillation device is provided in a slave, the slave further comprising an oscillation control device connected to the oscillation device, the oscillation device comprising:
a receiving unit, configured to receive a frequency control signal sent by the oscillation control apparatus;
the frequency control signal is a signal sent by the oscillation control device under the condition that a frequency matching condition is not met between a first working frequency of a master and a second working frequency of a slave, wherein the first working frequency is a frequency determined by the oscillation control device according to a sending interval of a detection packet sent by the master;
and the adjusting unit is used for adjusting working parameters according to the frequency control signal so that the slave machine is adjusted from the second working frequency to a third working frequency, and the frequency matching condition is met between the third working frequency and the first working frequency.
10. A slave, comprising:
at least one oscillating device; and
an oscillation control device connected to the at least one oscillation device; wherein the content of the first and second substances,
the oscillation control device is used for realizing the frequency adjusting method according to any one of claims 1-5;
the oscillation device is used for implementing the frequency adjustment method according to claim 6 or 7.
CN202210498769.5A 2022-05-09 2022-05-09 Frequency adjusting method and device and slave Pending CN114710257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210498769.5A CN114710257A (en) 2022-05-09 2022-05-09 Frequency adjusting method and device and slave

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210498769.5A CN114710257A (en) 2022-05-09 2022-05-09 Frequency adjusting method and device and slave

Publications (1)

Publication Number Publication Date
CN114710257A true CN114710257A (en) 2022-07-05

Family

ID=82176257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210498769.5A Pending CN114710257A (en) 2022-05-09 2022-05-09 Frequency adjusting method and device and slave

Country Status (1)

Country Link
CN (1) CN114710257A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234137A (en) * 2023-11-08 2023-12-15 深圳市航顺芯片技术研发有限公司 MCU clock frequency switching circuit, MCU and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604182A (en) * 2008-06-13 2009-12-16 原相科技股份有限公司 Automatically adjust the method and the clock frequency regulating circuit of clock frequency
CN102571080A (en) * 2010-12-27 2012-07-11 北京中电华大电子设计有限责任公司 clock recovery method and circuit supporting dynamic calibration
US20160380759A1 (en) * 2015-06-26 2016-12-29 Kabushiki Kaisha Toshiba Phase locked loop, wireless communication apparatus and wireless communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604182A (en) * 2008-06-13 2009-12-16 原相科技股份有限公司 Automatically adjust the method and the clock frequency regulating circuit of clock frequency
CN102571080A (en) * 2010-12-27 2012-07-11 北京中电华大电子设计有限责任公司 clock recovery method and circuit supporting dynamic calibration
US20160380759A1 (en) * 2015-06-26 2016-12-29 Kabushiki Kaisha Toshiba Phase locked loop, wireless communication apparatus and wireless communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234137A (en) * 2023-11-08 2023-12-15 深圳市航顺芯片技术研发有限公司 MCU clock frequency switching circuit, MCU and electronic equipment
CN117234137B (en) * 2023-11-08 2024-02-02 深圳市航顺芯片技术研发有限公司 MCU clock frequency switching circuit, MCU and electronic equipment

Similar Documents

Publication Publication Date Title
JP6246119B2 (en) Serial communication interface
EP3170090B1 (en) Systems and methods for chip to chip communication
US9054821B2 (en) Apparatus and method for frequency locking
US8427219B1 (en) Clock generator and a method of generating a clock signal
EP2972926B1 (en) Method and apparatus for clock recovery
CN114710257A (en) Frequency adjusting method and device and slave
RU2725975C1 (en) Method of transmitting pdu control unit of status report at rlc level and concomitant device
US10554379B2 (en) Method for obtaining phase detection signal in clock recovery circuit and phase detector
CN105528325A (en) Protection method and system for high-speed transmission through standard SPI protocol
US7869492B2 (en) Frequency-locking device and frequency-locking method thereof
CN110990322B (en) Clock adjusting device and transmission system and method thereof
US7464195B2 (en) Method and apparatus for detecting a presence of a device
CN111585817B (en) Power-saving mode switching method and device
US20230079791A1 (en) Clock sending apparatus and method, and clock receiving apparatus and method
US20130051439A1 (en) Frequency calibration device and method for programmable oscillator
US8332681B2 (en) Automatic reference frequency compensation
US9130694B2 (en) Method, apparatus, and system for phase jump detection
EP3041162B1 (en) Monitoring and control of reference clocks to reduce bit error ratio
US10075311B2 (en) Clock correction method and circuit utilizing training sequence to correct oscillator output, and reference clock generation method and circuit utilizing training sequence to generate reference clock
CN104573773A (en) Smart card reading and writing method
CN113644910B (en) Clock generation method and system based on standard frequency signal
CN107896138B (en) Decoding method, device and equipment
KR101879053B1 (en) Test equipment in which baud rate is set automatically
EP1540863B1 (en) Staged locking of phase locked loops
CN117639770A (en) Clock recovery circuit, clock recovery method, clock recovery device and communication equipment for NFC

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