[go: up one dir, main page]

JP2002043930A - Clock signal generator and microcomputer - Google Patents

Clock signal generator and microcomputer

Info

Publication number
JP2002043930A
JP2002043930A JP2000225585A JP2000225585A JP2002043930A JP 2002043930 A JP2002043930 A JP 2002043930A JP 2000225585 A JP2000225585 A JP 2000225585A JP 2000225585 A JP2000225585 A JP 2000225585A JP 2002043930 A JP2002043930 A JP 2002043930A
Authority
JP
Japan
Prior art keywords
clock signal
frequency
circuit
multiplying
value
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
JP2000225585A
Other languages
Japanese (ja)
Other versions
JP3654153B2 (en
Inventor
Akimitsu Inoue
昭光 井上
Hiroshi Fujii
裕志 藤井
Hideaki Ishihara
秀昭 石原
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2000225585A priority Critical patent/JP3654153B2/en
Publication of JP2002043930A publication Critical patent/JP2002043930A/en
Application granted granted Critical
Publication of JP3654153B2 publication Critical patent/JP3654153B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a clock signal generator that can reduce power consumed by its circuit sections not substantially requiring operations. SOLUTION: A frequency divider side selection output means 35 stops the operation of a frequency divider circuit 24 as required and allows a selector 25 to output a reference clock signal in place of a 1/N frequency division clock signal to a multiplier circuit 26 in this case. Furthermore, a multiplier side selection output means 36 stops the operation of the multiplier circuit 26 as required and allows a selector 27 to output the 1/N frequency division clock signal from the frequency divider 24 or a reference clock signal outputted from an external oscillation section 23 externally without any modification in place of an (M/N) multiple clock signal in this case.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、基準クロック信号
をN分周する分周回路と、この分周回路より出力される
分周クロック信号をM逓倍して外部に(M/N)逓倍ク
ロック信号を出力する逓倍回路とを備えてなるクロック
信号発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency dividing circuit for dividing a reference clock signal by N, and multiplying a frequency divided clock signal outputted from the frequency dividing circuit by M to an externally (M / N) multiplied clock. The present invention relates to a clock signal generator including a multiplying circuit for outputting a signal.

【0002】[0002]

【発明が解決しようとする課題】図4は、分周回路と逓
倍回路との双方を備えて構成されるクロック信号発生器
の一構成例を示す機能ブロック図である。外部発振部1
より出力される周波数f0の基準クロック信号は、分周
回路2を介して逓倍回路3に与えられるようになってい
る。分周レジスタ4,逓倍レジスタ5には、図示しない
CPUによりシスアドレスバス6及びデータバス7を介
して分周値N,逓倍値Mの設定が行われるようになって
いる。
FIG. 4 is a functional block diagram showing an example of the configuration of a clock signal generator including both a frequency dividing circuit and a multiplying circuit. External oscillator 1
The reference clock signal having the frequency f0 is output to the frequency multiplying circuit 3 through the frequency dividing circuit 2. In the frequency dividing register 4 and the frequency multiplying register 5, a frequency dividing value N and a frequency multiplying value M are set by a CPU (not shown) via a cis address bus 6 and a data bus 7.

【0003】斯様に構成されるクロック信号発生器8
は、基準クロック信号の周波数f0よりも低い周波数の
クロック信号,高い周波数のクロック信号の何れも生成
することができる。また、前段の分周回路2における分
周値Nの設定と、後段の逓倍回路3における逓倍値Mの
設定との組み合わせによって、外部に出力するクロック
信号の周波数を、f0*(M/N)のように多様に変化
させることが可能である。
[0003] The clock signal generator 8 thus configured
Can generate both a clock signal with a frequency lower than the frequency f0 of the reference clock signal and a clock signal with a higher frequency. Further, the frequency of the clock signal to be output to the outside is set to f0 * (M / N) by a combination of the setting of the frequency dividing value N in the frequency dividing circuit 2 in the preceding stage and the setting of the multiplying value M in the frequency multiplying circuit 3 in the subsequent stage. It is possible to change variously as follows.

【0004】しかしながら、アプリケーションによって
は、例えば、所望のクロック信号周波数を得るために逓
倍回路3を使用する必要が無い場合も想定される。逓倍
回路3は、より高い周波数のクロック信号を生成するた
めに、その内部において基準クロック信号の周波数に比
較して極めて高い周波数のクロック信号を発生させてい
る場合があり、その消費電力は少なくない。従って、実
質的に逓倍回路3を使用する必要が無いにもかかわらず
逓倍回路3が動作していると、無駄な消費電力量が増加
してしまうという問題があった。
However, depending on the application, for example, a case where it is not necessary to use the multiplier circuit 3 to obtain a desired clock signal frequency is also assumed. In order to generate a clock signal with a higher frequency, the multiplier circuit 3 may generate a clock signal with an extremely high frequency as compared with the frequency of the reference clock signal in some cases, and its power consumption is not small. . Therefore, when the multiplying circuit 3 operates even though it is not necessary to use the multiplying circuit 3, there is a problem that the amount of wasteful power consumption increases.

【0005】本発明は上記事情に鑑みてなされたもので
あり、その目的は、実質的に動作させる必要が無い回路
部分によって消費される電力を低減することができるク
ロック信号発生装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a clock signal generator capable of reducing power consumed by a circuit part which does not need to be operated substantially. It is in.

【0006】[0006]

【課題を解決するための手段】請求項1記載のクロック
信号発生装置によれば、逓倍側選択出力手段は、逓倍回
路の動作を必要に応じて停止させ、その時は、(M/
N)逓倍クロック信号に代えて分周回路より出力される
分周クロック信号をそのまま外部に出力させる。従っ
て、分周回路を使用するだけで所望のクロック信号が得
られる場合には、逓倍回路の動作を停止させることがで
きるので、逓倍回路による無駄な電力消費を低減するこ
とが可能となる。
According to the clock signal generator of the present invention, the multiplying-side selection output means stops the operation of the multiplying circuit as necessary, and at that time, (M /
N) The frequency-divided clock signal output from the frequency-dividing circuit instead of the multiplied clock signal is directly output to the outside. Therefore, when a desired clock signal can be obtained only by using the frequency divider, the operation of the frequency multiplier can be stopped, so that wasteful power consumption by the frequency multiplier can be reduced.

【0007】請求項2記載のクロック信号発生装置によ
れば、分周側選択出力手段は、分周回路の動作を必要に
応じて停止させ、その時は、分周クロック信号に代えて
基準クロック信号をそのまま逓倍回路に出力させる。従
って、逓倍回路を使用するだけで所望のクロック信号が
得られる場合には、分周回路の動作を停止させることが
できるので、分周回路による無駄な電力消費を低減する
ことが可能となる。
According to the clock signal generator of the present invention, the frequency dividing side selection output means stops the operation of the frequency dividing circuit as required, and at that time, replaces the frequency divided clock signal with the reference clock signal. Is output to the multiplier circuit as it is. Therefore, when a desired clock signal can be obtained only by using the frequency multiplier, the operation of the frequency divider can be stopped, so that wasteful power consumption by the frequency divider can be reduced.

【0008】請求項3記載のクロック信号発生装置によ
れば、請求項1記載の構成においても分周側選択出力手
段を備えて、分周回路の動作をも必要に応じて停止させ
るので、選択的に逓倍回路及び/又は分周回路の動作を
停止させることが可能となり、無駄な電力消費を一層低
減することができる。
According to the third aspect of the present invention, the clock signal generating apparatus of the first aspect also includes a frequency dividing side selection output means to stop the operation of the frequency dividing circuit as necessary. The operation of the multiplying circuit and / or the frequency dividing circuit can be stopped, and wasteful power consumption can be further reduced.

【0009】請求項4記載のクロック信号発生装置によ
れば、逓倍側選択出力手段は、逓倍値設定手段に設定さ
れた逓倍値が“1”である場合に逓倍回路の動作を停止
させる。従って、ユーザは、逓倍値設定手段に特定値を
設定するだけで逓倍回路の動作を停止させることができ
る。
According to the clock signal generating device of the present invention, the multiplying side selection output means stops the operation of the multiplying circuit when the multiplied value set in the multiplied value setting means is "1". Therefore, the user can stop the operation of the multiplier circuit only by setting the specific value in the multiplier value setting means.

【0010】請求項5記載のクロック信号発生装置によ
れば、分周側選択出力手段は、分周値設定手段に設定さ
れた分周値が“1”である場合に分周回路の動作を停止
させる。従って、ユーザは、分周値設定手段に特定値を
設定するだけで分周回路の動作を停止させることができ
る。
According to the clock signal generating device of the present invention, the frequency-dividing-side selecting and outputting means operates the frequency dividing circuit when the frequency dividing value set in the frequency dividing value setting means is "1". Stop. Therefore, the user can stop the operation of the frequency dividing circuit only by setting the specific value in the frequency dividing value setting means.

【0011】請求項6記載のクロック信号発生装置によ
れば、選択出力手段は、逓倍値設定手段に設定された逓
倍値と、分周値設定手段に設定された分周値とが等しい
場合に、逓倍回路及び/又は分周回路の動作を停止させ
る。即ち、逓倍回路と分周回路との何れについても動作
の停止が可能に構成されている場合、逓倍値と分周値と
が同じ値に設定されれば、逓倍回路,分周回路を動作さ
せる必要は無い。従って、斯様な設定が行われた場合に
は、逓倍回路及び/又は分周回路の動作を適切に停止さ
せることができる。
According to the clock signal generator of the present invention, the selection output means is provided when the multiplication value set in the multiplication value setting means is equal to the division value set in the division value setting means. , Stop the operation of the multiplying circuit and / or the frequency dividing circuit. That is, when the operation of both the multiplication circuit and the frequency divider circuit is configured to be stopped, if the multiplication value and the frequency division value are set to the same value, the multiplication circuit and the frequency division circuit are operated. No need. Therefore, when such a setting is performed, the operation of the multiplying circuit and / or the frequency dividing circuit can be appropriately stopped.

【0012】請求項7記載のクロック信号発生装置によ
れば、逓倍回路を、DPLL回路を用いて構成する。即
ち、DPLL回路は、極めて高い周波数のクロック信号
を生成するためにリングオシレータなどを備えて構成さ
れている。そのため、発振安定時間が短く、発振停止状
態から極めて短時間で発振動作を開始することが可能で
あり、逓倍回路としての動作も迅速に開始できるという
利点がある一方で、動作時の消費電力が比較的高くなっ
てしまう。従って、DPLL回路を用いて構成されてい
る逓倍回路に対して請求項1,3,4または6の何れか
に記載の構成を適用することで、本発明の消費電力低減
効果を有効に奏することができる。
According to the clock signal generator of the present invention, the multiplying circuit is constituted by using a DPLL circuit. That is, the DPLL circuit includes a ring oscillator or the like to generate a clock signal of an extremely high frequency. Therefore, the oscillation stabilization time is short, the oscillation operation can be started in an extremely short time from the oscillation stop state, and there is an advantage that the operation as the multiplication circuit can be started quickly, but the power consumption during operation is low. Will be relatively high. Therefore, by applying the configuration according to any one of claims 1, 3, 4 and 6 to a multiplier circuit configured using a DPLL circuit, the effect of reducing power consumption of the present invention can be exhibited effectively. Can be.

【0013】請求項8記載のマイクロコンピュータによ
れば、請求項1乃至7の何れかに記載のクロック信号発
生装置を備えて構成されるので、マイクロコンピュータ
で使用されるクロック信号の設定によっては、電力消費
の低減に効果を奏することができる。
According to an eighth aspect of the present invention, since the microcomputer is provided with the clock signal generating device according to any one of the first to seventh aspects, depending on the setting of the clock signal used in the microcomputer, It is possible to reduce power consumption.

【0014】[0014]

【発明の実施の形態】(第1実施例)以下、本発明の第
1実施例について図1及び図2を参照して説明する。図
2は、シングルチップマイクロコンピュータの電気的構
成の一例を示す機能ブロック図である。マイクロコンピ
ュータ(マイコン)11は、CPU12を中心として、
そのCPU12によってアクセスされるROM13,R
AM14,クロック発生器(クロック信号発生装置)1
5,シリアル通信回路16,PWM回路17,タイマ1
8やA/Dコンバータ19などからなる複数の周辺回路
20を備えて構成されている。CPU12と各周辺回路
20は、共通のアドレスバス21及びデータバス22を
介して接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A first embodiment of the present invention will be described below with reference to FIGS. FIG. 2 is a functional block diagram illustrating an example of an electrical configuration of the single-chip microcomputer. The microcomputer (microcomputer) 11 mainly includes a CPU 12,
ROM 13 and R accessed by the CPU 12
AM14, clock generator (clock signal generator) 1
5, serial communication circuit 16, PWM circuit 17, timer 1
And a plurality of peripheral circuits 20 including an A / D converter 19 and the like. The CPU 12 and each peripheral circuit 20 are connected via a common address bus 21 and data bus 22.

【0015】クロック発生器15は、CPU12及び周
辺回路20に共通のクロック信号MCKを供給するよう
に構成されており、CPU12及び周辺回路20は、ク
ロック信号MCKに同期して動作するようになってい
る。そして、クロック発生器15は、CPU12によっ
てクロック信号MCKの周波数を可変設定できるように
構成されている。
The clock generator 15 is configured to supply a common clock signal MCK to the CPU 12 and the peripheral circuit 20. The CPU 12 and the peripheral circuit 20 operate in synchronization with the clock signal MCK. I have. The clock generator 15 is configured so that the frequency of the clock signal MCK can be variably set by the CPU 12.

【0016】図1は、クロック発生器15の詳細な構成
を示す機能ブロック図である。外部発振部23より出力
される周波数f0の基準クロック信号は、分周回路24
に与えられていると共に、分周側のセレクタ25及び逓
倍側のセレクタ27にも直接与えられている。分周回路
24より出力されるN分周クロック信号は、セレクタ2
5を介して逓倍回路26に与えられている。また、セレ
クタ25を介して出力されるN分周クロック信号は、セ
レクタ27にも直接与えられている。そして、逓倍回路
26より出力されるM/N逓倍クロック信号は、セレク
タ27を介してクロック信号MCKとして外部に出力さ
れるようになっている。
FIG. 1 is a functional block diagram showing a detailed configuration of the clock generator 15. The reference clock signal of frequency f0 output from the external oscillating unit 23 is
, As well as directly to the selector 25 on the frequency dividing side and the selector 27 on the multiplying side. The N-divided clock signal output from the frequency dividing circuit 24 is
5 is provided to the multiplication circuit 26. The N-divided clock signal output via the selector 25 is also directly supplied to the selector 27. The M / N multiplied clock signal output from the multiplying circuit 26 is externally output as a clock signal MCK via a selector 27.

【0017】分周レジスタ(分周値設定手段)28,逓
倍レジスタ(逓倍値設定手段)29には、CPU12に
よりアドレスバス21及びデータバス22を介して分周
値N,逓倍値Mの設定が行われるようになっている
(N,M=1,2,3,…)。分周レジスタ28に設定
される分周値Nは、分周回路24に与えられると共に、
比較器(マグニチュードコンパレータ)30及び31に
も与えられている。また、逓倍レジスタ29に設定され
る逓倍値Mは逓倍回路26に与えられると共に、比較器
31及び32にも与えられている。
In a frequency dividing register (frequency dividing value setting means) 28 and a frequency multiplying register (multiplied value setting means) 29, the CPU 12 sets a frequency dividing value N and a frequency multiplying value M via an address bus 21 and a data bus 22. (N, M = 1, 2, 3,...). The frequency dividing value N set in the frequency dividing register 28 is given to the frequency dividing circuit 24,
It is also provided to comparators (magnitude comparators) 30 and 31. The multiplication value M set in the multiplication register 29 is supplied to the multiplication circuit 26 and also to the comparators 31 and 32.

【0018】比較器30は、分周値Nが“1”に等しい
か否かを比較するようになっており、N=1であれば一
致信号(「YES」,ハイレベル)をORゲート33の
一方の入力端子に出力する。また、比較器30の不一致
信号(「NO」,ハイレベル)は、セレクタ25に選択
切り替え信号として与えられている。この不一致信号
は、N=1でなければ常に出力されている。
The comparator 30 compares whether or not the frequency division value N is equal to "1". If N = 1, the match signal ("YES", high level) is output to the OR gate 33. Output to one of the input terminals. The non-coincidence signal (“NO”, high level) of the comparator 30 is provided to the selector 25 as a selection switching signal. This mismatch signal is always output unless N = 1.

【0019】セレクタ25は、前記不一致信号が出力さ
れている場合は入力ポート“1”に与えられているN分
周クロック信号を選択出力し、前記不一致信号が出力さ
れていなければ入力ポート“0”に与えられている基準
クロック信号を選択出力するように構成されている。
The selector 25 selects and outputs the N-divided clock signal supplied to the input port "1" when the mismatch signal is output, and outputs the input port "0" when the mismatch signal is not output. Is selectively output.

【0020】比較器32は、逓倍値Mが“1”に等しい
か否かを比較するようになっており、一致信号(「YE
S」)をORゲート34の一方の入力端子に出力する。
また、比較器32の不一致信号(「NO」)は、セレク
タ27に第1選択切り替え信号として与えられている。
The comparator 32 compares whether the multiplication value M is equal to "1" or not, and outputs a match signal ("YE
S ") is output to one input terminal of the OR gate 34.
Further, the mismatch signal (“NO”) of the comparator 32 is given to the selector 27 as a first selection switching signal.

【0021】また、比較器31は分周値Nと逓倍値Mと
が等しいか否かを比較するようになっており、一致信号
(「YES」)をORゲート33及び34の他方の入力
端子に出力する。また、比較器31の不一致信号(「N
O」)は、セレクタ27に第2選択切り替え信号として
与えられている。
The comparator 31 compares whether the divided value N and the multiplied value M are equal or not, and outputs a coincidence signal ("YES") to the other input terminals of the OR gates 33 and 34. Output to Further, the non-coincidence signal (“N
O ”) is given to the selector 27 as a second selection switching signal.

【0022】セレクタ27は、比較器31及び32から
の不一致信号が出力されている場合は入力ポート“1”
に与えられている(M/N)逓倍クロック信号を選択出
力し、比較器32からの不一致信号が出力されていなけ
れば入力ポート“0”に与えられているN分周クロック
信号を選択出力する。また、比較器31からの不一致信
号が出力されていなければ、入力ポート“0′”に与え
られている基準クロック信号を選択出力するように構成
されている。
When a mismatch signal is output from the comparators 31 and 32, the selector 27 inputs the input port "1".
And outputs the (M / N) multiplied clock signal supplied to the input port "0" if the mismatch signal is not output from the comparator 32. . Further, when the mismatch signal is not output from the comparator 31, the reference clock signal supplied to the input port "0 '" is selectively output.

【0023】ORゲート33,34の出力信号は、夫々
分周回路24,逓倍回路26に与えられている。そし
て、分周回路24,逓倍回路26は、ORゲート33,
34の出力信号レベルがハイになると、入力クロック信
号の分周動作,逓倍動作を停止するように構成されてい
る。
The output signals of the OR gates 33 and 34 are supplied to a frequency dividing circuit 24 and a multiplying circuit 26, respectively. The frequency dividing circuit 24 and the multiplying circuit 26 are provided with an OR gate 33,
When the output signal level of 34 becomes high, the frequency division operation and the multiplication operation of the input clock signal are stopped.

【0024】分周回路24は、複数段のフリップフロッ
プなどで構成されている。また、逓倍回路26は、詳細
構成は図示しないが、DPLL(Digital Phase Locked
Loop) 回路を応用して構成されており、データラッチ,
制御回路,カウンタ,リングオシレータを有するデジタ
ル制御発振器などを備えて構成されている(詳細構成に
ついては、例えば、特開平8−265111号公報を参
照)。
The frequency dividing circuit 24 is constituted by a plurality of stages of flip-flops and the like. Although the detailed configuration of the multiplying circuit 26 is not shown, a DPLL (Digital Phase Locked)
Loop) circuit is applied, data latch,
It is provided with a control circuit, a counter, a digitally controlled oscillator having a ring oscillator, and the like (for a detailed configuration, see, for example, JP-A-8-265111).

【0025】その動作の概略について述べると、逓倍レ
ジスタ29に設定される逓倍値Mがデータラッチにセッ
トされ、制御回路は、セレクタ25より出力される例え
ばN分周クロック信号に基づいて制御周期をカウントし
て制御信号を出力する。カウンタは、リングオシレータ
より出力される高速クロック信号によりN分周クロック
信号周期をカウントし、デジタル制御発振器は、前記カ
ウント値等と逓倍値Mとに基づいてタイミング制御を行
うことで(M/N)逓倍クロック信号をMCKとして出
力する。即ち、逓倍回路26は、DPLL回路における
位相同期機能部分を省略した構成となっている。
The operation is briefly described. The multiplied value M set in the multiplying register 29 is set in the data latch, and the control circuit sets the control cycle based on, for example, the N-divided clock signal output from the selector 25. It counts and outputs a control signal. The counter counts the N-divided clock signal cycle by the high-speed clock signal output from the ring oscillator, and the digitally controlled oscillator performs timing control based on the count value and the multiplied value M (M / N ) Output the multiplied clock signal as MCK. That is, the multiplying circuit 26 has a configuration in which the phase synchronization function part in the DPLL circuit is omitted.

【0026】尚、以上の構成において、セレクタ25,
比較器30及び31,ORゲート33は、分周側選択出
力手段35を構成しており、セレクタ27,比較器31
及び32,ORゲート34は、逓倍側選択出力手段36
を構成している。
In the above configuration, the selector 25,
The comparators 30 and 31, and the OR gate 33 constitute a frequency-dividing-side selection output means 35, and the selector 27 and the comparator 31
, 32, and an OR gate 34
Is composed.

【0027】次に、本実施例の作用について説明する。 <クロック信号MCK=(M/N)逓倍クロック信号
> 先ず、クロック信号MCKを、基準クロック信号の(M
/N)逓倍クロック信号として生成する場合について述
べる。この場合、CPU12は、クロック発生器15の
分周レジスタ28に任意の分周値Nを設定すると共に、
逓倍レジスタ29には任意の逓倍値M(但し、N=Mで
はない)を設定する。この時、各比較器30〜32の比
較結果は、以下のようになる。
Next, the operation of the present embodiment will be described. <Clock signal MCK = (M / N) multiplied clock signal> First, the clock signal MCK is set to (M / N) of the reference clock signal.
/ N) The case of generating as a multiplied clock signal will be described. In this case, the CPU 12 sets an arbitrary frequency division value N in the frequency division register 28 of the clock generator 15 and
In the multiplication register 29, an arbitrary multiplication value M (however, N is not M) is set. At this time, the comparison results of the comparators 30 to 32 are as follows.

