JP2000101347A - Oscillation control circuit - Google Patents

Oscillation control circuit

Info

Publication number
JP2000101347A
JP2000101347A JP10270676A JP27067698A JP2000101347A JP 2000101347 A JP2000101347 A JP 2000101347A JP 10270676 A JP10270676 A JP 10270676A JP 27067698 A JP27067698 A JP 27067698A JP 2000101347 A JP2000101347 A JP 2000101347A
Authority
JP
Japan
Prior art keywords
oscillation
circuit
clock
oscillation circuit
signal
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
JP10270676A
Other languages
Japanese (ja)
Other versions
JP2954199B1 (en
Inventor
Naoe Fukuyama
直絵 福山
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP10270676A priority Critical patent/JP2954199B1/en
Application granted granted Critical
Publication of JP2954199B1 publication Critical patent/JP2954199B1/en
Publication of JP2000101347A publication Critical patent/JP2000101347A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an oscillation control circuit, where the waiting time for stable oscillation of an oscillation circuit is shortened when a standby mode is released in a microcomputer having oscillation circuits with different oscillation frequencies, in which these circuits are used by switching. SOLUTION: This oscillation control circuit is provided with an oscillation circuit 1 that generates a clock in the usual operating mode, an oscillation circuit 2 that generates a clock in the standby mode, a selector 4 that selects a clock signal CLK1 or CLK2 and outputs the selected clock signal, a clock control circuit 3 that controls the selection of the selector 4 to control operation start/stop of the oscillation circuit 1, an edge detection circuit 5 that detects the edge of the clock signal CLK2 generated by the oscillation circuit 2 just after oscillation of the oscillation circuit 1 is restarted, a transfer gate 6, and a capacitor 7. The trailing edge of the clock signal CLK2, given to the oscillation circuit 1 just after the oscillation of the oscillation circuit 1, is restarted gives an opportunity for oscillation through the action of capacitive coupling in an oscillation transient state of the oscillation circuit 1 so as to give on opportunity to promote growth of oscillation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、発振制御回路に関
し、特に互いに異なる発振周波数の複数の発振回路を備
えたマイクロコンピュータにおいて、発振回路切替時の
発振安定待ち時間を短縮する発振制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an oscillation control circuit, and more particularly to an oscillation control circuit for a microcomputer provided with a plurality of oscillation circuits having different oscillation frequencies to reduce the oscillation stabilization wait time when switching between oscillation circuits.

【0002】[0002]

【従来の技術】省電力モード(スタンバイモード)を有
するマイクロコンピュータにおいて、周波数の異なる発
振回路を2つ備え、スタンバイモード時に、通常動作時
よりも周波数の低い発振回路からのクロック信号に切り
替えてCPU等に供給し、スタンバイモード解除後は、
通常動作用の発振回路からクロックで駆動するようにし
た発振制御が知られている。この場合、スタンバイモー
ド解除時、通常動作用の周波数の発振回路が発振開始後
安定に発振するまでの時間、CPUには、通常動作用の
周波数のクロックを供給することはできない。
2. Description of the Related Art A microcomputer having a power saving mode (standby mode) is provided with two oscillating circuits having different frequencies, and switches to a clock signal from an oscillating circuit having a lower frequency than in a normal operation in a standby mode. After the standby mode is released,
2. Description of the Related Art There is known an oscillation control that is driven by a clock from an oscillation circuit for normal operation. In this case, when the standby mode is released, the clock of the normal operation frequency cannot be supplied to the CPU until the oscillation circuit of the normal operation frequency stably oscillates after the start of the oscillation.

【0003】発振を開始してから安定発振するまでの発
振安定待ち時間を短縮するための発振回路としては、発
振回路のインバータのゲインを大きくすることによっ
て、発振成長を早め、発振待ち時間の短縮を図るという
手法が、従来より、一般的に用いられている。
As an oscillation circuit for shortening the oscillation stabilization wait time from the start of oscillation to stable oscillation, increasing the gain of the inverter of the oscillation circuit accelerates oscillation growth and shortens the oscillation wait time. Conventionally, a method of achieving the above has been generally used.

【0004】しかしながら、インバータのゲインを大き
くすると、消費電力が増大するという問題点を有してい
る。
However, there is a problem that increasing the gain of the inverter increases power consumption.

【0005】[0005]

【発明が解決しようとする課題】この問題点を解決する
ために、例えば特開平9−93040号公報には、水晶
発振回路に対して補助的に設けられている自励発振回路
から生成されるクロックを供給して発振を加速し、発振
安定待ち時間を、短縮する発振制御回路が提案されてい
る。
In order to solve this problem, for example, Japanese Unexamined Patent Application Publication No. 9-93040 discloses that a self-excited oscillation circuit is provided as an auxiliary to a crystal oscillation circuit. There has been proposed an oscillation control circuit that supplies a clock to accelerate oscillation and shorten the oscillation stabilization wait time.

【0006】図5に示すように、水晶発振回路52に
は、その発振開始時から水晶発振子64の平均発振安定
時間がカウントされるまでの間、自励発振回路53から
生成されたクロックが供給され続け、水晶発振回路52
の発振を促進する。
As shown in FIG. 5, a clock generated from the self-excited oscillation circuit 53 is applied to the crystal oscillation circuit 52 from the start of the oscillation until the average oscillation stabilization time of the crystal oscillator 64 is counted. The crystal oscillation circuit 52 continues to be supplied.
Promotes oscillation.

【0007】しかし、異なる周波数の発振回路を有する
回路に適用しようとした場合、発振開始時に、補助的な
発振回路から連続したクロックを供給することは、必ず
しも発振回路の発振を促進することにはならない。
However, when applying to a circuit having an oscillation circuit of a different frequency, supplying a continuous clock from the auxiliary oscillation circuit at the start of oscillation is not necessarily to promote the oscillation of the oscillation circuit. No.

【0008】例えば、図6の時刻Aのように、高い周波
数の発振回路は、LowからHighへ、低い周波数の
発振回路はHighからLowへと変化する場合は、発
振成長が妨げられるという作用が生ずる。
For example, as shown at time A in FIG. 6, when the oscillation circuit of a high frequency changes from low to high and the oscillation circuit of a low frequency changes from high to low, the effect of preventing the oscillation growth is obtained. Occurs.

【0009】さらに、水晶発振回路52において生成さ
れたクロックをカウントして出力するタイマ(1)55
と、自励発振回路53において生成されたクロックをカ
ウントして出力するタイマ(2)56、および水晶発振
回路52の発振動作が安定したかどうかの判定回路60
が必要とされ、回路規模が大きくなる、という問題点も
ある。
Further, a timer (1) 55 for counting and outputting a clock generated in the crystal oscillation circuit 52.
And a timer (2) 56 for counting and outputting a clock generated in the self-excited oscillation circuit 53, and a determination circuit 60 for determining whether the oscillation operation of the crystal oscillation circuit 52 is stabilized.
However, there is also a problem that the circuit scale becomes large.

【0010】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、異なる発振周波
数の発振回路を備え、これらを切り替えて使用するマイ
クロコンピュータにおいて、簡易な構成により、CPU
のスタンバイモード解除時に発振回路の発振安定待ち時
間を短縮する、発振制御回路を提供することにある。
Therefore, the present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a microcomputer having oscillation circuits of different oscillation frequencies, which can be used by switching between them, with a simple configuration. CPU
An oscillation control circuit for shortening the oscillation stabilization wait time of the oscillation circuit when the standby mode is released.

【0011】[0011]

【課題を解決するための手段】前記目的を達成する本発
明の発振制御回路は、互いに発振周波数の異なる第1、
第2の発振回路を備え、前記第1の発振回路が発振停
止、前記第2の発振回路が発振状態にあるとき、前記第
1の発振回路の発振開始信号を受けて、前記第2の発振
回路からの発振出力の信号の立ち上がり又は立ち下がり
の一方の遷移エッジをコンデンサを介した容量カップリ
ングによって前記第1の発振回路に供給し、過渡状態に
ある前記第1の発振回路に発振のきっかけを与え発振成
長を促進するようにしたものである。
An oscillation control circuit according to the present invention for achieving the above object has first and second oscillation circuits having different oscillation frequencies.
A second oscillating circuit, wherein when the first oscillating circuit stops oscillating and the second oscillating circuit is in an oscillating state, the second oscillating circuit receives the oscillation start signal of the first oscillating circuit, One transition edge of a rising or falling signal of an oscillation output signal from the circuit is supplied to the first oscillation circuit by capacitive coupling via a capacitor, and the first oscillation circuit in a transient state triggers oscillation. To promote oscillation growth.

【0012】また本発明は、互いに発振周波数の異なる
第1、第2の発振回路を備え、前記第1の発振回路が発
振停止、前記第2の発振回路が発振状態にあるとき、前
記第1の発振回路の発振開始信号を受けた際に、前記第
2の発振回路からの発振出力を入力し該発振出力の立ち
上がり又は立ち上がりの一方の遷移エッジタイミングを
アクティブ期間中に含む制御信号を出力するエッジ検出
手段を備え、前記第2の発振回路の出力が、コンデンサ
及び第1のスイッチを介して前記第1の発振回路の入力
端に接続され、前記エッジ検出手段が出力する制御信号
を受けて前記第1のスイッチがオンし、その間、前記第
2の発振回路からの発振出力の立ち上がり又は立ち下が
りの一方のエッジが、前記コンデンサを介した容量カッ
プリングによって前記第1の発振回路に供給され、過渡
状態にある前記第1の発振回路に発振のきっかけを与え
発振成長を促進するように構成してもよい。
Further, the present invention includes first and second oscillation circuits having different oscillation frequencies from each other, wherein the first oscillation circuit stops oscillating and the first oscillation circuit oscillates when the second oscillation circuit is in an oscillation state. Receiving the oscillation start signal of the oscillation circuit, outputs the oscillation output from the second oscillation circuit and outputs a control signal including the rising edge of the oscillation output or one of the rising edge transition timings during the active period. An edge detection means, wherein an output of the second oscillation circuit is connected to an input terminal of the first oscillation circuit via a capacitor and a first switch, and receives a control signal output by the edge detection means The first switch is turned on, and during that time, one of the rising and falling edges of the oscillation output from the second oscillation circuit is caused by capacitive coupling via the capacitor. Serial supplied to the first oscillator circuit may be configured so as to facilitate the oscillation growth gives an opportunity of oscillation in said first oscillation circuit in a transient state.

【0013】[0013]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、周波数の異なる二つの発振回路を備
え、CPUの動作モード(通常動作モードおよび、スタ
ンバイモード)に応じてその二つの発振回路から生成さ
れるクロックを切り替えて使用するマイクロコンピュー
タにおける発振回路の部分に、CPUがスタンバイモー
ドから通常動作モードに復帰し、スタンバイモードの間
停止していた比較的高周波数の発振回路が発振を再開す
る際に、その発振成長を促進するための回路を備えたも
のである。
Embodiments of the present invention will be described. The present invention provides an oscillation circuit in a microcomputer including two oscillation circuits having different frequencies and switching between clocks generated from the two oscillation circuits in accordance with an operation mode (normal operation mode and standby mode) of a CPU. A circuit for promoting the oscillation growth when the CPU returns from the standby mode to the normal operation mode and the relatively high-frequency oscillation circuit stopped during the standby mode resumes the oscillation. It is a thing.

【0014】本発明は、その好ましい実施の形態におい
て、図1を参照すると、通常動作モード時の第1のクロ
ック(CLK1)を生成し、スタンバイモード時に発振
を停止し、スタンバイモードを解除し通常動作モード復
帰時に発振を再開する第1の発振回路(1)と、スタン
バイモード時に前記第1のクロックよりも周波数の低い
第2のクロック(CLK2)を生成する第2の発振回路
(2)と、前記第1、第2の発振回路(2)からの第
1、第2のクロック信号を、入力した切り替え制御信号
で切り替えてCPU(10)に供給するセレクタ(4)
と、CPU(10)からのスタイバイモード解除通知信
号を受けてセレクタ(4)に切替制御信号を出力すると
ともに第1の発振回路(1)に発振開始を指示する発振
開始信号を出力するクロック制御回路(3)と、第2の
発振回路(2)からの第2のクロックを入力し、CPU
(10)からのスタンバイ解除通知信号を受けた際に、
第2のクロックの立ち上がり又は立ち上がりの一方のエ
ッジを検出して制御信号(S2)を出力するエッジ検出
回路であって、該制御信号(S2)として、オン期間
(アクティブ期間)内に、該第2のクロックの立ち上が
り又は立ち上がりの一方の遷移エッジタイミングが含ま
れるパルス信号を出力するエッジ検出回路(5)と、第
2の発振回路(2)の出力端と第1の発振回路(1)の
入力端との間に直列に接続されたトランスファゲート
(6)とコンデンサ(7)と、を備え、トランスファゲ
ート(6)の制御端子には、エッジ検出回路(5)から
出力される制御信号(S2)が入力され、スタンバイモ
ード解除時、エッジ検出回路(5)から出力される制御
信号を受けオン状態とされた前記トランスファゲート
(6)を介して、第2の発振回路(2)からの第2のク
ロックの立ち上がり又は立ち下がりの一方のエッジが、
コンデンサ(7)を介した容量カップリングによって第
1の発振回路(1)の入力端に供給され、過渡状態にあ
る第1の発振回路(1)に発振のきっかけを与え発振成
長を促進する。
In the preferred embodiment of the present invention, referring to FIG. 1, a first clock (CLK1) in a normal operation mode is generated, oscillation is stopped in a standby mode, and the standby mode is released to release a normal clock. A first oscillation circuit (1) that resumes oscillation when the operation mode returns, and a second oscillation circuit (2) that generates a second clock (CLK2) lower in frequency than the first clock in the standby mode. A selector (4) for switching the first and second clock signals from the first and second oscillation circuits (2) by an input switching control signal and supplying the same to the CPU (10);
And a clock that outputs a switching control signal to the selector (4) in response to the standby mode release notification signal from the CPU (10) and outputs an oscillation start signal instructing the first oscillation circuit (1) to start oscillation. The control circuit (3) and the second clock from the second oscillation circuit (2) are inputted, and the CPU
Upon receiving the standby release notification signal from (10),
An edge detection circuit that detects a rising edge or one edge of a rising edge of a second clock and outputs a control signal (S2), wherein the control signal (S2) is provided in an on-period (active period). An edge detection circuit (5) for outputting a pulse signal including one of the rising edge or the rising edge of the clock of the second clock; the output terminal of the second oscillation circuit (2) and the output terminal of the first oscillation circuit (1); A transfer gate (6) and a capacitor (7) are connected in series between the input terminal and the input terminal, and a control terminal of the transfer gate (6) has a control signal ( S2) is input, and when the standby mode is released, the second transfer gate (6) is turned on by receiving the control signal output from the edge detection circuit (5). One edge of the rise or fall of the second clock from Fukairo (2),
Supplied to the input terminal of the first oscillation circuit (1) by capacitive coupling via the capacitor (7), the first oscillation circuit (1) in a transient state is triggered to oscillate to promote oscillation growth.

【0015】また、本発明は、別の実施の形態において
は、図3を参照すると、クロック制御回路(3)の発振
開始信号出力端と第1の発振回路(1)の入力端との間
に直列に接続された、遅延回路(12)、トランスファ
ゲート(6)、コンデンサ(7)を備え、トランスファ
ゲート(6)の制御端子には、エッジ検出回路(5)か
ら出力されるパルス信号が入力され、スタンバイモード
解除時、エッジ検出回路(5)から出力されるパルス信
号を受けてオン状態とされたトランスファゲート(6)
を介してクロック制御回路(3)から発振開始信号(S
1)を遅延回路(12)で遅延させた立ち上がり又は立
ち下がりの一方のエッジが、コンデンサ(7)を介した
容量カップリングによって第1の発振回路(1)に供給
され、過渡状態にある第1の発振回路(1)に発振のき
っかけを与え発振成長を促進する。
According to another embodiment of the present invention, referring to FIG. 3, a circuit between an oscillation start signal output terminal of a clock control circuit (3) and an input terminal of a first oscillation circuit (1) is provided. A delay circuit (12), a transfer gate (6), and a capacitor (7) connected in series to the control gate of the transfer gate (6). A pulse signal output from the edge detection circuit (5) is supplied to a control terminal of the transfer gate (6). The transfer gate (6) which is inputted and turned on in response to a pulse signal output from the edge detection circuit (5) when the standby mode is released.
From the clock control circuit (3) via the oscillation start signal (S
One of the rising edge and the falling edge obtained by delaying 1) by the delay circuit (12) is supplied to the first oscillation circuit (1) by capacitive coupling via the capacitor (7), and the first oscillation circuit is in a transient state. The first oscillation circuit (1) is stimulated to oscillate to promote oscillation growth.

【0016】図1を参照すると、CPU(10)が通常
動作モードにあるとき、CPU(10)に供給するクロ
ック信号CLK1を生成する比較的高周波数の発振回路
(1)と、CPU(10)がスタンバイモードの時に周
辺回路へ供給するクロック信号CLK2を生成する比較
的低周波数の発振回路(2)と、クロック信号CLK1
とクロック信号CLK2の切り替えを制御するととも
に、発振回路(1)の動作開始/停止を制御するクロッ
ク制御回路(3)と、クロック信号CLK1とクロック
信号CLK2を入力しクロック制御回路(3)からの切
り替え制御信号により一方を選択してクロックCLKと
してCPUに出力するセレクタ(4)と、を備えた構成
に、さらに、発振回路(1)の発振再開時に、発振回路
(2)で生成されたクロック信号CLK2の立ち下がり
エッジまたは立ち上がりエッジの一方を検出するエッジ
検出回路(5)と、トランスファゲート(6)と、コン
デンサ(7)と、を備えたものである。発振回路(1)
の発振再開直後に発振回路(1)に与えられた、クロッ
ク信号CLK2の立ち下がりエッジ(もしくは立ち上が
りエッジ)は、発振回路(1)の発振過渡状態におい
て、容量カップリングの作用によって、発振のきっかけ
を与え、発振成長を促進する。このためCPUのスタン
バイモードから通常動作モードに切り替わる際の発振回
路(1)の発振安定待ち時間を短縮し、マイクロコンピ
ュータの動作開始を早めることができる。以下実施例に
即して説明する。
Referring to FIG. 1, when the CPU (10) is in the normal operation mode, a relatively high-frequency oscillation circuit (1) for generating a clock signal CLK1 to be supplied to the CPU (10); A relatively low frequency oscillation circuit (2) for generating a clock signal CLK2 to be supplied to peripheral circuits when the device is in a standby mode;
And a clock control circuit (3) for controlling the switching of the clock signal CLK2 and controlling the start / stop of the operation of the oscillation circuit (1), and a clock control circuit (3) which receives the clock signal CLK1 and the clock signal CLK2 and receives the clock signal CLK1 and the clock signal CLK2. And a selector (4) for selecting one of them according to the switching control signal and outputting the selected clock to the CPU as a clock CLK, and further comprising a clock generated by the oscillation circuit (2) when the oscillation of the oscillation circuit (1) is restarted. An edge detection circuit (5) for detecting one of a falling edge and a rising edge of the signal CLK2, a transfer gate (6), and a capacitor (7) are provided. Oscillation circuit (1)
The falling edge (or the rising edge) of the clock signal CLK2 applied to the oscillation circuit (1) immediately after the oscillation restarts due to the action of the capacitive coupling in the oscillation transient state of the oscillation circuit (1). To promote oscillation growth. Therefore, the oscillation stabilization wait time of the oscillation circuit (1) when the CPU switches from the standby mode to the normal operation mode can be reduced, and the operation of the microcomputer can be started earlier. Hereinafter, description will be made in accordance with embodiments.

【0017】[0017]

【実施例】図1は、本発明の一実施例をなす発振制御回
路の構成を示すブロック図である。図1を参照すると、
CPUに対するクロック信号CLK1を生成する発振回
路1と、CPUスタンバイ時に周辺回路へ供給するクロ
ック信号CLK2を生成する発振回路2と、クロック信
号CLK1とクロック信号CLK2の切り替えおよび発
振回路1の動作開始/停止を制御するクロック制御回路
3と、クロックのセレクタ4と、発振回路1の発振開始
時に、発振回路2で生成されたクロック信号CLK2の
立ち下がりエッジ(もしくは立ち上がりエッジ)を検出
するエッジ検出回路5と、発振回路1のX1端子と、発
振回路2の出力端の間に直列に挿入されたNチャネルト
ランスファゲート6及びコンデンサ7と、を備えて構成
される。
FIG. 1 is a block diagram showing a configuration of an oscillation control circuit according to an embodiment of the present invention. Referring to FIG.
An oscillating circuit 1 for generating a clock signal CLK1 for the CPU, an oscillating circuit 2 for generating a clock signal CLK2 to be supplied to peripheral circuits during standby of the CPU, switching between the clock signal CLK1 and the clock signal CLK2, and starting / stopping operation of the oscillating circuit 1 A clock control circuit 3 for controlling the clock signal, a clock selector 4, and an edge detection circuit 5 for detecting the falling edge (or rising edge) of the clock signal CLK2 generated by the oscillation circuit 2 when the oscillation circuit 1 starts oscillating. , An X1 terminal of the oscillation circuit 1, and an N-channel transfer gate 6 and a capacitor 7 which are inserted in series between the output terminals of the oscillation circuit 2.

【0018】図4は、図1に示した発振回路1の構成の
一例を示す図である。図4を参照すると、発信回路1
は、水晶振動子8の両端に接続したX1、X2端子間
に、入力と出力がそれぞれ接続され、ストップ信号S1
を、インバータ回路23で反転した信号を出力イネーブ
ル信号として制御端子に入力するトライステート型のイ
ンバータ回路21と、X1、X2端子間に直列に接続さ
れた、帰還抵抗22とNチャネルトランスファゲート2
4と、トライステート型のインバータ回路21の出力の
電源VDDへの接続をオン・オフ制御するNチャネルト
ランスファゲート25と、トライステート型のインバー
タ回路21の出力を入力して反転出力しクロック信号C
LK1として出力する、波形整形用のインバータ回路2
6と、を備え、Nチャネルトランスファゲート24のゲ
ートにはストップ信号S1をインバータ回路23で反転
した信号が入力され、Nチャネルトランスファゲート2
5のゲートにはスイッチ信号S1が入力されている。
FIG. 4 is a diagram showing an example of the configuration of the oscillation circuit 1 shown in FIG. Referring to FIG. 4, the transmission circuit 1
The input and the output are respectively connected between X1 and X2 terminals connected to both ends of the crystal unit 8, and the stop signal S1
A tri-state type inverter circuit 21 for inputting a signal obtained by inverting the output signal from the inverter circuit 23 as an output enable signal to a control terminal, a feedback resistor 22 and an N-channel transfer gate 2 connected in series between terminals X1 and X2.
4, an N-channel transfer gate 25 for controlling on / off connection of the output of the tri-state type inverter circuit 21 to the power supply VDD, and the clock signal C
Inverter circuit 2 for waveform shaping output as LK1
6, a signal obtained by inverting the stop signal S1 by the inverter circuit 23 is input to the gate of the N-channel transfer gate 24.
The switch signal S1 is input to the gate of No. 5.

【0019】ストップ信号S1がLowレベルの時、N
チャネルトランスファゲート25はオフ状態とされ、ス
トップ信号S1の反転信号をゲートに入力する、Nチャ
ネルトランスファゲート24はオン状態とされ、ストッ
プ信号S1の反転信号を制御端子に入力する、トライス
テート型インバータ回路21は出力イネーブル状態とさ
れ、水晶発振子8の端子間に並列接続されたインバータ
回路21、帰還抵抗22が接続された構成とされ、発振
動作を行ない、インバータ回路21からの発振出力をイ
ンバータ回路26で反転した信号がCLK1として出力
される。
When the stop signal S1 is at a low level, N
A tri-state inverter in which the channel transfer gate 25 is turned off and an inverted signal of the stop signal S1 is input to the gate, and the N-channel transfer gate 24 is turned on and an inverted signal of the stop signal S1 is input to the control terminal. The circuit 21 is in an output enable state, and has a configuration in which an inverter circuit 21 and a feedback resistor 22 are connected in parallel between the terminals of the crystal oscillator 8 to perform an oscillating operation. The signal inverted by the circuit 26 is output as CLK1.

【0020】一方、ストップ信号S1がHighレベル
の時、Nチャネルトランスファゲート25はオン状態と
され、ストップ信号S1の反転信号をゲートに入力す
る、Nチャネルトランスファゲート24はオフ状態、ス
トップ信号S1の反転信号を制御端子に入力する、トラ
イステート型インバータ回路21の出力はハイインピー
ダンス状態となり、インバータ回路26の入力には固定
電位である電源電圧(Highレベル)が入力され、イ
ンバータ26を介して出力されるCLK1はLowレベ
ルに固定される。
On the other hand, when the stop signal S1 is at the high level, the N-channel transfer gate 25 is turned on, an inverted signal of the stop signal S1 is input to the gate, the N-channel transfer gate 24 is turned off, and the stop signal S1 is turned off. The output of the tri-state type inverter circuit 21 for inputting the inverted signal to the control terminal is in a high impedance state, the power supply voltage (High level) which is a fixed potential is input to the input of the inverter circuit 26, and output via the inverter 26. CLK1 is fixed at the low level.

【0021】図1におけるクロック制御回路3は、CP
U10のスタンバイモードを解除する割込み信号を受け
て、クロック信号CLK2の立ち上がりに同期してスト
ップ信号S1の論理レベルを変化させる回路と、クロッ
ク信号CLK1とクロック信号CLK2を切り替える切
替信号S3を生成する回路と、を含む。このクロック制
御回路3については、公知の回路構成を用いて構成する
ことができるため、その詳細な構成は省略する。
The clock control circuit 3 in FIG.
A circuit that changes the logic level of the stop signal S1 in synchronization with the rise of the clock signal CLK2 in response to an interrupt signal for releasing the standby mode of U10, and a circuit that generates the switching signal S3 that switches between the clock signal CLK1 and the clock signal CLK2. And Since the clock control circuit 3 can be configured using a known circuit configuration, a detailed configuration thereof is omitted.

【0022】また、エッジ検出回路5は、CPUスタン
バイモードを解除する割り込み信号を受け、クロック信
号CLK2がHighレベルの間に立ちあがり、CLK
2の立ち下がりでLowレベルとなる信号S2を出力す
る。
The edge detecting circuit 5 receives an interrupt signal for releasing the CPU standby mode, rises while the clock signal CLK2 is at the high level, and
A signal S2 which becomes a low level at the fall of the signal 2 is output.

【0023】また、図2は,本発明の一実施例におい
て、CPU10がスタンバイ状態から復帰して、発振回
路1が発振を開始する時の動作を示すタイミング図であ
る。
FIG. 2 is a timing chart showing an operation when the oscillation circuit 1 starts oscillating after the CPU 10 returns from the standby state in one embodiment of the present invention.

【0024】図1および、図2を参照して、本発明の一
実施例の動作について説明する。CPU10がスタンバ
イモード(CPU110は停止し、周辺回路11のみ動
作している状態)にあるとき、発振回路1の動作開始/
停止を制御するストップ信号S1はHighレベルであ
り、発振回路1は発振を停止しており、周辺回路11は
相対的に低い周波数の発振回路2から生成されるクロッ
ク信号CLK2によって動作している。
The operation of one embodiment of the present invention will be described with reference to FIGS. When the CPU 10 is in a standby mode (a state in which the CPU 110 is stopped and only the peripheral circuit 11 is operating), the operation of the oscillation circuit 1 is started /
The stop signal S1 for controlling the stop is at the high level, the oscillation circuit 1 stops the oscillation, and the peripheral circuit 11 operates by the clock signal CLK2 generated from the oscillation circuit 2 having a relatively low frequency.

【0025】割り込みによってスタンバイモードが解除
され、ストップ信号S1がLowレベルとなると、相対
的に高い周波数の発振回路1が発振を再開する(時刻T
0)。ストップ信号S1がHighレベルからLowレ
ベルへ変化すると同時に、スタンバイモードを解除する
割り込みを受けたエッジ検出回路5は、クロック信号C
LK2がHighレベルの期間に、イネーブル信号S2
をLowレベルからHighレベルに変化させ(時刻T
1)、クロック信号CLK2の立ち下がりを受けて再び
Lowレベルを出力する(時刻T2)。
When the standby mode is released by an interrupt and the stop signal S1 goes low, the oscillation circuit 1 having a relatively high frequency resumes oscillation (at time T).
0). At the same time when the stop signal S1 changes from the High level to the Low level, the edge detection circuit 5 that has received the interrupt for canceling the standby mode outputs the clock signal C1.
While LK2 is at the High level, the enable signal S2
Is changed from the Low level to the High level (at time T
1) In response to the fall of the clock signal CLK2, a low level is output again (time T2).

