JPH0286207A - Basic clock generating circuit - Google Patents

Basic clock generating circuit

Info

Publication number
JPH0286207A
JPH0286207A JP63234789A JP23478988A JPH0286207A JP H0286207 A JPH0286207 A JP H0286207A JP 63234789 A JP63234789 A JP 63234789A JP 23478988 A JP23478988 A JP 23478988A JP H0286207 A JPH0286207 A JP H0286207A
Authority
JP
Japan
Prior art keywords
clock
frequency
mpu
microprocessor system
oscillator
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.)
Granted
Application number
JP63234789A
Other languages
Japanese (ja)
Other versions
JPH0646702B2 (en
Inventor
Tadashi Fujizu
藤津 正
Yoshinao Mizuno
水野 善直
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.)
NEC Platforms Ltd
NEC Corp
Original Assignee
NEC Corp
NEC AccessTechnica 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 NEC Corp, NEC AccessTechnica Ltd filed Critical NEC Corp
Priority to JP63234789A priority Critical patent/JPH0646702B2/en
Publication of JPH0286207A publication Critical patent/JPH0286207A/en
Publication of JPH0646702B2 publication Critical patent/JPH0646702B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the power consumption of the entire microprocessor system by varying a clock to a microprocessor unit programmably. CONSTITUTION:In a basic clock generating circuit 10, an oscillator 7 outputs a basic clock, and a frequency divider 6 frequency-divides an output clock from the oscillator 7 and outputs a clock A. Moreover, the circuit 10 is provided with a phase comparator 2, a low pass filter 3, a voltage controlled oscillator 4, and a frequency divider 5 frequency-divides an MPU clock generated from the voltage controlled oscillator 4 and outputting variably properly an optional MPU clock in response to the application of the microprocessor system, which form a phase locked loop. Then a control circuit 1 controls the frequency divider 5 to vary the MPU clock programmably by executing a specific instruction for the MPU 8 in response to the application of the microprocessor system. Thus, the power consumption of the entire microprocessor system is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセッサの命令サイクル時間が決
定されるようなマイクロプロセッサシステムの基本クロ
ック発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a basic clock generation circuit for a microprocessor system in which the instruction cycle time of the microprocessor is determined.

〔従来の技術〕[Conventional technology]

従来の技術では、マイクロプロセッサシステムの基本タ
ロツク発生回路は、第2図に示すように発振器もしくは
発振子から成る回路11であり、その周波数は固定で、
マイクロプロセッサユニット(MPU)12の規格範囲
内のほぼMAX値を使用している。MPU12は、表示
部制御回路13.記憶回路14.入出力制御回路155
割込み制御回路16とマイクロプロセッサシステムを構
成するが、マイクロプロセッサシステムがスタンバイな
どの状態では、遅いMPUクロックによる低速動作でも
十公使用可能であるにもかかわらず、MPUクロックが
変化しないため、速いMPUクロックのまま高速動作を
行っている。
In the conventional technology, the basic tarock generation circuit of a microprocessor system is a circuit 11 consisting of an oscillator or oscillator as shown in FIG. 2, and its frequency is fixed.
Almost the MAX value within the standard range of the microprocessor unit (MPU) 12 is used. The MPU 12 includes a display unit control circuit 13. Memory circuit 14. Input/output control circuit 155
The interrupt control circuit 16 and the microprocessor system are configured, but when the microprocessor system is in a standby state, even low-speed operation with a slow MPU clock can be used, but since the MPU clock does not change, the fast MPU It operates at high speed using the clock.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のマイクロプロセッサシステムの基本クロ
ック発生回路では、MPUクロックの周波数は固定され
、周波数は規格範囲内のほぼMAX値を使用しているこ
とにより、マイクロプロセッサシステムがスタンバイな
どの状態のときに低速動作でも十分使用可能であるにも
かかわらず、MPUクロックが変化しないため高速動作
を行っている。したがってデジタルICの特性である動
作周波数を低くし低消費電力化が可能な場合でも、動作
周波数を高い状態とし消費電力を浪費しているという欠
点がある。
In the basic clock generation circuit of the conventional microprocessor system mentioned above, the frequency of the MPU clock is fixed and the frequency uses approximately the MAX value within the standard range, so that when the microprocessor system is in a standby state, etc. Even though it can be used at low speeds, it operates at high speeds because the MPU clock does not change. Therefore, even if it is possible to reduce power consumption by lowering the operating frequency, which is a characteristic of digital ICs, there is a drawback that the operating frequency is kept high and power consumption is wasted.