【0028】従って、分周回路24は、基準クロック信
号をN分周してセレクタ25に出力し、セレクタ25
は、そのN分周クロック信号を逓倍回路26に出力す
る。また、逓倍回路26は、入力されるN分周クロック
信号をM逓倍してセレクタ27に出力し、セレクタ27
は、その(M/N)逓倍クロック信号をMCKとして外
部に出力する(マイコン11の内部回路に供給する)。
Therefore, the frequency dividing circuit 24 divides the frequency of the reference clock signal by N and outputs it to the selector 25,
Outputs the N-divided clock signal to the multiplication circuit 26. The multiplying circuit 26 multiplies the input N-divided clock signal by M and outputs the multiplied clock signal to the selector 27.
Outputs the (M / N) multiplied clock signal to the outside as MCK (supplies it to the internal circuit of the microcomputer 11).

【0029】<クロック信号MCK=N分周クロック
信号> 次に、クロック信号MCKを、基準クロック信号のN分
周クロック信号として生成する場合について述べる(即
ち、M逓倍は行わない)。この場合、CPU12は、ク
ロック発生器15の分周レジスタ28に任意の分周値N
(但し、N=1ではない)を設定すると共に、逓倍レジ
スタ29には逓倍値M=1を設定する。この時、各比較
器30〜32の比較結果は、以下のようになる。
<Clock signal MCK = N-divided clock signal> Next, a case where the clock signal MCK is generated as a N-divided clock signal of the reference clock signal will be described (that is, M multiplication is not performed). In this case, the CPU 12 stores an arbitrary frequency division value N in the frequency division register 28 of the clock generator 15.
(However, N = 1 is not set), and a multiplication value M = 1 is set in the multiplication register 29. At this time, the comparison results of the comparators 30 to 32 are as follows.

