The present disclosure relates to a frequency adjustment system, particularly to a frequency adjustment system for a central processing unit (CPU) chip.
A voltage regulator module (VRM) communicates with a CPU chip through a power manager bus (PMBus), to perform certain functions, such as providing a proper voltage for the CPU chip. A communication frequency between the CPU chip and the VRM should be in synchronization. For example, if the communication frequency of the CPU chip is 25 million Hertz (MHz), but the communication frequency of the VRM should also be 25 MHz. However, the communication frequency of the CPU chip has great relationship with a clock rate of the CPU chip. In a case that the clock rate of the CPU chip changes, the communication rate of the CPU chip changes synchronously, the communication frequency of the VRM may not be changed fast enough. Thus, if the communication frequencies of the VRM and the CPU chip become inconsistent, the communication data between the CPU chip and the VRM may be lost or malfunction, the VRM may not provide the proper voltage to the CPU chip according to the communication data.
Many aspects of the present disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In the embodiment, the CPU chip 40 can output communication data to the VRM 30 through a power management bus (PMBus) 70. The communication data can comprise a plurality of control instructions. The VRM 30 can output a regulated voltage to the CPU chip 40 according to the control instructions from the CPU chip 40. The PMbus 70 can comprise a clock signal line SCL, a data signal line SDA, and an alert signal line ALTER.
The PLL circuit 50 can determine a clock rate of the CPU chip 40, and can generate a trigger signal to the adjusting circuit 60 on the condition that the clock rate of the CPU chip 40 changes.
The receiving unit 600 can receive the trigger signal from the PLL circuit 50, to obtain the communication frequency of the CPU chip 40. The adjusting unit 606 can adjust a clock frequency of the adjusting circuit 60 according to the trigger signal, to comply with the communication frequency of the CPU chip 40. For example, when the communication rate of the CPU chip 40 is changed from 25 million hertz (MHz) to 41.67 MHz, the adjusting unit 606 adjusts the clock frequency of the MCU 609 to 41.67 MHz.
The analyzing unit 602 can obtain communication data between the CPU chip 40 and the VRM 30 with the adjusted clock frequency. The analyzing unit 602 can further analyze the communication data to obtain the control instructions. The output unit 604 can output a control signal with respect to the control instructions to the PWM controller 300 through a general purpose input output (GPIO) signal line 610.
The VRM 30 can comprise a pulse width modulation (PWM) controller 300. The PWM controller 300 can receive the control signal, and can provide a corresponding voltage for the CPU chip 40 according to the control signal. Accordingly, when the clock rate of the CPU chip 40 is changed, the VRM can still provide the proper voltage for the CPU chip 40.
In step S1, the PLL circuit 50 can determine whether the clock rate of the CPU chip 40 is changed. If the clock rate of the CPU chip 40 is changed, step S2 can be implemented. If the clock rate of the CPU chip 40 is unchanged, step S1 can be repeated.
In step S2, the PLL circuit 50 can output the trigger signal with respect to the communication frequency of the CPU chip 40.
In step S3, the adjusting circuit 60 can adjust the clock frequency according to the trigger signal.
In step S4, the adjusting circuit 60 can obtain control instruction according to the communication data outputted by the CPU chip 40.
In step S5, the adjusting circuit 60 can output the control signal with respect to the control instruction, and can output the control signal to the PWM controller 300 of the VRM 30.
In step S6, the PWM controller 300 can output a corresponding PWM signal, to provide a proper voltage for the CPU chip 40.
While the disclosure has been described by way of example and in terms of a preferred embodiment, it is to be understood that the disclosure is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the range of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
2013100779410 | Mar 2013 | CN | national |