本発明の目的は、このような欠点を除去し、適時にMP
Uクロックの周波数を高い周波数から低い周波数にスム
ーズに可変することのできる基本クロック発生回路を提
供することにある。
The purpose of the present invention is to eliminate such drawbacks and to provide timely MP
An object of the present invention is to provide a basic clock generation circuit that can smoothly vary the frequency of a U clock from a high frequency to a low frequency.

〔課題を解決するための手段] 本発明は、マイクロプロセッサユニットを備えるマイク
ロプロセッサシステムの基本クロックを発生する基本ク
ロック発生回路において、基本となるクロックを出力す
る発振器と、この発振器からの出力クロックを分周し第
1のクロックを出力する第1の分周器と、 前記第1のクロックを一方の入力とする位相比較器、こ
の位相比較器に接続される低域ろ波器。
[Means for Solving the Problems] The present invention provides a basic clock generation circuit that generates a basic clock for a microprocessor system including a microprocessor unit. A first frequency divider that divides the frequency and outputs a first clock; a phase comparator that receives the first clock as one input; and a low-pass filter connected to the phase comparator.

この低域ろ波器に接続されマイクロプロセッサユニット
へのクロックを出力する電圧制御発振器。
A voltage controlled oscillator is connected to this low-pass filter and outputs the clock to the microprocessor unit.

この電圧制御発振器の出力するクロックを分周し、前記
位相比較器の他方の入力となる第2のクロックを出力す
る第2の分周器と、 マイクロプロセッサユニットにより制御され、前記第2
の分周器の分周比を制御する制御回路とを有し、 マイクロプロセッサユニットが特定の命令を実行するこ
とにより、マイクロプロセッサユニットへのクロックを
プログラマブルに可変することを特徴としている。
a second frequency divider that divides the clock output from the voltage controlled oscillator and outputs a second clock that becomes the other input of the phase comparator;
The microprocessor unit has a control circuit that controls the frequency division ratio of the frequency divider, and is characterized in that the clock to the microprocessor unit is programmably varied by the microprocessor unit executing a specific instruction.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の基本クロック発生回路の一実施例の
ブロック図である。この基本クロック発生回路IOは、
基本となるクロックを出力する発振器7と、この発振器
からの出力クロックを分周しクロックAを出力する分周
器6と、位相同期ループを構成する位相比較器2.低域
ろ波器3.電圧制御発振器4と、電圧制御発振器4の発
生するMPUクロックを分周し、マイクロプロセッサシ
ステムの用途に応じて任意のMPUクロックを適時に可
変出力する分周器5と、マイクロプロセッサシステムの
用途に応じてMPU8にて特定の命令を実行することに
よりMPUクロックをプログラマブルに可変するために
分周器5を制御する制御回路1とを存している。
FIG. 1 is a block diagram of an embodiment of the basic clock generation circuit of the present invention. This basic clock generation circuit IO is
An oscillator 7 that outputs a basic clock, a frequency divider 6 that divides the frequency of the output clock from this oscillator and outputs clock A, and a phase comparator 2 that forms a phase-locked loop. Low-pass filter 3. A voltage controlled oscillator 4, a frequency divider 5 that divides the MPU clock generated by the voltage controlled oscillator 4, and outputs an arbitrary MPU clock timely and variably according to the application of the microprocessor system; The control circuit 1 controls the frequency divider 5 in order to programmably vary the MPU clock by executing specific instructions in the MPU 8 accordingly.

なおマイクロプロセッサシステムは、本実施例ではMP
U8と、タイマー制御回路9と、表示部制御回路13と
、記憶回路14と、入出力制御回路15と、割込み制御
回路16とから構成されている。
Note that the microprocessor system is MP in this embodiment.
It is composed of U8, a timer control circuit 9, a display control circuit 13, a memory circuit 14, an input/output control circuit 15, and an interrupt control circuit 16.

次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

マイクロプロセッサシステムが通常動作状態にあるとき
は、分周器5の分周比は制御回路1により1に設定され
ており、電圧制御発振器4の発生するMPUクロックは
、位相同期ループにより分周器6の発生するクロックA
に同期している。
When the microprocessor system is in a normal operating state, the frequency division ratio of the frequency divider 5 is set to 1 by the control circuit 1, and the MPU clock generated by the voltage controlled oscillator 4 is transferred to the frequency divider by the phase locked loop. 6 generated clock A
is synchronized with.