【0030】従って、分周回路24は、と同様に基準
クロック信号をN分周してセレクタ25に出力し、セレ
クタ25は、そのN分周クロック信号を逓倍回路26に
出力する。また、逓倍回路26側では、比較器32が一
致信号を出力するのでORゲート34の出力信号レベル
がハイとなって、逓倍回路26は逓倍動作を停止する。
この時、逓倍回路26は、具体的には内蔵しているリン
グオシレータの発振動作を停止させる。
Accordingly, the frequency dividing circuit 24 divides the reference clock signal by N and outputs it to the selector 25 in the same manner as described above, and the selector 25 outputs the N-divided clock signal to the multiplying circuit 26. On the side of the multiplier circuit 26, since the comparator 32 outputs a coincidence signal, the output signal level of the OR gate 34 becomes high, and the multiplier circuit 26 stops the multiplying operation.
At this time, the multiplying circuit 26 specifically stops the oscillation operation of the built-in ring oscillator.

【0031】リングオシレータは、複数(例えば32)
段のインバータゲートをリング上に接続して構成されて
おり、その発振周波数は極めて高いため、消費電力量も
比較的多い。従って、リングオシレータの発振動作を停
止させることによる消費電力の低減効果は大である。
A plurality (for example, 32) of ring oscillators
Since the inverter gates of the stages are connected on a ring, and the oscillation frequency thereof is extremely high, the power consumption is relatively large. Therefore, the effect of reducing power consumption by stopping the oscillation operation of the ring oscillator is significant.

