CN102510283A - Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip - Google Patents

Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip Download PDF

Info

Publication number
CN102510283A
CN102510283A CN2011103693516A CN201110369351A CN102510283A CN 102510283 A CN102510283 A CN 102510283A CN 2011103693516 A CN2011103693516 A CN 2011103693516A CN 201110369351 A CN201110369351 A CN 201110369351A CN 102510283 A CN102510283 A CN 102510283A
Authority
CN
China
Prior art keywords
frequency
crystal oscillator
clock
presets
clock crystal
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
CN2011103693516A
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 CHIPSBANK TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN CHIPSBANK 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 SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd filed Critical SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd
Priority to CN2011103693516A priority Critical patent/CN102510283A/en
Publication of CN102510283A publication Critical patent/CN102510283A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)

Abstract

The embodiment of the invention discloses a method and a device for regulating the frequency of a clock oscillator, a crystal oscillator module and a chip, and the method is used for regulating the frequency of the clock oscillator in the chip. The method comprises the following steps: after electrification of the chip, the current frequency of the clock oscillator of the crystal oscillator module in the chip; and whether the difference value between the current frequency of the clock oscillator and the preset target frequency is within the preset adjustable range, if yes, the frequency of the clock oscillator is regulated to be the preset target frequency. The embodiment of the invention further discloses a device corresponding to the method, as well as a crystal oscillator module and a chip, the requirement of the chip for the frequency of the clock oscillator can be effectively satisfied, and the yield and the performance of the chip are improved.

Description