【0026】トランスファゲート6は、このイネーブル
信号S2がHighレベルの期間にオンとなり、クロッ
ク信号CLK2を、発振回路1のX1端子へ伝達する。
The transfer gate 6 is turned on while the enable signal S2 is at the high level, and transmits the clock signal CLK2 to the X1 terminal of the oscillation circuit 1.

【0027】すなわち、クロック信号CLK2の立ち下
がりエッジのみが、発振回路1へと伝わり(図2の矢印
参照)、コンデンサ7による容量カップリングの作用に
よって、発振回路1の過渡状態において、発振のきっか
けを与え、その発振成長を促進する。
That is, only the falling edge of the clock signal CLK2 is transmitted to the oscillation circuit 1 (see the arrow in FIG. 2), and the action of capacitive coupling by the capacitor 7 triggers oscillation in the transient state of the oscillation circuit 1. To promote its oscillation growth.

【0028】この結果、発振回路1の発振安定待ち時間
は、従来のTaから、本発明の一実施例では、Tbに短
縮される。
As a result, the oscillation stabilization wait time of the oscillation circuit 1 is reduced from Ta in the related art to Tb in one embodiment of the present invention.

【0029】なお、補助的に用いられる発振回路2から
生成されるクロック信号CLK2のエッジを、発振回路
1のX1端子に伝達する場合について接続したが、発振
回路1のX2端子に対して伝達しても、同様の効果が得
られることは勿論である。
Although the case where the edge of the clock signal CLK2 generated from the auxiliary oscillation circuit 2 is transmitted to the X1 terminal of the oscillation circuit 1 is connected, the edge is transmitted to the X2 terminal of the oscillation circuit 1. Of course, the same effect can be obtained.