【0032】そして、セレクタ27は、比較器32が不
一致信号の出力を停止するので入力ポート“0”側のN
分周クロック信号を選択し、そのN分周クロック信号を
MCKとして外部に出力する。
Then, since the comparator 32 stops outputting the non-coincidence signal, the selector 27 selects N on the input port "0" side.
A divided clock signal is selected, and the N-divided clock signal is output to the outside as MCK.

【0033】<クロック信号MCK=M逓倍クロック
信号> 次に、クロック信号MCKを、基準クロック信号のM逓
倍クロック信号として生成する場合について述べる(即
ち、N分周は行わない)。この場合、CPU12は、ク
ロック発生器15の分周レジスタ28に分周値N=1を
設定すると共に、逓倍レジスタ29には任意の逓倍値M
(但し、M=1ではない)を設定する。この時、各比較
器30〜32の比較結果は、以下のようになる。
<Clock Signal MCK = M-Multiplied Clock Signal> Next, a case where the clock signal MCK is generated as an M-multiplied clock signal of the reference clock signal will be described (that is, N frequency division is not performed). In this case, the CPU 12 sets the frequency division value N = 1 in the frequency division register 28 of the clock generator 15 and sets the arbitrary multiplication value M in the frequency multiplication register 29.
(However, M is not 1) is set. At this time, the comparison results of the comparators 30 to 32 are as follows.

【0034】この場合、分周回路24側では、比較器3
0が一致信号を出力するのでORゲート33の出力信号
レベルがハイとなって、分周回路24は分周動作を停止
する。具体的には、内蔵しているフリップフロップに対
する基準クロック信号の供給を停止する。また、セレク
タ25は、比較器30が不一致信号の出力を停止するの
で、入力ポート“0”側の基準クロック信号を選択して
逓倍回路26に出力する。
In this case, on the side of the frequency dividing circuit 24, the comparator 3
Since 0 outputs a coincidence signal, the output signal level of the OR gate 33 becomes high, and the frequency dividing circuit 24 stops the frequency dividing operation. Specifically, the supply of the reference clock signal to the built-in flip-flop is stopped. Further, since the comparator 30 stops outputting the mismatch signal, the selector 25 selects the reference clock signal on the input port “0” side and outputs it to the frequency multiplier 26.

【0035】そして、逓倍回路26は、入力される基準
クロック信号をM逓倍してセレクタ27に出力し、セレ
クタ27は、そのM逓倍クロック信号をMCKとして外
部に出力する。
The multiplying circuit 26 multiplies the input reference clock signal by M and outputs it to the selector 27. The selector 27 outputs the M multiplied clock signal to the outside as MCK.