マイクロプロセッサシステムがスタンバイなどの遅いM
PUクロックによる低速動作が可能な状態になると、M
PU8は特定の命令を実行し、制御回路lにより分周器
5の分周比を制御させて、その分周比で電圧制御発振器
4の発生するMPUクロックを分周して低周波数のクロ
ックBを形成する。このクロックBは、位相比較器2に
入力される。
When the microprocessor system is in slow mode such as standby
When low-speed operation using the PU clock becomes possible, M
The PU 8 executes a specific command, controls the frequency division ratio of the frequency divider 5 by the control circuit 1, divides the MPU clock generated by the voltage controlled oscillator 4 by the frequency division ratio, and generates a low frequency clock B. form. This clock B is input to the phase comparator 2.

一方、位相比較器2には、発振器7からの基本となるク
ロックを分周器6で分周して得られたクロックAが入力
されている。位相比較器2.低域ろ波器3および電圧制
御発振器4で構成される位相同期ループは、クロックB
を基本となるクロソりAに同期させる。すなわち、この
位相同期ループは、位相比較器2でクロックAとクロッ
クBの位相を比較し、位相差をなくすように動作する。
On the other hand, the phase comparator 2 receives a clock A obtained by dividing the basic clock from the oscillator 7 by the frequency divider 6. Phase comparator 2. A phase-locked loop composed of a low-pass filter 3 and a voltage-controlled oscillator 4 is connected to a clock B.
Synchronize with the basic cloth A. That is, this phase-locked loop compares the phases of clock A and clock B in phase comparator 2 and operates so as to eliminate the phase difference.

電圧制御発振器4の発生するMPUクロックが同期がと
られ、所望の低周波数クロックになると、MPU8は制
御’B回路1を制御して、分周器5の分周比を元に戻す
、すなわち1にする。このようにして、電圧制御発振器
4の発生するMPUクロックを所望の低周波数クロック
にスムーズに可変することができる。
When the MPU clock generated by the voltage controlled oscillator 4 is synchronized and becomes the desired low frequency clock, the MPU 8 controls the control 'B circuit 1 to return the frequency division ratio of the frequency divider 5 to the original value, that is, to 1. Make it. In this way, the MPU clock generated by the voltage controlled oscillator 4 can be smoothly varied to a desired low frequency clock.

以上のように本実施例によれば、マイクロプロセッサシ
ステムの用途に応じMPUクロックをプログラマブルに
可変することができる。ところで、マイクロプロセッサ
システムにおいて固定のタイマーが必要な場合は、分周
器6の出力クロックAをマイクロプロセッサシステム内
のタイマー制御回路9の基本クロックとして使用するこ
とができる。
As described above, according to this embodiment, the MPU clock can be programmably varied depending on the application of the microprocessor system. By the way, if a fixed timer is required in the microprocessor system, the output clock A of the frequency divider 6 can be used as the basic clock for the timer control circuit 9 in the microprocessor system.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、マイクロプロセッサシ
ステムの基本クロック発生回路においてマイクロプロセ
ッサシステムがスタンバイなどの低速動作においても十
分使用可能な状態になった場合、適時にMPUクロック
の周波数を高い周波数から低い周波数にスムーズに可変
することにより、一般のマイクロプロセッサシステムの
動作周波数が低い場合低消費電力となることを利用し、
マイクロプロセッサシステム全体の消費電力を減少させ
最適な消費電力で動作させることが可能であり、経済的
なマイクロプロセッサシステムの構築ができる。
As explained above, in the present invention, when the microprocessor system becomes fully usable even in low-speed operation such as standby, the basic clock generation circuit of the microprocessor system changes the frequency of the MPU clock from a high frequency to a low frequency in a timely manner. By smoothly varying the frequency, it takes advantage of the fact that general microprocessor systems consume less power when the operating frequency is low.
It is possible to reduce the power consumption of the entire microprocessor system and operate it with optimal power consumption, making it possible to construct an economical microprocessor system.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、本発明の一実施例のブロック図、第2図は、
発振器を基本クロック発生回路とするマイクロプロセッ
サシステムのブロック図である。 1・・・・・制御回路 2・・・・・位相比較器 3・・・・・低域ろ波器 4・・・・・電圧制御発振器 5、6 ・ 7、11・ 8、12・ 10・ ・ ・ ・分周器 ・発振器 ・ MPU ・基本クロック発生回路
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
1 is a block diagram of a microprocessor system using an oscillator as a basic clock generation circuit. FIG. 1... Control circuit 2... Phase comparator 3... Low pass filter 4... Voltage controlled oscillator 5, 6, 7, 11, 8, 12, 10・ ・ ・ ・Frequency divider・Oscillator・MPU・Basic clock generation circuit

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプロセッサユニットを備えるマイクロプ
ロセッサシステムの基本クロックを発生する基本クロッ
ク発生回路において、 基本となるクロックを出力する発振器と、 この発振器からの出力クロックを分周し第1のクロック
を出力する第1の分周器と、 前記第1のクロックを一方の入力とする位相比較器、こ
の位相比較器に接続される低域ろ波器、この低域ろ波器
に接続されマイクロプロセッサユニットへのクロックを
出力する電圧制御発振器、この電圧制御発振器の出力す
るクロックを分周し、前記位相比較器の他方の入力とな
る第2のクロックを出力する第2の分周器と、 マイクロプロセッサユニットにより制御され、前記第2
の分周器の分周比を制御する制御回路とを有し、 マイクロプロセッサユニットが特定の命令を実行するこ
とにより、マイクロプロセッサユニットへのクロックを
プログラマブルに可変することを特徴とする基本クロッ
ク発生回路
(1) In a basic clock generation circuit that generates the basic clock of a microprocessor system including a microprocessor unit, there is an oscillator that outputs the basic clock, and the output clock from this oscillator is divided to output a first clock. a first frequency divider; a phase comparator having the first clock as one input; a low-pass filter connected to the phase comparator; and a microprocessor unit connected to the low-pass filter. a voltage controlled oscillator that outputs a clock; a second frequency divider that divides the clock output from the voltage controlled oscillator and outputs a second clock that is the other input of the phase comparator; and a microprocessor unit. controlled by the second
and a control circuit that controls the frequency division ratio of the frequency divider, and the clock to the microprocessor unit is programmably varied by the microprocessor unit executing a specific instruction. circuit
JP63234789A 1988-09-21 1988-09-21 Basic clock generator Expired - Lifetime JPH0646702B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63234789A JPH0646702B2 (en) 1988-09-21 1988-09-21 Basic clock generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63234789A JPH0646702B2 (en) 1988-09-21 1988-09-21 Basic clock generator

