Configuration for adjusting CPU speed and method thereof
OwnerKun-Hung Huanginventor
Life of this patent
Estimating the term…
Abstract
A configuration for tuning CPU working frequency and method thereof is disclosed, thereby adjusting the working frequency of a CPU of a data processing system at any time. An additional control circuit is not needed. The configuration is composed of firmware and software. When the temperature of the data processing system is too high, the working frequency of the CPU may be adjusted through the configuration and the method of the invention to lower the temperature of the CPU. Meanwhile, when the data processing system enters an idle mode, the frequency of the CPU is also lowered to reduce power consumption.
Claims9
A configuration for adjusting CPU working frequency, which is mounted in a data processing, comprising:
- a programmable logic device, which is connected to a central processing unit (CPU) and receives a PCI stop signal (PS), a service location protocol signal (SL), a stop-clock signal (SC), a CPU speed signal (CSP), which is max/min speed of the CPU, and a speed step start signal (SS-start), for checking the PCI stop signal (PS), the service location protocol signal (SL), the stop-clock signal (SC), and the CPU speed signal (CSP) after receiving the speed step start signal (SS-start), transmitting a PCI request signal (PR), a PCI grant signal (PG), a CPU stop-CLK signal, which is transmitted to the CPU, a CPU service location protocol signal (CSL), which is transmitted to the CPU, and transmitting a speed step finish signal (SSF) after the adjusting operation is completed;
- a peripheral component interconnect bus (PCI-bus) for receiving the PCI-REQ signal and the PCI-GNT signal, and stopping working during the adjusting period;
- and
- a voltage-transforming unit, which is connected to the programmable logic device, for receiving the CPU service location protocol signal (CSL) and adjusting a working voltage according the operation mode of the CPU.
A method for adjusting CPU working frequency, which is mounted in a data processing, comprising the steps of:
- closing a cache function;
- closing a peripheral component interconnect (PCI) stop signal;
- closing a power management interrupt function and storing the setup value of the power management interrupt function;
- determining how to adjust the working frequency of CPU according to at least a parameter;
- sending a adjusting signal and masking all the interrupt functions and storing the setup value of the interrupt function;
- making the CPU enter into a power-saving mode and adjusting the working frequency of CPU;
- recovering the setup value of the interrupt function and stopping adjusting the working frequency of CPU;
- recovering the setup value of the power management interrupt function and checking the operation of adjusting the working frequency of CPU;
- recovering the peripheral component interconnect (PCI) stop signal;
- and
- recovering the cache function.
Dependencies are inferred from the claim text.