【0036】<クロック信号MCK=基準クロック信
号> 次に、基準クロック信号をそのままクロック信号MCK
として生成する場合について述べる(即ち、N分周,M
逓倍は何れも行わない)。この場合、CPU12は、ク
ロック発生器15の分周レジスタ28,逓倍レジスタ2
9に、分周値N=1,逓倍値M=1を設定する。この
時、各比較器30〜32の比較結果は、以下のようにな
る。
<Clock signal MCK = reference clock signal> Next, the reference clock signal is directly used as the clock signal MCK.
(Namely, dividing by N, M
No multiplication is performed). In this case, the CPU 12 operates the frequency divider register 28 and the multiplication register 2 of the clock generator 15.
In 9, a division value N = 1 and a multiplication value M = 1 are set. At this time, the comparison results of the comparators 30 to 32 are as follows.

【0037】従って、分周回路24は、と同様に分周
動作を停止し、セレクタ25は、基準クロック信号を選
択して逓倍回路26に出力する。また、逓倍回路26
は、と同様に逓倍動作を停止し、セレクタ27は、外
部発振部23より与えられる基準クロック信号を選択し
てMCKとして外部に出力する。尚、この場合、比較器
32,31が何れも不一致信号の出力を停止するが、セ
レクタ27は、入力ポート“0′”側の基準クロック信
号を優先的に選択して外部に出力するようになってい
る。
Accordingly, the frequency dividing circuit 24 stops the frequency dividing operation in the same manner as described above, and the selector 25 selects the reference clock signal and outputs it to the frequency multiplying circuit 26. Also, the multiplication circuit 26
Stops the multiplying operation in the same manner as in (1), and the selector 27 selects the reference clock signal provided from the external oscillating unit 23 and outputs it as MCK to the outside. In this case, both the comparators 32 and 31 stop outputting the non-coincidence signal, but the selector 27 preferentially selects the reference clock signal on the input port “0 ′” side and outputs it to the outside. Has become.

【0038】また、この様に、基準クロック信号をその
ままクロック信号MCKとして生成する場合は、分周レ
ジスタ28,逓倍レジスタ29に、分周値N=1,逓倍
値M=1を設定するものに限らず、N=M(=2,3,
4,…)に設定しても良い。この時、各比較器30〜3
2の比較結果は、以下のようになる。
When the reference clock signal is directly generated as the clock signal MCK, the frequency dividing register 28 and the frequency multiplying register 29 are set to the frequency dividing value N = 1 and the frequency multiplying value M = 1. Without limitation, N = M (= 2, 3,
4,...). At this time, each of the comparators 30 to 3
The comparison result of No. 2 is as follows.

【0039】この場合は、比較器31が一致信号を出力
するのでORゲート33,34の出力信号レベルが何れ
もハイとなり、分周回路24は分周動作を停止し、逓倍
回路26は逓倍動作を停止する。また、比較器31が不
一致信号の出力を停止するので、セレクタ27は、外部
発振部23より与えられる基準クロック信号を選択して
MCKとして外部に出力する。
In this case, since the comparator 31 outputs a coincidence signal, the output signal levels of the OR gates 33 and 34 are both high, the frequency dividing circuit 24 stops the frequency dividing operation, and the frequency multiplying circuit 26 performs the frequency multiplying operation. To stop. Further, since the comparator 31 stops outputting the mismatch signal, the selector 27 selects the reference clock signal provided from the external oscillating unit 23 and outputs it as MCK to the outside.

【0040】以上のように本実施例によれば、分周側選
択出力手段35は、分周回路24の動作を必要に応じて
停止させ、その時は、N分周クロック信号に代えて基準
クロック信号を逓倍回路26に出力させ、また、逓倍側
選択出力手段36は、逓倍回路26の動作を必要に応じ
て停止させ、その時は、(M/N)逓倍クロック信号に
代えて分周回路24より出力されるN分周クロック信
号,または、外部発振部23より出力される基準クロッ
ク信号をそのまま外部に出力させるようにした。
As described above, according to the present embodiment, the frequency dividing side selection output means 35 stops the operation of the frequency dividing circuit 24 as necessary, and at that time, the reference clock is used instead of the N frequency-divided clock signal. The signal is output to the multiplying circuit 26, and the multiplying-side selection output means 36 stops the operation of the multiplying circuit 26 as necessary. At that time, the frequency dividing circuit 24 replaces the (M / N) multiplied clock signal. The N-divided clock signal output from the controller or the reference clock signal output from the external oscillating unit 23 is directly output to the outside.

【0041】即ち、逓倍回路26,分周回路24の何れ
か一方を使用するだけで所望の周波数のクロック信号が
得られる場合には、分周回路24,逓倍回路26の動作
を選択的に停止させることができる。また、基準クロッ
ク信号の周波数が所望の周波数である場合には、分周回
路24,逓倍回路26の動作を同時に停止させることが
できる。
That is, when a clock signal of a desired frequency can be obtained only by using one of the multiplying circuit 26 and the dividing circuit 24, the operation of the dividing circuit 24 and the multiplying circuit 26 is selectively stopped. Can be done. When the frequency of the reference clock signal is a desired frequency, the operations of the frequency dividing circuit 24 and the multiplying circuit 26 can be stopped at the same time.

【0042】従って、分周回路24,逓倍回路26によ
る無駄な電力消費を低減することが可能となる。また、
逓倍回路26を、DPLL回路を用いて構成しているの
で、停止状態から逓倍動作を迅速に開始させることがで
きる。そして、逓倍回路26の動作を停止させた場合の
消費電力の低減効果を有効に奏することができる。
Therefore, wasteful power consumption by the frequency dividing circuit 24 and the multiplying circuit 26 can be reduced. Also,
Since the multiplying circuit 26 is configured using the DPLL circuit, the multiplying operation can be started quickly from the stop state. Then, the effect of reducing the power consumption when the operation of the multiplying circuit 26 is stopped can be effectively achieved.

【0043】また、分周側選択出力手段35は、分周レ
ジスタ28に設定された分周値Nが“1”である場合に
分周回路24の動作を停止させ、逓倍側選択出力手段3
6は、逓倍レジスタ29に設定された逓倍値Mが“1”
である場合に逓倍回路26の動作を停止させるので、ユ
ーザは、分周レジスタ28,逓倍レジスタ29に特定値
を設定するだけで分周回路24,逓倍回路26の動作を
停止させることができる。
When the frequency division value N set in the frequency division register 28 is "1", the frequency division side selection output means 35 stops the operation of the frequency division circuit 24, and the multiplication side selection output means 3
6 indicates that the multiplication value M set in the multiplication register 29 is “1”.
In this case, the operation of the frequency multiplying circuit 26 is stopped. Therefore, the user can stop the operations of the frequency dividing circuit 24 and the frequency multiplying circuit 26 only by setting specific values in the frequency dividing register 28 and the frequency multiplying register 29.