Publications (2)

Publication Number Publication Date
JPH0286207A true JPH0286207A (en) 1990-03-27
JPH0646702B2 JPH0646702B2 (en) 1994-06-15

Family

ID=16976409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63234789A Expired - Lifetime JPH0646702B2 (en) 1988-09-21 1988-09-21 Basic clock generator

Country Status (1)

Country Link
JP (1) JPH0646702B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0895660A (en) * 1994-09-26 1996-04-12 Nec Corp Lsi with built-in clock generator/controller operating with low power consumption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0895660A (en) * 1994-09-26 1996-04-12 Nec Corp Lsi with built-in clock generator/controller operating with low power consumption

Also Published As

Publication number Publication date
JPH0646702B2 (en) 1994-06-15

Similar Documents

Publication Publication Date Title
KR100379766B1 (en) Pll system clock generator with instantaneous clock frequency shifting
US5548235A (en) Phase-locked loop and resulting frequency multiplier
JP2755183B2 (en) LSI with built-in clock generator / controller for low power consumption operation
KR100258278B1 (en) Variable-speed pll system with one-the-fly switching and method therefor
JP2008135065A (en) Device and its method for switching among various clock sources in data processing system
US20200350895A1 (en) Generation of pulse width modulated (pwm) pulses
KR0138220B1 (en) Clock delay compensation and duty control apparatus
JPH08190535A (en) Component processor and power distributed multiprocessor
JPH0462500B2 (en)
US5278521A (en) Power saving frequency synthesizer with fast pull-in feature
US5815694A (en) Apparatus and method to change a processor clock frequency
US4942595A (en) Circuit for dividing the frequency of a digital clock signal by two and one-half
JPH0286207A (en) Basic clock generating circuit
JPH0715293A (en) Clock disable circuit, clock disable and enable circuit and carrier-signal-frequency tracking device with synchronized clock disable and enable
JPH11355107A (en) High frequency clock generation circuit
JP2835224B2 (en) Clock switching control device
JPH0224712A (en) Data processing circuit
JPH04251312A (en) Clock supplying system
JPH01146426A (en) Pll circuit
JPH05315898A (en) Trigger synchronization circuit
JPS6315517A (en) Clock generating circuit
JPS62128211A (en) Frequency synthesizer
JPH033517A (en) Clock generator
JPS6020223A (en) Cmos semiconductor integrated circuit device
JPH03297222A (en) Semiconductor integrated circuit