The method of the frequency of adjustment clock crystal oscillator and device, crystal oscillator module, chip
Technical field
The present invention relates to microelectronics technology, relate in particular to method and device, crystal oscillator module, the chip of the frequency of adjustment clock crystal oscillator.
Background technology
Clock crystal oscillator is widely used a kind of basic device in the application of electronic technology field; The standard square wave of various frequency can be provided; This kind square wave is mainly used in the digital system clock, and inferior square wave is mainly by important indicator requirements such as output level value, high-low level duty ratio, rising/fall time, driving force and frequencies.
At present; Onboard clock crystal oscillator extensive use in chip; But, the yields of chip and the performance of chip have been reduced because the frequency that factors such as process shifts cause the clock crystal oscillator in the chip can not satisfy the demand of chip in a bigger error range.
Summary of the invention
The embodiment of the invention provides a kind of method and device, crystal oscillator module, chip of the frequency of adjusting clock crystal oscillator; Be used for the frequency of clock crystal oscillator is regulated; Error between the frequency of reduction clock crystal oscillator frequency and expection; Effectively satisfy the demand of chip, improve the yields and the performance of chip the frequency of clock crystal oscillator.
The method of the frequency of the adjustment clock crystal oscillator in the embodiment of the invention comprises: behind the chip power, obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the chip; Judge that difference between frequency that clock crystal oscillator is current and the target frequency that presets is whether in the adjustable extent that presets; If then the frequency with clock crystal oscillator is adjusted into the target frequency that presets.
The device of the frequency of the adjustment clock crystal oscillator in the embodiment of the invention comprises: acquiring unit, be used for chip power after, obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the chip; Judging unit is used to judge the adjustable extent whether difference between frequency that clock crystal oscillator is current and the target frequency that presets is presetting; Adjustment unit is used for when the difference between current frequency of clock crystal oscillator and the target frequency that presets during in the adjustable extent that presets, and then the frequency with clock crystal oscillator is adjusted into the target frequency that presets.
Crystal oscillator module in the embodiment of the invention comprises: frequency adjustment enable module, be used to provide frequency adjustment enable bit, and make when said frequency adjustment enable bit is enabled, allow the frequency of said clock crystal oscillator is adjusted; Frequency setting module is used to provide the frequency configuration position, makes chip can adjust the frequency of clock crystal oscillator through the binary numeral that said frequency configuration position is set.
Chip in the embodiment of the invention comprises: device, and the crystal oscillator module of the frequency of adjustment clock crystal oscillator; The device of adjustment clock crystal oscillator frequency can be adjusted the frequency of the clock crystal oscillator of crystal oscillator module.
Can find out that from above technical scheme the embodiment of the invention has the following advantages:
Behind the chip power; Obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the chip; And when in the adjustable extent that the difference between current frequency of this clock crystal oscillator and the target frequency that presets is presetting, the frequency of said clock crystal oscillator is adjusted to the target frequency that presets, the clock frequency through the adjustment clock crystal oscillator is to the target frequency that presets; Can effectively satisfy the demand of chip, improve the finished product yield and the performance of chip the clock crystal oscillator frequency.
Description of drawings
Fig. 1 is a sketch map of the method for the frequency of adjustment clock crystal oscillator in the embodiment of the invention;
Fig. 2 is another sketch map of the method for the frequency of adjustment clock crystal oscillator in the embodiment of the invention;
Fig. 3 is a sketch map of the device of the frequency of adjustment clock crystal oscillator in the embodiment of the invention;
Fig. 4 is another sketch map of the device of the frequency of adjustment clock crystal oscillator in the embodiment of the invention;
Fig. 5 be in the embodiment of the invention a kind of crystal oscillator module a sketch map;
Fig. 6 is the sketch map of a kind of chip in the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of method and device, crystal oscillator module, chip of the frequency of adjusting clock crystal oscillator; Being used for chip adjusts the frequency of clock crystal oscillator; Satisfy the demand of chip, effectively improve the finished product yield and the performance of chip the clock crystal oscillator frequency.
In embodiments of the present invention, see also Fig. 1, the embodiment for a kind of method of the frequency of adjusting clock crystal oscillator in the embodiment of the invention comprises:
101, behind the chip power, obtain the current frequency of the clock crystal oscillator in the crystal oscillator module in the chip;
In embodiments of the present invention; Comprise control unit in the chip, this control unit can be adjusted the frequency of clock crystal oscillator, and in chip, comprises the crystal oscillator module; Be used to provide the frequency of clock crystal oscillator; Therefore, behind chip power, control unit will obtain the current frequency of the clock crystal oscillator in the crystal oscillator module in the chip.
102, judge difference between frequency that clock crystal oscillator is current and the target frequency that presets whether in the adjustable extent that presets, if then execution in step 103, if not, then execution in step 104;
In embodiments of the present invention, control unit gets access to after the current frequency of clock crystal oscillator, with judging that difference between frequency that this clock crystal oscillator is current and the target frequency that presets is whether in the adjustable extent that presets.
103, the frequency with clock crystal oscillator is adjusted into the target frequency that presets.
In embodiments of the present invention; When in the adjustable extent that the difference between current frequency of clock crystal oscillator and the target frequency that presets is presetting; Explanation can be adjusted through the frequency to clock crystal oscillator; Make clock frequency satisfy the demands, control unit is adjusted into the target frequency that presets with the frequency of clock crystal oscillator.
Need to prove that in embodiments of the present invention, when in the adjustable extent that the difference between current frequency of clock crystal oscillator and the target frequency that presets or not, control unit promptly stops execution in step 104 frequency of clock crystal oscillator is adjusted.
104, finish adjustment.
In embodiments of the present invention; Through obtaining the current frequency of clock crystal oscillator; And when in the scope of the adjustable frequency that the difference of the current frequency of this clock crystal oscillator and the target frequency that presets is presetting; The frequency of this clock crystal oscillator is adjusted to the target frequency that presets, can effectively satisfies the demand of chip, improve the finished product yield and the performance of chip the frequency of clock crystal oscillator.
Technical scheme for a better understanding of the present invention sees also Fig. 2, and the embodiment for a kind of method of the frequency of adjusting clock crystal oscillator in the embodiment of the invention comprises:
201, behind the chip power, the frequency adjustment enable bit in the crystal oscillator module is set to the state of enabling;
Need to prove; In embodiments of the present invention; Preserve the code of the frequency be used to adjust clock crystal oscillator among the flash in the chip, and also comprise the crystal oscillator module in the chip, after the chip power; The control unit of chip internal will read and carry out this code that is used to adjust the frequency of clock crystal oscillator, and the frequency of the clock crystal oscillator in the crystal oscillator module in the chip is adjusted.
In embodiments of the present invention, behind the chip power, the frequency adjustment enable bit in the control unit crystal oscillator module is set to the state of enabling, to start the adjustment to the frequency of clock crystal oscillator.In practical application; Specifically can be set to 1 for the value of the adjustment of the frequency in crystal oscillator module enable bit; To show of the adjustment of this chip enable, need to prove, in practical application the frequency of clock crystal oscillator; The bit number of frequency adjustment enable bit and the pin at place can be set according to specific circumstances, not do qualification here.
202, after the preset time section, from the crystal oscillator module, read the clock count value of clock crystal oscillator in the preset time section;
In embodiments of the present invention, the frequency adjustment enable bit of control unit in the crystal oscillator module will will read the clock count value of clock crystal oscillator in the preset time section after being set to the state of enabling from the crystal oscillator module after the time period of presetting.
203,, calculate the current frequency of clock crystal oscillator, the clock count value that preset parameter comprises the clock frequency that presets and presets according to preset parameter and the clock count value of clock crystal oscillator in the preset time section;
In embodiments of the present invention; In order to calculate the current frequency of clock crystal oscillator; Also need use the preset parameter in the chip; This preset parameter comprises the clock count value that the clock frequency meter that presets presets, and wherein, the clock count value that this presets is meant the clock number of clock frequency in the time period of presetting described in step 202 that presets; Control unit will be according to this preset parameter and the clock count value of clock crystal oscillator in the time period of presetting; Calculate the current frequency of clock crystal oscillator, concrete computational methods are: the clock count value of clock crystal oscillator in the time period of presetting obtained first parameter value divided by the clock count value that presets, again with the product of this first parameter value and the clock frequency that presets as the current frequency of clock crystal oscillator.For example; Clock count value in the time period that the clock crystal oscillator is presetting is N; The clock frequency that presets is F; When the clock count value that presets is M, the frequency
Figure BDA0000110061550000041
that clock crystal oscillator is current
204, judge difference between frequency that clock crystal oscillator is current and the target frequency that presets whether in the adjustable extent that presets, if then execution in step 205, if not, then execution in step 207;
In embodiments of the present invention, control unit gets access to after the current frequency of clock crystal oscillator, with judging that difference between clock frequency that clock crystal oscillator is current and the target frequency that presets is whether in the adjustable extent that presets.
205, transferring big or frequency unit of adjustment when reducing, and the current binary numeral in frequency configuration position according to the frequency of the difference between current frequency of clock crystal oscillator and the target frequency that presets, the clock crystal oscillator that presets, confirming the binary numeral of the required setting in frequency configuration position;
In the present invention implements, comprise frequency configuration position (pin) on the crystal oscillator module in the chip, and can use the port of different bit numbers as required; For example: 16 bits, 18 bits, 20 compare top grade; Control unit can be confirmed the binary numeral of this required setting in frequency configuration position according to the difference between current frequency of clock crystal oscillator and the target frequency that presets, the clock crystal oscillator that presets transferring big or frequency unit of adjustment when reducing and being used to be provided with the current binary numeral of frequency ports of clock crystal oscillator, need to prove; Behind the chip power, the current binary numeral in this frequency configuration position is the numerical value of chip acquiescence, simultaneously; The frequency that presets clock crystal oscillator in the chip is being transferred frequency unit of adjustment big or when reducing, for example: if use the port of 18 bits that the frequency of clock crystal oscillator is set, then can use [17:9] position in this 18 bit as the coarse adjustment bit; And the frequency unit of adjustment of coarse adjustment is 10MHz, and should [17:9] one value only to be arranged in the position be 1, and [8:0] position that can use this 18 bit is as the accurate adjustment bit; And the frequency unit of adjustment of accurate adjustment is 2MHz, and in this [8:0] position one value only being arranged is 1, wherein; After chip power; The position at a high position in this 18 bit place is the chip acquiescence, can give tacit consent to that [13] and [4] are a high position in 18 bits, and promptly value is 1.Wherein, in [17:9], a high position is whenever advanced 1; The frequency rising 10MHz of clock crystal oscillator then, a high position is whenever retreated 1, and then the frequency of clock crystal oscillator reduces 10MHz; In [8:0], a high position is whenever advanced 1, then the frequency rising 2Mhz of clock crystal oscillator; A high position is whenever retreated 1, and then the frequency of clock crystal oscillator reduces 2MHz, for better understanding; If a high position that is used for being provided with the current binary numeral of the frequency ports of clock crystal oscillator in the embodiment of the invention is in [13] and [4] of 18 bits, the frequency unit of adjustment of coarse adjustment is 10MHz, when the frequency unit of adjustment of accurate adjustment is 2MHz; Difference between frequency that clock crystal oscillator is current and the target frequency that presets is-14MHz that then explanation needs to increase the frequency of clock crystal oscillator, need then can confirm the high position in [17:9] with binary numeral move forward one; High position in [8:0] is moved forward two, and [14] and [6] position that is about to the binary numeral of 18 bits is set to a high position, and other value is 0; Make the frequency of clock crystal oscillator can increase 14MHz, satisfy the demand of chip.
Need to prove that in embodiments of the present invention, the frequency unit of adjustment of the clock crystal oscillator that presets when transferring greatly or reducing can be provided with according to specific circumstances; For example; Do not distinguish accurate adjustment and coarse adjustment, it is 5MHz that frequency unit of adjustment is set, therefore; In practical application, the concrete numerical value of frequency unit of adjustment is not done qualification here.
206, the binary numeral of confirming is sent to the frequency configuration position;
In the embodiment of the invention; Control unit is after confirming to be used to the needed binary numeral of port of clock crystal oscillator is set; This binary numeral of confirming is sent to the frequency configuration position; Make the crystal oscillator module to adjust frequency, satisfy the demand be used for the frequency of the clock crystal oscillator of chip according to this binary numeral.
207, finish adjustment.
In embodiments of the present invention, when in the adjustable extent that the difference between current frequency of clock crystal oscillator and the target frequency that presets or not, control unit promptly stops execution in step 207 frequency of clock crystal oscillator is adjusted.
In addition, control unit can finish the adjustment to the frequency of clock crystal oscillator after the adjustment of completion to the frequency of clock crystal oscillator, and the frequency adjustment enable bit in the crystal oscillator module is set to the disable state.Need to prove, in embodiments of the present invention, in order better to improve the finished product yield of chip; Also can be after carrying out once frequency adjustment to clock crystal oscillator; Return step 201 once more, repeat process, in practical application the frequency adjustment of clock crystal oscillator; The number of times that this repeats can be set according to specific circumstances, not do qualification here.
In embodiments of the present invention; Behind chip power; The frequency adjustment enable bit of the clock crystal oscillator through the crystal oscillator module is set to the state of enabling, and starts the adjustment to the frequency of clock crystal oscillator, and when in the adjustable extent that the difference of current frequency of clock crystal oscillator and the target frequency value that presets is presetting; Binary numeral to the frequency configuration position is provided with; Make the frequency of clock crystal oscillator of crystal oscillator module raise or be reduced to the target frequency value that presets, can effectively satisfy the demand of chip, improve the finished product yield and the performance of chip the clock crystal oscillator frequency.
Technical method among the embodiment will be introduced a concrete application examples below for a better understanding of the present invention.
The frequency of the clock crystal oscillator in crystal oscillator module adjustment enable bit is PD, and bit number is 1 bit, and the port that is used to adjust the frequency of clock crystal oscillator is FREQ; Bit number is 18 bits, and [17:9] position in this 18 bit is as the coarse adjustment bit, and the frequency unit of adjustment of coarse adjustment is 10MHz; [8:0] of this 18 bit position is as the accurate adjustment bit, and the frequency unit of adjustment of accurate adjustment is 2MHz, wherein; After chip power, give tacit consent in 18 bits [13] and [4] position for high-order, promptly value is 1.Wherein, in [17:9], a high position is whenever advanced 1; The frequency rising 10MHz of clock crystal oscillator then, a high position is whenever retreated 1, and then the frequency of clock crystal oscillator reduces 10MHz; In [8:0], a high position is whenever advanced 1, then the frequency rising 2Mhz of clock crystal oscillator; A high position is whenever retreated 1, and then the frequency of clock crystal oscillator reduces 2MHz.
Behind the chip power, if the current clock frequency of clock crystal oscillator that control unit obtains is 95MHZ, the target frequency that presets is 83MHZ; Then difference is 12MHZ, according to the parameter that chip presets, can confirm and need the high position in [17:9] in 18 bits be drawn back one; The value that is about to [12] position is made as a high position, and value is 1, and the high position in [8:0] is drawn back one; The value that is about to [3] position is made as a high position, and value is 1, and other positions are 0; Constitute a new binary numeral, and control unit sends to FREQ with this binary numeral, make the frequency of clock crystal oscillator be adjusted into 83MHz from 95MHz.
See also Fig. 3, the embodiment for a kind of device of the frequency of adjusting clock crystal oscillator in the embodiment of the invention comprises:
Acquiring unit 301, be used for chip power after, obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the chip;
Judging unit 302 is used to judge the adjustable extent whether difference between frequency that clock crystal oscillator is current and the target frequency that presets is presetting;
Adjustment unit 303 is used for when the difference between current frequency of clock crystal oscillator and the target frequency that presets during in the adjustable extent that presets, and then the frequency with clock crystal oscillator is adjusted into the target frequency that presets.
Acquiring unit in embodiments of the present invention, behind the chip power, acquiring unit 301 will obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the chip; And judge the adjustable extent whether difference between frequency that clock crystal oscillator is current and the target frequency that presets is presetting by judging unit 302; When the difference between current frequency of clock crystal oscillator and the target frequency that presets during in the adjustable extent that presets, 303 frequencies with clock crystal oscillator of adjustment unit are adjusted into the target frequency that presets.
In embodiments of the present invention; Through obtaining the current frequency of clock crystal oscillator; And when in the scope of the adjustable frequency that the difference of the current frequency of this clock crystal oscillator and the target frequency that presets is presetting; The frequency of this clock crystal oscillator is adjusted to the target frequency that presets, can effectively satisfies the demand of chip, improve the finished product yield and the performance of chip the frequency of clock crystal oscillator.
Device among the embodiment sees also Fig. 4 for a better understanding of the present invention, and another embodiment for the device of the frequency of adjustment clock crystal oscillator in the embodiment of the invention comprises:
The acquiring unit of describing among the embodiment as shown in Figure 3 301, judging unit 302, adjustment unit 303, and with embodiment illustrated in fig. 3 in the similar content described, repeat no more here.
In embodiments of the present invention, device also comprises:
Enable unit 401, the frequency adjustment enable bit that is used for the crystal oscillator module is set to the state of enabling;
Reading unit 402 is used for after the preset time section, from the crystal oscillator module, reads the clock count value of clock crystal oscillator in the preset time section.
Wherein, acquiring unit 301 comprises:
First computing unit 403 is used for the clock count value of clock crystal oscillator in the time period of presetting obtained first parameter value divided by the clock count value that presets;
Second computing unit 404 is used for product with first parameter value and the clock frequency that presets as the current frequency of clock crystal oscillator.
In embodiments of the present invention, behind the chip power, the frequency adjustment enable bit that enables in the unit 401 crystal oscillator modules is set to the state of enabling; And after the time period of presetting; Reading unit 402 reads the clock count value of clock crystal oscillator in the preset time section from clock crystal oscillator; Then the clock count value of clock crystal oscillator in the time period of presetting obtained first parameter value divided by the clock count value that presets by first computing unit 403 in the acquiring unit 301; Again by second computing unit 404 in the acquiring unit 302 with the product of first parameter value and the clock frequency that presets as the current frequency of clock crystal oscillator; Obtain after the current frequency of clock crystal oscillator, judge the adjustable extent whether difference between frequency that clock crystal oscillator is current and the target frequency that presets is presetting by judging unit 302; When the difference between current frequency of clock crystal oscillator and the target frequency that presets during in the adjustable extent that presets, 303 frequencies with clock crystal oscillator of adjustment unit are adjusted into the target frequency that presets.
In embodiments of the present invention; Behind chip power; The frequency adjustment enable bit of the clock crystal oscillator through the crystal oscillator module is set to the state of enabling, and starts the adjustment to the frequency of clock crystal oscillator, and when in the adjustable extent that the difference of current frequency of clock crystal oscillator and the target frequency value that presets is presetting; Binary numeral to the frequency configuration position is provided with; Make the frequency of clock crystal oscillator of crystal oscillator module raise or be reduced to the target frequency value that presets, can effectively satisfy the demand of chip, improve the finished product yield and the performance of chip the clock crystal oscillator frequency.
See also Fig. 5, the embodiment for a kind of crystal oscillator module in the embodiment of the invention comprises:
Frequency adjustment enable module 501 is used to provide frequency adjustment enable bit, makes when frequency adjustment enable bit is enabled, allows the frequency of clock crystal oscillator is adjusted;
Frequency setting module 502 is used to provide the frequency configuration position, makes chip can adjust the frequency of clock crystal oscillator through the binary numeral that the frequency configuration position is set.
In addition, in embodiments of the present invention, the crystal oscillator module also can comprise the frequency read module, from this frequency read module, can read the frequency of the current clock crystal oscillator of crystal oscillator module.
In embodiments of the present invention,, make chip to adjust, improve the finished product yield and the performance of chip the frequency of the clock crystal oscillator of crystal oscillator module through frequency adjustment enable module and frequency setting module are set in the crystal oscillator module.
See also Fig. 6, the embodiment for a kind of chip in the embodiment of the invention comprises:
As the device 601 of the frequency of adjustment clock crystal oscillator behind the chip power described in Fig. 3 or the embodiment shown in Figure 4, and embodiment as shown in Figure 5 in the crystal oscillator module 602 described;
The device 601 of this adjustment clock crystal oscillator frequency can be adjusted the frequency of the clock crystal oscillator of crystal oscillator module 602.
Need to prove; In embodiments of the present invention; The device 601 of adjustment clock crystal oscillator frequency is kept among the flash of chip with the form of code, and behind chip power, the control unit in the chip will read this section code and operation; The function that the device 601 that makes control unit have adjustment clock crystal oscillator frequency is had, realization is to the adjustment of the frequency of the clock crystal oscillator of crystal oscillator module.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than the method for a kind of frequency of adjusting clock crystal oscillator provided by the present invention and device, crystal oscillator module, chip have been carried out detailed introduction; For one of ordinary skill in the art; Thought according to the embodiment of the invention; The part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method of adjusting the frequency of clock crystal oscillator is characterized in that,
Behind the chip power, obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the said chip;
Judge that difference between frequency that said clock crystal oscillator is current and the target frequency that presets is whether in the adjustable extent that presets;
If then the frequency with said clock crystal oscillator is adjusted into the target frequency that presets.
2. method according to claim 1 is characterized in that, the said current frequency of clock crystal oscillator of obtaining the crystal oscillator module in the said chip comprises before:
Frequency adjustment enable bit in the said crystal oscillator module is set to the state of enabling;
After the preset time section, from said crystal oscillator module, read the clock count value of said clock crystal oscillator in said preset time section.
3. method according to claim 1 and 2 is characterized in that, the said current frequency of clock crystal oscillator of obtaining comprises:
According to preset parameter and the clock count value of said clock crystal oscillator in said preset time section, calculate the current frequency of said clock crystal oscillator, the clock count value that said preset parameter comprises the clock frequency that presets and presets.
4. method according to claim 3 is characterized in that, and is said according to preset parameter and the clock count value of said clock crystal oscillator in the preset time section, calculates the current frequency of said clock crystal oscillator and comprises:
The clock count value of said clock crystal oscillator in the time period of presetting obtained first parameter value divided by the said clock count value that presets;
With the product of said first parameter value and the said clock frequency that presets as the current frequency of said clock crystal oscillator.
5. method according to claim 1 is characterized in that, said frequency with said clock crystal oscillator is adjusted into target frequency and specifically comprises:
Transferring big or frequency unit of adjustment when reducing, and the current binary numeral in frequency configuration position according to the frequency of the difference between current frequency of said clock crystal oscillator and the target frequency that presets, the said clock crystal oscillator that presets, confirming the binary numeral of the required setting in said frequency configuration position;
The said binary numeral of confirming is sent to said frequency configuration position.
6. a device of adjusting the frequency of clock crystal oscillator is characterized in that, comprising:
Acquiring unit, be used for chip power after, obtain the current frequency of clock crystal oscillator of the crystal oscillator module in the said chip;
Judging unit is used to judge the adjustable extent whether difference between frequency that said clock crystal oscillator is current and the target frequency that presets is presetting;
Adjustment unit is used for when the difference between current frequency of said clock crystal oscillator and the target frequency that presets during in the said adjustable extent that presets, and then the frequency with said clock crystal oscillator is adjusted into the target frequency that presets.
7. device according to claim 6 is characterized in that, said device also comprises:
Enable the unit, the frequency adjustment enable bit that is used for said crystal oscillator module is set to the state of enabling;
Reading unit is used for after the preset time section, from said crystal oscillator module, reads the clock count value of said clock crystal oscillator in said preset time section.
8. according to claim 6 or 7 described devices, it is characterized in that said acquiring unit comprises:
First computing unit is used for the clock count value of said clock crystal oscillator in the time period of presetting obtained first parameter value divided by the said clock count value that presets;
Second computing unit is used for product with said first parameter value and the said clock frequency that presets as the current frequency of said clock crystal oscillator.
9. a crystal oscillator module is characterized in that, comprising:
Frequency adjustment enable module is used to provide frequency adjustment enable bit, makes when said frequency adjustment enable bit is enabled, allows the frequency of said clock crystal oscillator is adjusted;
Frequency setting module is used to provide the frequency configuration position, makes chip can adjust the frequency of clock crystal oscillator through the binary numeral that said frequency configuration position is set.
10. a chip is characterized in that, comprising:
Like the device of the frequency of each described adjustment clock crystal oscillator of claim 6 to 8, and crystal oscillator module as claimed in claim 9;
The device of said adjustment clock crystal oscillator frequency can be adjusted the frequency of the clock crystal oscillator of said crystal oscillator module.
CN2011103693516A 2011-11-18 2011-11-18 Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip Pending CN102510283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103693516A CN102510283A (en) 2011-11-18 2011-11-18 Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103693516A CN102510283A (en) 2011-11-18 2011-11-18 Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip

Publications (1)

Publication Number Publication Date
CN102510283A true CN102510283A (en) 2012-06-20

Family

ID=46222341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103693516A Pending CN102510283A (en) 2011-11-18 2011-11-18 Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip

Country Status (1)

Country Link
CN (1) CN102510283A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915305A (en) * 2014-03-11 2015-09-16 泰凌微电子(上海)有限公司 USB equipment chip and frequency calibration method thereof
CN106527577A (en) * 2015-09-09 2017-03-22 华为技术有限公司 Clock signal adjusting method and apparatus
CN111352023A (en) * 2020-03-27 2020-06-30 歌尔股份有限公司 Crystal oscillator detection method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715237A (en) * 1993-06-29 1995-01-17 Sharp Corp Oscillation controller
CN101005277A (en) * 2005-10-06 2007-07-25 飞思卡尔半导体公司 Digital clock frequency multiplier
CN101221456A (en) * 2007-01-09 2008-07-16 矽统科技股份有限公司 Electronic device
US20090195278A1 (en) * 2008-01-31 2009-08-06 Daniel Joseph Friedman Method and circuit for controlling clock frequency of an electronic circuit with noise mitigation
CN101552606A (en) * 2009-04-29 2009-10-07 西安理工大学 Intelligent self-calibration chip based on chip internal clock crystal oscillator and self-calibration method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715237A (en) * 1993-06-29 1995-01-17 Sharp Corp Oscillation controller
CN101005277A (en) * 2005-10-06 2007-07-25 飞思卡尔半导体公司 Digital clock frequency multiplier
CN101221456A (en) * 2007-01-09 2008-07-16 矽统科技股份有限公司 Electronic device
US20090195278A1 (en) * 2008-01-31 2009-08-06 Daniel Joseph Friedman Method and circuit for controlling clock frequency of an electronic circuit with noise mitigation
CN101552606A (en) * 2009-04-29 2009-10-07 西安理工大学 Intelligent self-calibration chip based on chip internal clock crystal oscillator and self-calibration method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915305A (en) * 2014-03-11 2015-09-16 泰凌微电子(上海)有限公司 USB equipment chip and frequency calibration method thereof
CN106527577A (en) * 2015-09-09 2017-03-22 华为技术有限公司 Clock signal adjusting method and apparatus
CN111352023A (en) * 2020-03-27 2020-06-30 歌尔股份有限公司 Crystal oscillator detection method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10970240B2 (en) Protocol including a command-specified timing reference signal
CN101552606B (en) Intelligent self-calibration chip based on chip internal clock crystal oscillator and self-calibration method
US20180287563A1 (en) Feed-Forward Envelope Tracking
CN102510283A (en) Method and device for regulating frequency of clock oscillator, crystal oscillator module and chip
CN103201938B (en) Synchronized sampling single-bit switched-mode power supply
KR102384880B1 (en) Calibration in a control device receiving from a source synchronous interface
US20100146237A1 (en) Memory device, memory system, and access timing adjusting method in memory system
CN107068197A (en) Adjust the wordline pulse width in accumulator system
US9318177B2 (en) Semiconductor devices and semiconductor systems including the same
US9571098B2 (en) Signal receiving circuits including termination resistance having adjustable resistance value, operating methods thereof, and storage devices therewith
CN104935329A (en) Multi-channel reference source soft switching method and system of time synchronizer
KR102143109B1 (en) Delay locked loop and operating method thereof
US20130136195A1 (en) System and method of data communications between electronic devices
CN103580684A (en) Chip clock signal generation circuit and chip system
CN1674149A (en) Semiconductor memory device
CN101340198A (en) Calibration method, apparatus and system for RF receiver
CN201291002Y (en) Frequency phase controller
US9083353B2 (en) Semiconductor device and electronic device
CN103873056A (en) Automatic oscillator calibration device and calibration method thereof
CN102496381B (en) Method and device for adjusting electrification voltage, electrification resetting unit and chip
CN102348277B (en) Method and system for realizing terminal synchronization in hybrid self-organized network
CN102833064A (en) Clock recovery method for microwave transmission and device
CN110600064A (en) Memory device and voltage control method thereof
US20180166112A1 (en) Semiconductor device
CN103762959A (en) Signal duty ratio and cycle detection system and method

Legal Events

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

Application publication date: 20120620