【0044】更に、本実施例によれば、選択出力手段3
5,36は、逓倍レジスタ29に設定された逓倍値Mと
分周レジスタ28に設定された分周値Nとが等しい場合
にも、分周回路24及び逓倍回路26の動作を停止させ
ることができる。そして、クロック発生器15を備え
て、マイコン11を構成したので、マイコン11で使用
するクロック信号の設定によっては、マイコン11とし
ての電力消費の低減に効果を奏することができる。
Further, according to the present embodiment, the selection output means 3
5, 36 can stop the operation of the frequency divider 24 and the frequency multiplier 26 even when the frequency M set in the frequency multiplier 29 is equal to the frequency N set in the frequency divider 28. it can. Since the microcomputer 11 includes the clock generator 15, the power consumption of the microcomputer 11 can be reduced depending on the setting of the clock signal used in the microcomputer 11.

【0045】(第2実施例)図3は本発明の第2実施例
を示すものであり、第1実施例と同一部分には同一符号
を付して説明を省略し、以下異なる部分についてのみ説
明する。第2実施例のクロック発生器(クロック信号発
生装置)37は、セレクトレジスタ38を備えている。
セレクトレジスタ38は、分周レジスタ28,逓倍レジ
スタ29に対する分周値N,逓倍値Mの設定とは独立
に、分周回路24,逓倍回路26夫々の動作を停止させ
るか否かの選択設定を直接を行うためのレジスタであ
る。そのセレクトレジスタ38には、分周レジスタ28
や逓倍レジスタ29と同様に、CPU12によりアドレ
スバス21及びデータバス22を介して設定が行われる
ようになっている。
(Second Embodiment) FIG. 3 shows a second embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals, and the description thereof will be omitted. explain. The clock generator (clock signal generator) 37 of the second embodiment includes a select register 38.
The select register 38 is used to select whether or not to stop the operation of each of the frequency dividing circuit 24 and the frequency multiplying circuit 26 independently of the setting of the frequency dividing value N and the frequency multiplying value M for the frequency dividing register 28 and the frequency multiplying register 29. This is a register for performing directly. The select register 38 includes the frequency division register 28
The setting is performed by the CPU 12 via the address bus 21 and the data bus 22 in the same manner as the multiplication register 29.

【0046】セレクトレジスタ38の分周停止設定ビッ
トの出力は、第1実施例のORゲート33に入力端子を
1つ追加したORゲート33Aの該追加入力端子に与え
られていると共に、ANDゲート39の負論理入力端子
にも与えられている。そのANDゲート39の他方の正
論理入力端子には、比較器30の不一致信号が与えられ
ており、ANDゲート39の出力端子は、セレクタ25
に選択切り換え信号として与えられている。
The output of the frequency division stop setting bit of the select register 38 is given to the additional input terminal of the OR gate 33A obtained by adding one input terminal to the OR gate 33 of the first embodiment, and the AND gate 39 Are also supplied to the negative logic input terminal. The other positive logic input terminal of the AND gate 39 is supplied with a mismatch signal of the comparator 30. The output terminal of the AND gate 39 is connected to the selector 25.
Is provided as a selection switching signal.

【0047】一方、セレクトレジスタ38の逓倍停止設
定ビットの出力は、第1実施例のORゲート34に入力
端子を1つ追加したORゲート34Aの該追加入力端子
に与えられていると共に、ANDゲート40の負論理入
力端子にも与えられている。そのANDゲート40の他
方の正論理入力端子には、比較器32の不一致信号が与
えられており、ANDゲート40の出力端子は、セレク
タ27に第1選択切り替え信号として与えられている。
On the other hand, the output of the multiplication stop setting bit of the select register 38 is given to the additional input terminal of the OR gate 34A obtained by adding one input terminal to the OR gate 34 of the first embodiment, and the AND gate 34A It is also provided to 40 negative logic input terminals. The other positive logic input terminal of the AND gate 40 is supplied with the mismatch signal of the comparator 32, and the output terminal of the AND gate 40 is supplied to the selector 27 as a first selection switching signal.

【0048】また、セレクトレジスタ38の分周停止設
定ビットの出力及び逓倍停止設定ビットの出力は、AN
Dゲート41の入力端子に夫々与えられており、そのA
NDゲート41の出力端子は、ANDゲート42の負論
理入力端子を介してセレクタ27に第2選択切り替え信
号として与えられている。そのANDゲート42の他方
の入力端子には、比較器31の不一致信号が与えられて
いる。
The output of the division stop setting bit and the output of the multiplication stop setting bit of the select register
Each of the input terminals of the D gate 41 is
The output terminal of the ND gate 41 is supplied to the selector 27 as a second selection switching signal via the negative logic input terminal of the AND gate 42. The other input terminal of the AND gate 42 is supplied with a mismatch signal of the comparator 31.

【0049】尚、以上の構成において、セレクタ25,
比較器30及び31,ORゲート33A,セレクトレジ
スタ38,ANDゲート39は、分周側選択出力手段4
3を構成している。また、セレクタ27,比較器31及
び32,ORゲート34A,セレクトレジスタ38,A
NDゲート40,NANDゲート41,ANDゲート4
2は、逓倍側選択出力手段44を構成している。
In the above configuration, the selector 25,
The comparators 30 and 31, the OR gate 33A, the select register 38, and the AND gate 39 are connected to the frequency-dividing-side selection output means 4.
3. The selector 27, comparators 31 and 32, OR gate 34A, select register 38, A
ND gate 40, NAND gate 41, AND gate 4
Reference numeral 2 denotes a multiplying-side selection output unit 44.

【0050】次に、第2実施例の作用について説明す
る。第2実施例では、第1実施例と全く同様に、分周値
N,逓倍値Mの設定によって分周回路24,逓倍回路2
6夫々の動作を停止させることができる。また、それに
加えて、CPU12がセレクトレジスタ38の分周停止
設定ビット,逓倍停止設定ビットをセットすることによ
っても、分周回路24,逓倍回路26夫々の動作を停止
させることが可能となっている。
Next, the operation of the second embodiment will be described. In the second embodiment, the frequency dividing circuit 24 and the frequency multiplying circuit 2 are set by setting the frequency dividing value N and the frequency multiplying value M just like the first embodiment.
6 Each operation can be stopped. In addition, the operation of each of the frequency dividing circuit 24 and the frequency multiplying circuit 26 can be stopped by the CPU 12 setting the frequency dividing stop setting bit and the frequency multiplying stop setting bit of the select register 38. .

【0051】即ち、セレクトレジスタ38の分周停止設
定ビットがセットされると、ORゲート33Aの出力信
号レベルがハイとなるので、分周回路24の動作が停止
する。また、ANDゲート39の出力信号はロウレベル
となるので、セレクタ25は、入力ポート“0”側の基
準クロック信号を選択して逓倍回路26に出力する。一
方、セレクトレジスタ38の逓倍停止設定ビットがセッ
トされると、ORゲート34Aの出力信号レベルがハイ
となるので、逓倍回路26の動作が停止する。また、A
NDゲート40の出力信号はロウレベルとなるので、セ
レクタ27は、入力ポート“0”側のN分周クロック信
号を選択しクロック信号MCKとして外部に出力する。
That is, when the frequency division stop setting bit of the select register 38 is set, the output signal level of the OR gate 33A becomes high, and the operation of the frequency division circuit 24 stops. Further, since the output signal of the AND gate 39 becomes low level, the selector 25 selects the reference clock signal on the input port “0” side and outputs it to the multiplication circuit 26. On the other hand, when the multiplication stop setting bit of the select register 38 is set, the output signal level of the OR gate 34A becomes high, so that the operation of the multiplication circuit 26 is stopped. Also, A
Since the output signal of the ND gate 40 is at a low level, the selector 27 selects the N-divided clock signal on the input port “0” side and outputs it as a clock signal MCK to the outside.