【0030】発振回路1が発振安定した後(すなわちT
b後)、クロック制御回路3は、選択制御信号S3をH
ighレベルからLowレベルとし、セレクタ4はクロ
ック信号を切り替え、CPUには高周波数のクロック信
号CLK1が供給される。
After oscillation of the oscillation circuit 1 is stabilized (that is, T
b), the clock control circuit 3 sets the selection control signal S3 to H
The selector 4 switches the clock signal from the high level to the low level, and the CPU is supplied with the high-frequency clock signal CLK1.

【0031】図3は、本発明の第2の実施例の構成を示
す図である。本発明の第2の実施例は、スタンバイモー
ド時に使用するクロックCLK2の立ち下がりエッジを
発振回路1のX端子に伝達する代わりに、クロック制御
回路3から出力されるストップ信号S1の立ち下がりエ
ッジを、ディレイ回路12で遅延させ、発振回路1に伝
達するものである。すなわち、クロック制御回路3から
出力されるストップ信号S1を遅延させるディレイ回路
12と、発振回路1のX端子との間にトランスファゲー
ト6とコンデンサ7とが直列に挿入されており、トラン
スファゲート6の制御端子にはエッジ検出回路5からの
イネーブル信号S2が入力される。
FIG. 3 is a diagram showing the configuration of the second embodiment of the present invention. According to the second embodiment of the present invention, instead of transmitting the falling edge of the clock CLK2 used in the standby mode to the X terminal of the oscillation circuit 1, the falling edge of the stop signal S1 output from the clock control circuit 3 is used. , And is transmitted to the oscillation circuit 1 by the delay circuit 12. That is, the transfer gate 6 and the capacitor 7 are inserted in series between the delay circuit 12 for delaying the stop signal S1 output from the clock control circuit 3 and the X terminal of the oscillation circuit 1, and the transfer gate 6 The enable signal S2 from the edge detection circuit 5 is input to the control terminal.

【0032】エッジ検出回路5は、CPUスタンバイモ
ードを解除する割り込み信号を受け、クロック信号CL
K2がHighレベルの間に立ちあがり、CLK2の立
ち下がりでLowレベルとなる信号S2を出力し、信号
S2がHighレベルの期間、トランスファゲート6は
オンし、この期間にストップ信号S1をディレイ回路1
2で遅延させた立ち下がりエッジのみが、発振回路1へ
と伝わり、コンデンサ7による容量カップリングの作用
によって、発振回路1の過渡状態において、発振のきっ
かけを与え、その発振成長を促進する。られる。
The edge detecting circuit 5 receives an interrupt signal for releasing the CPU standby mode, and receives a clock signal CL.
K2 rises during the high level, and outputs a signal S2 that goes low at the falling edge of CLK2. The transfer gate 6 is turned on while the signal S2 is at the high level, and the stop signal S1 is supplied to the delay circuit 1 during this period.
Only the falling edge delayed by 2 is transmitted to the oscillating circuit 1, and the action of capacitive coupling by the capacitor 7 triggers oscillation in the transient state of the oscillating circuit 1 to promote its oscillating growth. Can be

【0033】[0033]

【発明の効果】以上説明したように、本発明によれば、
発振周波数の異なる二つの発振回路を備えたマイクロコ
ンピュータにおいて、CPUのスタンバイモード解除時
における発振回路の発振を加速し、発振安定待ち時間を
短縮することができる、という効果を奏する。
As described above, according to the present invention,
In a microcomputer including two oscillation circuits having different oscillation frequencies, the oscillation of the oscillation circuit when the CPU is released from the standby mode can be accelerated, and the oscillation stabilization wait time can be shortened.

【0034】その理由は、本発明においては、スタンバ
イモード解除時、第1の発振回路の発振再開直後に第1
の発振回路に与えられた、第2の発振回路からのクロッ
ク信号の立ち下がりエッジ(もしくは立ち上がりエッ
ジ)が、第1の発振回路の発振過渡状態において、容量
カップリングの作用によって、発振のきっかけを与え、
発振成長を促進するよう構成したためである。
The reason is that, in the present invention, when the standby mode is released, the first oscillation circuit immediately starts oscillating again.
The falling edge (or the rising edge) of the clock signal from the second oscillation circuit given to the oscillation circuit of (1) is triggered by the action of the capacitive coupling in the oscillation transition state of the first oscillation circuit. Give
This is because the oscillation growth is configured to be promoted.

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

【図1】本発明の第一の実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention.

【図2】本発明の第一の実施例の動作を説明するための
タイミング図である。
FIG. 2 is a timing chart for explaining the operation of the first embodiment of the present invention.

【図3】本発明の第2の実施例の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図4】本発明の実施例における発振回路1の構成の一
例を示す図である。
FIG. 4 is a diagram illustrating an example of a configuration of an oscillation circuit 1 according to an embodiment of the present invention.

【図5】従来の発振制御回路の構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing a configuration of a conventional oscillation control circuit.

【図6】従来の発振制御回路の問題点を説明するための
タイミング図である。
FIG. 6 is a timing chart for explaining a problem of the conventional oscillation control circuit.

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

1、2 発振回路 3 クロック制御回路 4 セレクタ 5 エッジ検出回路 6 トランスファゲート 7 コンデンサ 8、9、64 水晶振動子 10 CPU 11 周辺回路 12 遅延回路 21 トライステートインバータ 22 帰還抵抗 23 インバータ 24、25 トランスファゲート 26 インバータ 51、58 SRフリップフロップ 52 水晶発振回路 53 自励発振回路 54 リセット回路 55、56 タイマ 57、59 AND型論理ゲート 60 判定回路 62 クロック切替回路 63 トライステートバッファ DESCRIPTION OF SYMBOLS 1, 2 Oscillation circuit 3 Clock control circuit 4 Selector 5 Edge detection circuit 6 Transfer gate 7 Capacitor 8, 9, 64 Crystal oscillator 10 CPU 11 Peripheral circuit 12 Delay circuit 21 Tristate inverter 22 Feedback resistor 23 Inverter 24, 25 Transfer gate 26 Inverter 51, 58 SR flip-flop 52 Crystal oscillation circuit 53 Self-excited oscillation circuit 54 Reset circuit 55, 56 Timer 57, 59 AND-type logic gate 60 Judgment circuit 62 Clock switching circuit 63 Tristate buffer

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成10年10月26日(1998.10.
26)
[Submission date] October 26, 1998 (1998.10.
26)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項3[Correction target item name] Claim 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項4[Correction target item name] Claim 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0012】また本発明は、互いに発振周波数の異なる
第1、第2の発振回路を備え、前記第1の発振回路が発
振停止、前記第2の発振回路が発振状態にあるとき、前
記第1の発振回路の発振開始信号を受けた際に、前記第
2の発振回路からの発振出力を入力し該発振出力の立ち
上がり又は立ちがりの一方の遷移エッジタイミングを
アクティブ期間中に含む制御信号を出力するエッジ検出
手段を備え、前記第2の発振回路の出力が、コンデンサ
及び第1のスイッチを介して前記第1の発振回路の入力
端に接続され、前記エッジ検出手段が出力する制御信号
を受けて前記第1のスイッチがオンし、その間、前記第
2の発振回路からの発振出力の立ち上がり又は立ち下が
りの一方のエッジが、前記コンデンサを介した容量カッ
プリングによって前記第1の発振回路に供給され、過渡
状態にある前記第1の発振回路に発振のきっかけを与え
発振成長を促進するように構成してもよい。
Further, the present invention includes first and second oscillation circuits having different oscillation frequencies from each other, wherein the first oscillation circuit stops oscillating and the first oscillation circuit oscillates when the second oscillation circuit is in an oscillation state. when receiving the oscillation start signal of the oscillation circuit, a control signal including the second input one of the transition edge timing of rising under the rising or falling of emitting drawer forces the oscillation output from the oscillation circuit during the active period An edge detection means for outputting the output signal, wherein an output of the second oscillation circuit is connected to an input terminal of the first oscillation circuit via a capacitor and a first switch, and outputs a control signal output by the edge detection means. In response, the first switch is turned on, and during that time, one of the rising and falling edges of the oscillation output from the second oscillation circuit is caused by capacitive coupling via the capacitor. Serial supplied to the first oscillator circuit may be configured so as to facilitate the oscillation growth gives an opportunity of oscillation in said first oscillation circuit in a transient state.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0014[Correction target item name] 0014

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0014】本発明は、その好ましい実施の形態におい
て、図1を参照すると、通常動作モード時の第1のクロ
ック(CLK1)を生成し、スタンバイモード時に発振
を停止し、スタンバイモードを解除し通常動作モード復
帰時に発振を再開する第1の発振回路(1)と、スタン
バイモード時に前記第1のクロックよりも周波数の低い
第2のクロック(CLK2)を生成する第2の発振回路
(2)と、前記第1、第2の発振回路(2)からの第
1、第2のクロック信号を、入力した切り替え制御信号
で切り替えてCPU(10)に供給するセレクタ(4)
と、CPU(10)からのスタイバイモード解除通知信
号を受けてセレクタ(4)に切替制御信号を出力すると
ともに第1の発振回路(1)に発振開始を指示する発振
開始信号を出力するクロック制御回路(3)と、第2の
発振回路(2)からの第2のクロックを入力し、CPU
(10)からのスタンバイ解除通知信号を受けた際に、
第2のクロックの立ち上がり又は立ちがりの一方のエ
ッジを検出して制御信号(S2)を出力するエッジ検出
回路であって、該制御信号(S2)として、オン期間
(アクティブ期間)内に、該第2のクロックの立ち上が
り又は立ちがりの一方の遷移エッジタイミングが含ま
れるパルス信号を出力するエッジ検出回路(5)と、第
2の発振回路(2)の出力端と第1の発振回路(1)の
入力端との間に直列に接続されたトランスファゲート
(6)とコンデンサ(7)と、を備え、トランスファゲ
ート(6)の制御端子には、エッジ検出回路(5)から
出力される制御信号(S2)が入力され、スタンバイモ
ード解除時、エッジ検出回路(5)から出力される制御
信号を受けオン状態とされた前記トランスファゲート
(6)を介して、第2の発振回路(2)からの第2のク
ロックの立ち上がり又は立ち下がりの一方のエッジが、
コンデンサ(7)を介した容量カップリングによって第
1の発振回路(1)の入力端に供給され、過渡状態にあ
る第1の発振回路(1)に発振のきっかけを与え発振成
長を促進する。
In the preferred embodiment of the present invention, referring to FIG. 1, a first clock (CLK1) in a normal operation mode is generated, oscillation is stopped in a standby mode, and the standby mode is released to release a normal clock. A first oscillation circuit (1) that resumes oscillation when the operation mode returns, and a second oscillation circuit (2) that generates a second clock (CLK2) lower in frequency than the first clock in the standby mode. A selector (4) for switching the first and second clock signals from the first and second oscillation circuits (2) by an input switching control signal and supplying the same to the CPU (10);
And a clock that outputs a switching control signal to the selector (4) in response to the standby mode release notification signal from the CPU (10) and outputs an oscillation start signal instructing the first oscillation circuit (1) to start oscillation. The control circuit (3) and the second clock from the second oscillation circuit (2) are inputted, and the CPU
Upon receiving the standby release notification signal from (10),
A edge detection circuit for outputting a detection to the control signal (S2) a second rising or falling of the one edge of the clock, as the control signal (S2), in the ON period (active period), an edge detecting circuit (5) for outputting a pulse signal containing one of the transition edge timing of rising rising or falling of the second clock, the output end of the first oscillation circuit of the second oscillation circuit (2) A transfer gate (6) and a capacitor (7) are connected in series between the input terminal of (1) and a capacitor (7). The control terminal of the transfer gate (6) is output from the edge detection circuit (5). When the standby mode is released, the control signal output from the edge detection circuit (5) is input through the transfer gate (6) which is turned on when the standby mode is released. One edge of the rise or fall of the second clock from Fukairo (2),
Supplied to the input terminal of the first oscillation circuit (1) by capacitive coupling via the capacitor (7), the first oscillation circuit (1) in a transient state is triggered to oscillate to promote oscillation growth.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B079 AA07 BA02 BA15 BB01 BC01 DD02 DD17 5J079 AA04 AB04 BA22 BA24 BA41 EA06 EA18 EA20 FA05 FA14 FB03 FB04 FB22 FB40 FB48 GA05 GA09 GA11 KA01  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B079 AA07 BA02 BA15 BB01 BC01 DD02 DD17 5J079 AA04 AB04 BA22 BA24 BA41 EA06 EA18 EA20 FA05 FA14 FB03 FB04 FB22 FB40 FB48 GA05 GA09 GA11 KA01

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】互いに発振周波数の異なる第1、第2の発
振回路を備え、前記第1の発振回路が発振停止状態で前
記第2の発振回路が発振状態にあるとき、前記第1の発
振回路の発振開始信号を受けて、前記第2の発振回路か
らの発振出力信号の立ち上がり又は立ち下がりの一方の
遷移エッジをコンデンサを介した容量カップリングによ
って前記第1の発振回路に供給し、過渡状態にある前記
第1の発振回路に発振のきっかけを与え、発振成長を促
進する、ことを特徴とする発振制御回路。
A first oscillating circuit having an oscillating frequency different from each other, wherein when the first oscillating circuit is in an oscillation stop state and the second oscillating circuit is in an oscillating state, the first oscillation is performed. In response to the oscillation start signal of the circuit, one of the rising edge and the falling edge of the oscillation output signal from the second oscillation circuit is supplied to the first oscillation circuit by capacitive coupling via a capacitor, and the transient An oscillation control circuit, wherein an oscillation trigger is given to the first oscillation circuit in a state to promote oscillation growth.
【請求項2】互いに発振周波数の異なる第1、第2の発
振回路を備え、 前記第1の発振回路が発振停止状態で前記第2の発振回
路が発振状態にあるとき、前記第1の発振回路の発振開
始信号を受けた際に、前記第2の発振回路からの発振出
力を入力し、該発振出力の立ち上がり又は立ち下がりの
一方の遷移エッジタイミングをアクティブ期間に含む信
号を出力するエッジ検出手段を備え、 前記第2の発振回路の出力が、コンデンサ及び第1のス
イッチを介して前記第1の発振回路の入力端に接続さ
れ、 前記エッジ検出手段が出力する信号を受けて前記第1の
スイッチがオンし、その間、前記第2の発振回路からの
発振出力の立ち上がり又は立ち下がりの一方の遷移エッ
ジが、前記コンデンサを介した容量カップリングによっ
て前記第1の発振回路に供給され、過渡状態にある前記
第1の発振回路に発振のきっかけを与え発振成長を促進
する、ことを特徴とする発振制御回路。
2. The method according to claim 1, further comprising first and second oscillation circuits having different oscillation frequencies from each other, wherein the first oscillation is performed when the first oscillation circuit is in the oscillation stop state and the second oscillation circuit is in the oscillation state. Edge detection for receiving an oscillation output from the second oscillation circuit when receiving an oscillation start signal of the circuit, and outputting a signal including one of transition edges of rising and falling of the oscillation output in an active period. An output of the second oscillation circuit is connected to an input terminal of the first oscillation circuit via a capacitor and a first switch; Is turned on, and during that time, one of the rising and falling transition edges of the oscillation output from the second oscillation circuit is caused by the first coupling by the capacitive coupling via the capacitor. Oscillation control circuit is supplied to the circuit and promotes the oscillation growth gives an opportunity of oscillation in said first oscillation circuit in a transient state, characterized in that.
【請求項3】通常動作モード用の第1のクロックを生成
し、スタンバイモード時に発振を停止し、スタンバイモ
ードを解除して通常動作モード復帰時に、発振を再開す
るように制御される第1の発振回路と、 スタンバイモード時に前記第1のクロックよりも周波数
の低い第2のクロックを生成する第2の発振回路と、 前記第1、第2の発振回路からの第1、第2のクロック
信号を、入力した切り替制御信号で切り替えてCPUに
供給するセレクタと、 前記第1の発振回路の発振開始及び停止を制御し、前記
CPUからのスタンバイモード解除通知信号を受けた際
に、前記第1の発振回路に発振開始を指示するととも
に、前記セレクタに前記切替制御信号を出力するクロッ
ク制御回路と、 前記第2の発振回路からの第2のクロックを入力とし、
前記CPUからのスタンバイ解除通知信号を受けた際
に、前記第2のクロックの立ち上がり又は立ち上がりの
一方の遷移エッジを検出して、前記第2のクロックの立
ち上がり又は立ち上がりの一方の遷移エッジタイミング
をアクティブ期間に含む制御信号を出力するエッジ検出
回路と、 前記第2の発振回路の出力端と前記第1の発振回路の入
力端との間に直列に接続されたトランスファゲートとコ
ンデンサと、 を備え、 前記トランスファゲートの制御端子には、前記エッジ検
出回路から出力される前記制御信号が入力され、 スタンバイモード解除時、前記エッジ検出回路が出力す
る前記制御信号を受けてオン状態とされた前記トランス
ファゲートを介して、前記第2の発振回路からの前記第
2のクロックの立ち上がり又は立ち下がりの一方の遷移
エッジが、前記コンデンサを介した容量カップリングに
よって前記第1の発振回路に供給され、過渡状態にある
前記第1の発振回路に発振のきっかけを与え発振成長を
促進することを特徴とする発振制御回路。
3. A first clock for generating a first clock for a normal operation mode, stopping oscillation in a standby mode, canceling the standby mode and restarting the oscillation when returning to the normal operation mode. An oscillating circuit; a second oscillating circuit for generating a second clock having a lower frequency than the first clock in a standby mode; and first and second clock signals from the first and second oscillating circuits. And a selector for switching the first oscillation circuit to supply the same to the CPU by the input switching control signal, controlling the start and stop of the oscillation of the first oscillation circuit, and receiving the standby mode release notification signal from the CPU. A clock control circuit for instructing the oscillation circuit to start oscillating and outputting the switching control signal to the selector; and a second clock from the second oscillation circuit as an input. ,
Upon receipt of a standby release notification signal from the CPU, one rising edge or one rising edge of the second clock is detected, and one rising edge of the second clock or one rising edge of the rising edge is activated. An edge detection circuit that outputs a control signal included in a period; a transfer gate and a capacitor connected in series between an output terminal of the second oscillation circuit and an input terminal of the first oscillation circuit; The control signal output from the edge detection circuit is input to a control terminal of the transfer gate, and the transfer gate is turned on in response to the control signal output from the edge detection circuit when the standby mode is released. Through one of the rising and falling of the second clock from the second oscillation circuit Is supplied to the first oscillation circuit by capacitive coupling via the capacitor, and triggers oscillation of the first oscillation circuit in a transient state to promote oscillation growth. Oscillation control circuit.
【請求項4】通常動作モード用の第1のクロックを生成
し、スタンバイモード時に発振を停止し、スタンバイモ
ードを解除して通常動作モード復帰時に、発振を再開す
るように制御される第1の発振回路と、 スタンバイモード時に前記第1のクロックよりも周波数
の低い第2のクロックを生成する第2の発振回路と、 前記第1、第2の発振回路からの第1、第2のクロック
信号を、入力した切替制御信号で切り替えてCPUに供
給するセレクタと、 前記第1の発振回路の発振開始及び停止を制御し、前記
CPUからのスタイバイモード解除通知信号を受けた際
に、前記第1の発振回路に発振開始を指示するととも
に、前記セレクタに前記切替制御信号を出力するクロッ
ク制御回路と、 前記第2の発振回路からの第2のクロックを入力し、前
記CPUからのスタンバイ解除通知信号を受けた際に、
前記第2のクロックの立ち上がり又は立ち上がりの一方
の遷移エッジを検出して前記第2のクロックの立ち上が
り又は立ち上がりの一方の遷移エッジタイミングをアク
ティブ期間に含む制御信号を出力するエッジ検出回路
と、 前記クロック制御回路の発振開始信号出力端と前記第1
の発振回路の入力端との間に直列に接続された、遅延回
路、トランスファゲート、及びコンデンサと、 を備え、 前記トランスファゲートの制御端子には、前記エッジ検
出回路から出力される前記制御信号が入力され、 スタンバイモード解除時、前記エッジ検出回路が出力す
る前記制御信号を受けてオン状態とされた前記トランス
ファゲートを介して前記クロック制御回路から発振開始
信号を前記遅延回路で遅延させた立ち上がり又は立ち下
がりの一方の遷移エッジが、前記コンデンサを介した容
量カップリングによって前記第1の発振回路に供給さ
れ、過渡状態にある前記第1の発振回路に発振のきっか
けを与え発振成長を促進することを特徴とする発振制御
回路。
4. A first clock for generating a first clock for a normal operation mode, stopping oscillation in a standby mode, canceling the standby mode and restarting the oscillation when returning to the normal operation mode. An oscillating circuit; a second oscillating circuit for generating a second clock having a lower frequency than the first clock in a standby mode; and first and second clock signals from the first and second oscillating circuits. And a selector for switching the first oscillation circuit to start and stop the oscillation by the input switching control signal, and controlling the oscillation start and stop of the first oscillation circuit. A clock control circuit that instructs the first oscillation circuit to start oscillation and outputs the switching control signal to the selector; and a second clock from the second oscillation circuit, When receiving the standby release notification signal from the CPU,
An edge detection circuit that detects a rising edge or one rising edge of the second clock and outputs a control signal including an active period including one rising edge or the rising edge of the second clock; An oscillation start signal output terminal of the control circuit;
A delay circuit, a transfer gate, and a capacitor connected in series between the input terminal of the oscillation circuit and a control terminal of the transfer gate, wherein the control signal output from the edge detection circuit is provided at a control terminal of the transfer gate. When the standby mode is released, the oscillation start signal is delayed by the delay circuit from the clock control circuit through the transfer gate that is turned on in response to the control signal output from the edge detection circuit, One of the falling transition edges is supplied to the first oscillation circuit by capacitive coupling via the capacitor, and triggers oscillation of the first oscillation circuit in a transient state to promote oscillation growth. An oscillation control circuit characterized by the above.
【請求項5】前記第1、第2の発振回路が、第1、第2
の入力端子間に水晶振動子の両端が接続されると共に、
インバータ回路の入力端及び出力端、帰還抵抗と第2の
スイッチとが並列接続されてなる水晶発振回路よりな
り、発振開始信号がオフ時に、前記第2のスイッチがオ
フするとともに前記インバータ回路もオフする、ことを
特徴とする請求項1乃至3のいずれか一に記載の発振制
御回路。
5. The first and second oscillating circuits include first and second oscillating circuits.
Both ends of the crystal unit are connected between the input terminals of
An input terminal and an output terminal of the inverter circuit, a crystal oscillation circuit in which a feedback resistor and a second switch are connected in parallel. When the oscillation start signal is off, the second switch is turned off and the inverter circuit is also turned off. The oscillation control circuit according to any one of claims 1 to 3, wherein:
【請求項6】前記インバータの出力と固定電位との間に
第3のスイッチを備え、発振開始信号がオフ時に、前記
第3のスイッチがオンし、前記インバータがオフすると
ともに前記インバータの出力を固定電位とする、ことを
特徴とする請求項5記載の発振制御回路。
6. A third switch is provided between an output of the inverter and a fixed potential. When the oscillation start signal is off, the third switch is turned on, the inverter is turned off, and the output of the inverter is turned off. The oscillation control circuit according to claim 5, wherein the oscillation control circuit has a fixed potential.
【請求項7】請求項1乃至6のいずれか一に記載の発振
制御回路を備えたマイクロコンピュータ。
7. A microcomputer comprising the oscillation control circuit according to claim 1.
JP10270676A 1998-09-25 1998-09-25 Oscillation control circuit Expired - Lifetime JP2954199B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10270676A JP2954199B1 (en) 1998-09-25 1998-09-25 Oscillation control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10270676A JP2954199B1 (en) 1998-09-25 1998-09-25 Oscillation control circuit

Publications (2)

Publication Number Publication Date
JP2954199B1 JP2954199B1 (en) 1999-09-27
JP2000101347A true JP2000101347A (en) 2000-04-07

Family

ID=17489403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10270676A Expired - Lifetime JP2954199B1 (en) 1998-09-25 1998-09-25 Oscillation control circuit

Country Status (1)

Country Link
JP (1) JP2954199B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008259216A (en) * 2002-01-11 2008-10-23 Piedekku Gijutsu Kenkyusho:Kk Method of manufacturing crystal oscillator, and method of manufacturing portable device with the crystal oscillator packaged therein
KR101288923B1 (en) 2007-09-19 2013-07-24 엠텍비젼 주식회사 Circuit and Method for providing clock
US9374082B2 (en) 2012-09-21 2016-06-21 Samsung Electronics Co., Ltd. Clock control device of controlling clock stable time based on operational condition, semiconductor device including the same and clock control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008259216A (en) * 2002-01-11 2008-10-23 Piedekku Gijutsu Kenkyusho:Kk Method of manufacturing crystal oscillator, and method of manufacturing portable device with the crystal oscillator packaged therein
JP4650754B2 (en) * 2002-01-11 2011-03-16 有限会社ピエデック技術研究所 Crystal unit manufacturing method and crystal oscillator manufacturing method
KR101288923B1 (en) 2007-09-19 2013-07-24 엠텍비젼 주식회사 Circuit and Method for providing clock
US9374082B2 (en) 2012-09-21 2016-06-21 Samsung Electronics Co., Ltd. Clock control device of controlling clock stable time based on operational condition, semiconductor device including the same and clock control method

Also Published As

Publication number Publication date
JP2954199B1 (en) 1999-09-27

Similar Documents

Publication Publication Date Title
JP4038134B2 (en) Power supply control apparatus and information processing apparatus
EP1451666B1 (en) Glitch free clock selection switch
EP0446958B1 (en) Single-chip microcomputer with clock signal switching function
US5623234A (en) Clock system
US4641044A (en) Clock generator with reset and initialization circuitry
US6163851A (en) Data processor
JP3699872B2 (en) Reset signal generation circuit
US5461652A (en) Clock control circuit
JP3958720B2 (en) Clock control circuit and clock control method
JP2954199B1 (en) Oscillation control circuit
JP2006285823A (en) Semiconductor integrated circuit
US5568100A (en) Synchronous power down clock oscillator device
TWI585569B (en) Data transfer between clock domains
JPH08286780A (en) Clock circuit, processor using the circuit and processor operating method
US6496078B1 (en) Activating on-chip oscillator using ring oscillator
US5640130A (en) On-off controlled oscillator with circuit for masking glitches
JPH1174763A (en) Oscillation circuit
JP2002314336A (en) Oscillation circuit
JP2001117546A (en) Display device
US6998883B2 (en) Synchronization of signals
JPH05303444A (en) Clock signal feeder
JP2695547B2 (en) Return input circuit
JP3727670B2 (en) Microcontroller
JPS60251418A (en) Operating frequency switching control circuit of arithmetic unit
KR100487923B1 (en) Power saving clock signal generation circuit by controlling enable signal of clock pad

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990615