【0052】そして、セレクトレジスタ38の分周停止
設定ビット及び逓倍停止設定ビットの双方が同時にセッ
トされると、ANDゲート41の出力信号がハイレベ
ル,ANDゲート42の出力信号がロウレベルとなるの
で、セレクタ27は、入力ポート“0′”側の基準クロ
ック信号を選択しクロック信号MCKとして外部に出力
する。
When both the division stop setting bit and the multiplication stop setting bit of the select register 38 are set at the same time, the output signal of the AND gate 41 goes high and the output signal of the AND gate 42 goes low. The selector 27 selects a reference clock signal on the input port “0 ′” side and outputs it as a clock signal MCK to the outside.

【0053】以上のように第2実施例によれば、クロッ
ク発生器37にセレクトレジスタ38を設けて、CPU
12がセレクトレジスタ38の分周停止設定ビット,逓
倍停止設定ビットを夫々セットすることで、分周回路2
4,逓倍回路26夫々の動作を直接停止させるようにし
た。従って、分周回路24,逓倍回路26の動作を停止
させる場合には、分周値N,逓倍値Mの設定を考慮する
ことなく簡単な設定によって動作を停止させることがで
きる。
As described above, according to the second embodiment, the clock generator 37 is provided with the select register 38 so that the CPU
12 sets the frequency division stop setting bit and the frequency multiplication stop setting bit of the select register 38, respectively, so that the frequency dividing circuit 2
4. The operation of each of the multiplying circuits 26 is directly stopped. Therefore, when the operations of the frequency dividing circuit 24 and the multiplying circuit 26 are stopped, the operations can be stopped by a simple setting without considering the setting of the frequency dividing value N and the multiplying value M.

【0054】本発明は上記し且つ図面に記載した実施例
にのみ限定されるものではなく、次のような変形または
拡張が可能である。第1実施例において、比較器31を
削除しても良い。第1実施例における分周側選択出力手
段35,逓倍側選択出力手段36、または、第2実施例
における分周側選択出力手段43,逓倍側選択出力手段
44の何れか一方のみを設けても良い。第2実施例にお
いて、比較器30〜32を削除しても良い。
The present invention is not limited to the embodiment described above and shown in the drawings, and the following modifications or extensions are possible. In the first embodiment, the comparator 31 may be omitted. Even if only one of the dividing-side selecting and outputting means 35 and the multiplying-side selecting and outputting means 36 in the first embodiment or the dividing-side selecting and outputting means 43 and the multiplying-side selecting and outputting means 44 in the second embodiment is provided. good. In the second embodiment, the comparators 30 to 32 may be deleted.

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

【図1】本発明の第1実施例であり、クロック発生器の
詳細な電気的構成を示す機能ブロック図
FIG. 1 is a functional block diagram showing a detailed electrical configuration of a clock generator according to a first embodiment of the present invention.

【図2】シングルチップマイクロコンピュータの電気的
構成の一例を示す機能ブロック図
FIG. 2 is a functional block diagram illustrating an example of an electrical configuration of a single-chip microcomputer.

【図3】本発明の第2実施例を示す図1相当図FIG. 3 is a view corresponding to FIG. 1, showing a second embodiment of the present invention;

【図4】従来技術を示す図1相当図FIG. 4 is a diagram corresponding to FIG. 1 showing a conventional technique.

【符号の説明】[Explanation of symbols]

11はマイクロコンピュータ、15はクロック発生器
(クロック信号発生装置)、24は分周回路、26は逓
倍回路、28は分周レジスタ(分周値設定手段)、29
は逓倍レジスタ(逓倍値設定手段)、35は分周側選択
出力手段、36は逓倍側選択出力手段、37はクロック
発生器(クロック信号発生装置)、43は分周側選択出
力手段、44は逓倍側選択出力手段を示す。
11 is a microcomputer, 15 is a clock generator (clock signal generator), 24 is a frequency dividing circuit, 26 is a multiplying circuit, 28 is a frequency dividing register (frequency dividing value setting means), 29
Is a multiplication register (multiplier value setting means), 35 is frequency division side selection output means, 36 is multiplication side selection output means, 37 is a clock generator (clock signal generator), 43 is frequency division side selection output means, and 44 is 3 shows a multiplying side selection output means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石原 秀昭 愛知県刈谷市昭和町1丁目1番地 株式会 社デンソー内 Fターム(参考) 5B011 HH02 LL13 5B079 AA07 BA04 BA11 BB04 DD03 DD04 5J039 AC01 AC15 AC18 KK01 KK27 MM04  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Hideaki Ishihara 1-1-1 Showa-cho, Kariya-shi, Aichi F-term in DENSO Corporation (Reference) 5B011 HH02 LL13 5B079 AA07 BA04 BA11 BB04 DD03 DD04 5J039 AC01 AC15 AC18 KK01 KK27 MM04

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 基準クロック信号をN(Nは2以上の自
然数)分周する分周回路と、 この分周回路より出力される分周クロック信号をM(M
は2以上の自然数)逓倍して外部に(M/N)逓倍クロ
ック信号を出力する逓倍回路と、 この逓倍回路の動作を必要に応じて停止させると共に、
前記(M/N)逓倍クロック信号に代えて、前記分周回
路より出力される分周クロック信号をそのまま外部に出
力可能に構成される逓倍側選択出力手段とを備えたこと
を特徴とするクロック信号発生装置。
1. A frequency dividing circuit for dividing a reference clock signal by N (N is a natural number of 2 or more), and a frequency dividing clock signal output from the frequency dividing circuit to M (M
Is a natural number of 2 or more) and outputs a (M / N) multiplied clock signal to the outside. The operation of the multiplying circuit is stopped if necessary.
A multiplying-side selection output unit configured to output the frequency-divided clock signal output from the frequency-dividing circuit as it is in place of the (M / N) frequency-multiplied clock signal. Signal generator.
【請求項2】 基準クロック信号をN(Nは2以上の自
然数)分周する分周回路と、 この分周回路より出力される分周クロック信号をM(M
は2以上の自然数)逓倍して外部に(M/N)逓倍クロ
ック信号を出力する逓倍回路と、 前記分周回路の動作を必要に応じて停止させると共に、
前記分周クロック信号に代えて、前記基準クロック信号
をそのまま前記逓倍回路に出力可能に構成される分周側
選択出力手段とを備えたことを特徴とするクロック信号
発生装置。
2. A frequency dividing circuit for dividing a reference clock signal by N (N is a natural number of 2 or more), and a frequency dividing clock signal output from the frequency dividing circuit by M (M
Is a natural number of 2 or more) and outputs a (M / N) multiplied clock signal to the outside, and stops the operation of the frequency dividing circuit as necessary.
A clock signal generation device comprising: a frequency-divider-side selection output unit configured to directly output the reference clock signal to the multiplying circuit instead of the frequency-divided clock signal.
【請求項3】 前記分周回路の動作を必要に応じて停止
させると共に、前記分周クロック信号に代えて、前記基
準クロック信号をそのまま前記逓倍回路に出力可能に構
成される分周側選択出力手段とを備えたことを特徴とす
る請求項1記載のクロック信号発生装置。
3. A frequency-divider-side selection output configured to stop the operation of the frequency-divider circuit as necessary and output the reference clock signal to the frequency multiplier circuit as it is in place of the frequency-divided clock signal. 2. The clock signal generator according to claim 1, further comprising:
【請求項4】 前記逓倍回路に前記分周クロック信号の
逓倍値を設定するための逓倍値設定手段を備え、 前記逓倍側選択出力手段は、逓倍値設定手段に設定され
た逓倍値が“1”である場合に、前記逓倍回路の動作を
停止させることを特徴とする請求項1または3記載のク
ロック信号発生装置。
4. The multiplying circuit further comprises multiplying value setting means for setting a multiplying value of the frequency-divided clock signal, and the multiplying side selection output means sets the multiplying value set in the multiplying value setting means to “1”. 4. The clock signal generating device according to claim 1, wherein the operation of the multiplying circuit is stopped when "."
【請求項5】 前記分周回路に前記分周クロック信号の
分周値を設定するための分周値設定手段を備え、 前記分周側選択出力手段は、分周値設定手段に設定され
た分周値が“1”である場合に、前記分周回路の動作を
停止させることを特徴とする請求項2記載のクロック信
号発生装置。
5. The frequency dividing circuit further comprises frequency dividing value setting means for setting a frequency dividing value of the frequency dividing clock signal, wherein the frequency dividing side selection output means is set to frequency dividing value setting means. 3. The clock signal generation device according to claim 2, wherein when the frequency division value is "1", the operation of the frequency division circuit is stopped.
【請求項6】 前記逓倍回路に前記分周クロック信号の
逓倍値を設定するための逓倍値設定手段と、 前記分周回路に前記分周クロック信号の分周値を設定す
るための分周値設定手段とを備え、 前記選択出力手段は、逓倍値設定手段に設定された逓倍
値と、前記分周値設定手段に設定された分周値とが等し
い場合に、前記逓倍回路及び/又は前記分周回路の動作
を停止させることを特徴とする請求項3記載のクロック
信号発生装置。
6. A multiplication value setting means for setting a multiplication value of the divided clock signal in the multiplication circuit, and a division value for setting a division value of the divided clock signal in the frequency dividing circuit. Setting means, wherein the selection output means, when the multiplied value set in the multiplied value setting means is equal to the divided value set in the divided value setting means, the multiplying circuit and / or 4. The clock signal generator according to claim 3, wherein the operation of the frequency dividing circuit is stopped.
【請求項7】 前記逓倍回路は、DPLL回路を用いて
構成されていることを特徴とする請求項1,3,4また
は6の何れかに記載のクロック信号発生装置。
7. The clock signal generator according to claim 1, wherein the multiplying circuit is configured using a DPLL circuit.
【請求項8】 請求項1乃至7の何れかに記載のクロッ
ク信号発生装置を備えて構成されることを特徴とするマ
イクロコンピュータ。
8. A microcomputer comprising the clock signal generator according to claim 1. Description:
JP2000225585A 2000-07-26 2000-07-26 Clock signal generator and microcomputer Expired - Fee Related JP3654153B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000225585A JP3654153B2 (en) 2000-07-26 2000-07-26 Clock signal generator and microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000225585A JP3654153B2 (en) 2000-07-26 2000-07-26 Clock signal generator and microcomputer

Publications (2)

Publication Number Publication Date
JP2002043930A true JP2002043930A (en) 2002-02-08
JP3654153B2 JP3654153B2 (en) 2005-06-02

Family

ID=18719330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000225585A Expired - Fee Related JP3654153B2 (en) 2000-07-26 2000-07-26 Clock signal generator and microcomputer

Country Status (1)

Country Link
JP (1) JP3654153B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003533084A (en) * 2000-05-01 2003-11-05 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Power adaptive frequency divider
US7342429B2 (en) 2003-09-11 2008-03-11 International Business Machines Corporation Programmable low-power high-frequency divider
US7545191B2 (en) 2003-09-11 2009-06-09 International Business Machines Corporation Method for dividing a high-frequency signal
CN112187121A (en) * 2019-07-01 2021-01-05 美蓓亚三美株式会社 Motor drive control device and motor drive control method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003533084A (en) * 2000-05-01 2003-11-05 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Power adaptive frequency divider
US7342429B2 (en) 2003-09-11 2008-03-11 International Business Machines Corporation Programmable low-power high-frequency divider
US7378890B2 (en) 2003-09-11 2008-05-27 International Business Machines Corporation Programmable low-power high-frequency divider
US7545191B2 (en) 2003-09-11 2009-06-09 International Business Machines Corporation Method for dividing a high-frequency signal
CN112187121A (en) * 2019-07-01 2021-01-05 美蓓亚三美株式会社 Motor drive control device and motor drive control method
JP2021010235A (en) * 2019-07-01 2021-01-28 ミネベアミツミ株式会社 Motor drive control device and motor drive control method
JP7324625B2 (en) 2019-07-01 2023-08-10 ミネベアミツミ株式会社 Motor drive control device and motor drive control method
CN112187121B (en) * 2019-07-01 2025-03-04 美蓓亚三美株式会社 Motor drive control device and motor drive control method

Also Published As

Publication number Publication date
JP3654153B2 (en) 2005-06-02

Similar Documents

Publication Publication Date Title
JP4206151B2 (en) Clock generation method and system
JP3995142B2 (en) Semiconductor integrated circuit
JP5184680B2 (en) Frequency divider circuit, PLL circuit including the same, and semiconductor integrated circuit
CN110018712B (en) Semiconductor device and semiconductor system
JP2001014056A (en) Semiconductor integrated circuit and spread spectrum clock oscillator
CN101217277A (en) Non-integer frequency divider and phase-locked loop capable of generating non-integer clock signal
US20100295582A1 (en) Clock circuit for digital circuit
US6845462B2 (en) Computer containing clock source using a PLL synthesizer
US7293185B2 (en) Clock control circuit and clock control method that switchingly supplies a high-speed clock and a low-speed clock
JP3654153B2 (en) Clock signal generator and microcomputer
JPH09312567A (en) Control circuit for pll frequency synthesizer
JP2006191372A (en) Dual loop PLL and multiplying clock generator
US5969548A (en) Frequency divider with low power consumption
JPH10143272A (en) Oscillation circuit
JPH0830351A (en) Microprocessor
JP2002202829A (en) Microcomputer
US7106110B2 (en) Clock dithering system and method during frequency scaling
JP2000137699A (en) Microcomputer
JPS6356565B2 (en)
JPH11143574A (en) Clock generation circuit and clock generation method
JPH05303444A (en) Clock signal feeder
JP3602115B2 (en) Semiconductor integrated circuit device
CN100381968C (en) System clock pulse switching device and method for switching frequency thereof
JP2005191684A (en) Clock generating apparatus
JP4032927B2 (en) Initialization circuit for large-scale integrated circuits

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050221

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110311

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130311

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140311

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees