JPH04314116A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH04314116A
JPH04314116A JP3108592A JP10859291A JPH04314116A JP H04314116 A JPH04314116 A JP H04314116A JP 3108592 A JP3108592 A JP 3108592A JP 10859291 A JP10859291 A JP 10859291A JP H04314116 A JPH04314116 A JP H04314116A
Authority
JP
Japan
Prior art keywords
signal
clock signal
reset
oscillation
system clock
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.)
Pending
Application number
JP3108592A
Other languages
Japanese (ja)
Inventor
Jiyunichi Ikuta
郁田 順一
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3108592A priority Critical patent/JPH04314116A/en
Publication of JPH04314116A publication Critical patent/JPH04314116A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To eliminate the counting time of a counter to be dead time during the operation of an external clock. CONSTITUTION:In the case that a self-exciting oscillator 1 is reset by a reset control means 11, 12, 15, 16 at the time when a reset signal 30 is active, and an external clock signal is inputted through oscillation terminals 17, 18 during this reset period, it is detected by a system clock control means 3, 4, 5, 20, 32, and after the lapse of prescribed time, the former clock signal 28 bypassing the counter 2 is outputted as an internal reset signal 25, and the reset of a system clock generation circuit 7 is canceled, and a system clock signal 31 is outputted.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、半導体基板上に構成さ
れたマイクロコンピュータに利用され、特に、自励発振
器および発振が安定するまでの時間をカウントするカウ
ンタを内蔵したマイクロコンピュータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer constructed on a semiconductor substrate, and more particularly to a microcomputer incorporating a self-exciting oscillator and a counter for counting the time until oscillation stabilizes.

【0002】0002

【従来の技術】図4は従来のマイクロコンピュータの一
例の要部を示すブロック構成図である。
2. Description of the Related Art FIG. 4 is a block diagram showing the main parts of an example of a conventional microcomputer.

【0003】この従来例は、自励の発振器46と、発振
安定時間をカウントするカウンタ40および中央処理装
置を動作させるためのシステムクロック生成回路7とを
含んでいる。なお、8はシュミットトリガバッファ、1
3はPチャネルMOSトランジスタ、14はNチャネル
MOSトランジスタ、17および18は発振端子、42
はフリップフロップ、44は帰還回路、ならびに45は
付加回路である。
This conventional example includes a self-excited oscillator 46, a counter 40 for counting the oscillation stabilization time, and a system clock generation circuit 7 for operating the central processing unit. In addition, 8 is a Schmitt trigger buffer, 1
3 is a P-channel MOS transistor, 14 is an N-channel MOS transistor, 17 and 18 are oscillation terminals, 42
is a flip-flop, 44 is a feedback circuit, and 45 is an additional circuit.

【0004】図5は図4の動作を示すタイミングチャー
トである。
FIG. 5 is a timing chart showing the operation of FIG.

【0005】図4において、システムクロック生成回路
7への元クロック信号47を自励発振により得る場合に
は、振動子を含む帰還回路44を発振器46の発振端子
17および18に接続する。またシステムクロック生成
回路7への元クロック信号47を外部クロック信号48
により得る場合には、発振器46の発振端子17への入
力信号が、発振端子18への入力信号の逆相となるよう
に付加回路45を設けて、発振端子17および18へ接
続する。
In FIG. 4, when the original clock signal 47 to the system clock generation circuit 7 is obtained by self-oscillation, a feedback circuit 44 including an oscillator is connected to the oscillation terminals 17 and 18 of the oscillator 46. In addition, the original clock signal 47 to the system clock generation circuit 7 is converted to an external clock signal 48.
In this case, an additional circuit 45 is provided and connected to the oscillation terminals 17 and 18 so that the input signal to the oscillation terminal 17 of the oscillator 46 has the opposite phase to the input signal to the oscillation terminal 18.

【0006】自励発振を行った場合、発振器46からの
元クロック信号47の波形は図5に示すように発振が安
定するまでに一定時間を要する。発振が不安定な期間に
元クロック信号47をシステムクロック生成回路7への
クロック供給源として用いると、安定したシステムクロ
ック信号49が生成できず、マイクロコンピュータが誤
動作する可能性がある。そこで、発振が安定するまでの
期間は、システムクロック生成回路7を、リセット端子
26から入力されるリセット信号50により、リセット
状態にしてシステムクロック信号49の生成を行わず、
発振が十分安定するまでの時間をカウンタ40によりカ
ウントしカウンタ40からの第一の制御信号としてのオ
ーバーフロー信号41でRS型のフリップフロップ42
からの内部リセット信号43を反転させてシステムクロ
ック生成回路7のリセットを解除する。以上の構成をと
ることにより発振が十分に安定した後の元クロック信号
47をシステムクロック生成回路7へのクロック供給源
として使用できるので、安定したシステムクロック信号
49が提供される。前述の動作は自励発振の代わりに外
部クロック信号48を用いても同様である。
When self-oscillation is performed, the waveform of the original clock signal 47 from the oscillator 46 requires a certain amount of time until the oscillation becomes stable, as shown in FIG. If the original clock signal 47 is used as a clock supply source to the system clock generation circuit 7 during a period when oscillation is unstable, a stable system clock signal 49 cannot be generated, and the microcomputer may malfunction. Therefore, during the period until the oscillation stabilizes, the system clock generation circuit 7 is set to a reset state by the reset signal 50 input from the reset terminal 26, and the system clock signal 49 is not generated.
A counter 40 counts the time until the oscillation becomes sufficiently stable, and an RS type flip-flop 42 is activated by an overflow signal 41 as a first control signal from the counter 40.
The system clock generation circuit 7 is released from being reset by inverting the internal reset signal 43 from the internal reset signal 43 . With the above configuration, the original clock signal 47 whose oscillation has been sufficiently stabilized can be used as a clock supply source to the system clock generation circuit 7, so that a stable system clock signal 49 is provided. The above-described operation is the same even if the external clock signal 48 is used instead of self-oscillation.

【0007】[0007]

【発明が解決しようとする課題】前述したように、従来
のマイクロコンピュータでは、自励発振を行わず外部ク
ロック信号48にて動作させる場合には、最初から振幅
および信号幅とも安定した元クロック信号47が供給さ
れるため、本来カウンタ40は不要である。しかし、マ
イクロコンピュータ側では、自励発振を行うのか外部ク
ロック信号を供給されるのかの判断ができないため、外
部クロック動作時もカウンタ40からのオーバーフロー
信号41が出力されるまで中央処理装置が動作できず、
この期間がマイクロコンピュータにとって全く無駄な時
間になる欠点があった。
[Problems to be Solved by the Invention] As mentioned above, in conventional microcomputers, when operating with the external clock signal 48 without self-oscillation, it is necessary to use the original clock signal whose amplitude and signal width are stable from the beginning. 47 is supplied, the counter 40 is originally unnecessary. However, since the microcomputer cannot determine whether to perform self-oscillation or to be supplied with an external clock signal, the central processing unit cannot operate even when the external clock is operating until the overflow signal 41 from the counter 40 is output. figure,
This period had the disadvantage that it was a complete waste of time for the microcomputer.

【0008】本発明の目的は、前記の欠点を除去するこ
とにより、外部クロック動作時に、無駄な時間を生じる
ことなく動作できるマイクロコンピュータを提供するこ
とにある。
An object of the present invention is to provide a microcomputer that can operate without wasting time when operating with an external clock by eliminating the above-mentioned drawbacks.

【0009】[0009]

【課題を解決するための手段】本発明は、システムクロ
ック信号の元となる元クロック信号を自励発振または外
部クロック信号により生成する発振手段と、この発振手
段から出力される自励発振時の前記元クロック信号を入
力しその元クロック信号が安定するまでの時間をカウン
トし第一の制御信号を出力するカウンタと、前記元クロ
ック信号およびリセット信号を入力し前記第一の制御信
号に従ってシステムクロック信号を出力するシステムク
ロック生成手段とを備えたマイクロコンピュータにおい
て、前記リセット信号により前記発振手段をリセット状
態に制御するリセット制御手段と、前記発振手段がリセ
ット状態にあるとき、前記発振手段への前記外部クロッ
ク信号の入力を検出し、前記システムクロック生成手段
におけるシステムクロック信号の生成を制御する第二の
制御信号を出力するシステムクロック制御手段とを備え
たことを特徴とする。
[Means for Solving the Problems] The present invention provides an oscillation means for generating an original clock signal, which is the source of a system clock signal, by self-excited oscillation or an external clock signal, and a self-excited oscillation output from the oscillation means. A counter that inputs the original clock signal, counts the time until the original clock signal stabilizes, and outputs a first control signal; and a system clock that inputs the original clock signal and a reset signal and according to the first control signal. a system clock generation means for outputting a signal, a reset control means for controlling the oscillation means to a reset state by the reset signal; and a system clock generation means for controlling the oscillation means to a reset state when the oscillation means is in the reset state The present invention is characterized by comprising system clock control means for detecting input of an external clock signal and outputting a second control signal for controlling generation of the system clock signal in the system clock generation means.

【0010】0010

【作用】リセット信号がアクティブな場合、リセット制
御手段により発振手段をリセット状態にする。そして、
このリセット期間中に外部クロック信号が入力された場
合、システムクロック制御手段はこれを検出し、カウン
タからの第一の制御信号に代わり、カウンタを通さない
、外部クロック信号に基づいて生成された元クロック信
号により、システムクロック生成回路への内部リセット
信号が入力されるように制御を行う。
[Operation] When the reset signal is active, the oscillation means is brought into a reset state by the reset control means. and,
If an external clock signal is input during this reset period, the system clock control means detects this and replaces the first control signal from the counter with an original signal generated based on the external clock signal that does not pass through the counter. Control is performed using the clock signal so that an internal reset signal is input to the system clock generation circuit.

【0011】従って、外部クロック動作時にはカウンタ
によるカウントが無くなり、無駄な時間を生じることを
なくしシステムを動作させることが可能となる。
[0011] Therefore, when the external clock is operated, there is no need to count by the counter, and it becomes possible to operate the system without wasting time.

【0012】0012

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0013】図1は本発明の第一実施例の要部を示すブ
ロック構成図である。なお、図1においては、簡単のた
めに、図4における帰還回路44および付加回路45を
省いている。
FIG. 1 is a block diagram showing the main parts of a first embodiment of the present invention. Note that in FIG. 1, the feedback circuit 44 and additional circuit 45 in FIG. 4 are omitted for simplicity.

【0014】本第一実施例は、システムクロック信号3
1の元クロック信号27を自励発振または図外の外部ク
ロック信号により生成する発振手段としての発振器1と
、この発振器1から出力される自励発振時の元クロック
信号27を入力しその元クロック信号27が安定するま
での時間をカウントし第一の制御信号としてのオーバー
フロー信号21を出力するカウンタ2と、元クロック信
号27およびリセット端子26からのリセット信号30
を入力し、オーバーフロー信号21に従ってシステムク
ロック信号31を出力するシステムクロック生成手段と
しての、オーバーフロー信号21およびリセット信号3
0を入力し内部リセット信号25を出力するRS型のフ
リップフロップ6、および内部リセット信号25に従っ
てシステムクロック信号31を出力するシステムクロッ
ク生成回路7とを備えたマイクロコンピュータにおいて
、本発明の特徴とするところの、リセット信号30によ
り発振器1をリセット状態に制御するリセット制御手段
としてのPチャネルMOSトランジスタ11、抵抗12
ならびにインバータ15および16を含む制御回路と、
発振手段1がリセット状態にあるとき、発振器1への発
振端子17および18を介しての前記外部クロック信号
48(図4)の入力を検出し、システムクロック生成回
路7におけるシステムクロック信号31の生成を制御す
る第二の制御信号として、シュミットトリガバッファ8
を介した元クロック信号28をカウンタ2を通さずに直
接出力するシステムクロック制御手段としての、カウン
タ3、ワンショットパルス発生回路4、RS型のフリッ
プフロップ5、アンド回路32、および論理ゲート回路
20を含む制御回路とを備えている。
In the first embodiment, the system clock signal 3
The oscillator 1 serves as an oscillation means for generating the original clock signal 27 of 1 by self-excited oscillation or an external clock signal (not shown), and the original clock signal 27 during self-excited oscillation output from this oscillator 1 is inputted and the original clock signal 27 is generated by self-excited oscillation or an external clock signal (not shown). A counter 2 that counts the time until the signal 27 stabilizes and outputs an overflow signal 21 as a first control signal, and a reset signal 30 from the original clock signal 27 and the reset terminal 26.
The overflow signal 21 and the reset signal 3 serve as a system clock generation means that inputs the input signal and outputs the system clock signal 31 according to the overflow signal 21.
The present invention is characterized in a microcomputer equipped with an RS type flip-flop 6 which inputs 0 and outputs an internal reset signal 25, and a system clock generation circuit 7 which outputs a system clock signal 31 in accordance with the internal reset signal 25. However, the P-channel MOS transistor 11 and the resistor 12 serve as reset control means for controlling the oscillator 1 to the reset state by the reset signal 30.
and a control circuit including inverters 15 and 16;
When the oscillation means 1 is in the reset state, the input of the external clock signal 48 (FIG. 4) to the oscillator 1 via the oscillation terminals 17 and 18 is detected, and the system clock generation circuit 7 generates the system clock signal 31. As a second control signal to control the Schmitt trigger buffer 8
A counter 3, a one-shot pulse generation circuit 4, an RS type flip-flop 5, an AND circuit 32, and a logic gate circuit 20 as a system clock control means that directly outputs the original clock signal 28 without passing through the counter 2. and a control circuit including.

【0015】そして、発振器1はPチャネルMOSトラ
ンジスタ9および13、ならびにNチャネルMOSトラ
ンジスタ10および14を含み、論理ゲート回路20は
二つのアンド回路と一つのオア回路とを含んでいる。
Oscillator 1 includes P-channel MOS transistors 9 and 13 and N-channel MOS transistors 10 and 14, and logic gate circuit 20 includes two AND circuits and one OR circuit.

【0016】次に、本第一実施例の動作について図2に
示すタイミングチャートを参照して説明する。
Next, the operation of the first embodiment will be explained with reference to the timing chart shown in FIG.

【0017】発振器1はリセット信号30がアクティブ
中はPチャネルMOSトランジスタ9およびNチャネル
MOSトランジスタ10を「オフ」させることにより振
動子を含む帰還回路44(図4)を接続しても発振しな
い構成になっている。抵抗12は1〔ΜΩ〕程度の抵抗
でリセット信号30がアクティブ中はPチャネルMOS
トランジスタ11を「オン」させることにより、ヒステ
リシス特性を有するシュミットトリガバッファ8の入力
を電源電位に固定している。また抵抗12は高抵抗値な
のでリセット信号30がアクティブ中も外部クロック信
号48(図4)の入力を受けつけることができる。
The oscillator 1 has a configuration in which the P-channel MOS transistor 9 and the N-channel MOS transistor 10 are turned off while the reset signal 30 is active, so that the oscillator 1 does not oscillate even if a feedback circuit 44 (FIG. 4) including a resonator is connected. It has become. The resistor 12 is a resistor of about 1 [MΩ] and is a P-channel MOS while the reset signal 30 is active.
By turning on the transistor 11, the input of the Schmitt trigger buffer 8 having hysteresis characteristics is fixed at the power supply potential. Further, since the resistor 12 has a high resistance value, it can receive input of the external clock signal 48 (FIG. 4) even while the reset signal 30 is active.

【0018】カウンタ2は分周器19をN段接続したN
ビットカウンタであり、カウンタ3は分周器19をM段
接続したMビットカウンタである。本第一実施例ではM
=2であるからカウンタ3への入力クロック4発目にオ
ーバーフロー信号22がアクティブになる。
The counter 2 has N frequency dividers 19 connected in N stages.
The counter 3 is an M-bit counter in which M stages of frequency dividers 19 are connected. In this first embodiment, M
=2, the overflow signal 22 becomes active at the fourth input clock to the counter 3.

【0019】ワンショットパルス発生回路4は、リセッ
ト端子26へ入力されるリセット信号30がノンアクテ
ィブレベルからアクティブレベルへ変化する際のエッジ
を検出してワンショットパルス信号29を発生し、カウ
ンタ3およびフリップフロップ5のリセットを行う。ワ
ンショットパルス発生回路4の出力信号タイミングは図
2に示されている。25はフリップフロップ6により制
御されるマイクロコンピュータの内部リセット信号であ
り、システムクロック生成回路7は自励発振または外部
より入力される元クロック信号27を供給源として中央
処理装置を動作させるためのシステムクロック信号31
を生成する。 そして、内部リセット信号25がアクティブな期間はシ
ステムクロック信号31が生成されず中央処理装置は動
作しない。
The one-shot pulse generating circuit 4 detects the edge of the reset signal 30 input to the reset terminal 26 when it changes from a non-active level to an active level, generates a one-shot pulse signal 29, and outputs a one-shot pulse signal 29 to the counter 3 and The flip-flop 5 is reset. The output signal timing of the one-shot pulse generation circuit 4 is shown in FIG. 25 is an internal reset signal of the microcomputer controlled by the flip-flop 6, and the system clock generation circuit 7 is a system for operating the central processing unit using self-excited oscillation or the original clock signal 27 inputted from the outside as a supply source. clock signal 31
generate. During the period when the internal reset signal 25 is active, the system clock signal 31 is not generated and the central processing unit does not operate.

【0020】論理ゲート回路20はフリップフロップ5
により制御されるセレクタで、フリップフロップ5の出
力Q1 (Q0 の反転出力)=「1」、Q0 =「0
」のときカウンタ2のオーバーフロー信号21が選択さ
れ、フリップフロップ5の出力Q1 =「0」、Q0 
=「1」のときはカウンタ2をバイパスした元クロック
信号28を選択する。
The logic gate circuit 20 is a flip-flop 5
output of flip-flop 5, Q1 (inverted output of Q0) = "1", Q0 = "0"
”, the overflow signal 21 of the counter 2 is selected, and the output of the flip-flop 5 Q1 = “0”, Q0
= "1", the original clock signal 28 bypassing the counter 2 is selected.

【0021】発振端子17および18に振動子を含む帰
還回路44(図4)を接続してリセット端子26にアク
ティブレベルのリセット信号30を入力すると、各々の
回路は図2のごとく初期化される。また前述したように
、PチャネルMOSトランジスタ9およびNチャネルM
OSトランジスタ10は「オフ」し、リセット信号30
がアクティブ中は発振しない。さらに、PチャネルMO
Sトランジスタ11は「オン」するので、シュミットト
リガバッファ8の入力は電源電位に固定される。リセッ
トを解除すると、PチャネルMOSトランジスタ9およ
びNチャネルMOSトランジスタ10は「オン」し、P
チャネルMOSトランジスタ11は「オフ」して発振を
開始する。論理ゲート20はカウンタ2のオーバフロー
信号21を選択しているので、カウンタ2により十分な
発振安定時間をカウントした後、フリップフロップ6を
リセットし内部リセット信号25を解除する。この結果
、システムクロック生成回路7でシステムクロック信号
31が生成され中央処理装置の動作が開始する。
When a feedback circuit 44 (FIG. 4) including a vibrator is connected to the oscillation terminals 17 and 18 and an active level reset signal 30 is input to the reset terminal 26, each circuit is initialized as shown in FIG. . Further, as described above, P channel MOS transistor 9 and N channel MOS transistor 9
OS transistor 10 is "off" and reset signal 30
does not oscillate while active. Furthermore, P channel MO
Since the S transistor 11 is turned on, the input of the Schmitt trigger buffer 8 is fixed at the power supply potential. When the reset is released, P channel MOS transistor 9 and N channel MOS transistor 10 are turned on, and P
Channel MOS transistor 11 is turned off and starts oscillating. Since the logic gate 20 selects the overflow signal 21 of the counter 2, after the counter 2 counts a sufficient oscillation stabilization time, the flip-flop 6 is reset and the internal reset signal 25 is released. As a result, the system clock signal 31 is generated by the system clock generation circuit 7, and the operation of the central processing unit is started.

【0022】一方、発振端子17および18に外部クロ
ック信号を供給した場合、リセット信号30がアクティ
ブ中であってもクロック入力を受けつけることができる
。リセット信号30がアクティブ中にある一定数以上の
クロック入力があれば、カウンタ3がオーバーフロー信
号22をアクティブにしてフリップフロップ5をセット
する。本第一実施例においては、リセット信号30がア
クティブ中に4発以上のクロック入力があればフリップ
フロップ5がセットされる。これによって論理ゲート2
0はカウンタ2をバイパスした元クロック信号28を選
択し外部からのリセット信号30の解除後ただちにフリ
ップフロップ6のリセットを行い、内部リセット信号2
5を解除するので、中央処理装置が動作を開始する。
On the other hand, when an external clock signal is supplied to the oscillation terminals 17 and 18, the clock input can be accepted even when the reset signal 30 is active. If a certain number of clocks are input while the reset signal 30 is active, the counter 3 activates the overflow signal 22 and sets the flip-flop 5. In the first embodiment, the flip-flop 5 is set if four or more clocks are input while the reset signal 30 is active. This allows logic gate 2
0 selects the original clock signal 28 that bypasses the counter 2, resets the flip-flop 6 immediately after releasing the external reset signal 30, and resets the internal reset signal 2.
5 is released, the central processing unit starts operating.

【0023】以上説明したように、本第一実施例は、自
励発振によりマイクロコンピュータを動作させる場合に
は、従来通り十分発振が安定するのを待ってから動作を
開始し、外部クロック信号入力によりマイクロコンピュ
ータを動作させる場合には、外部からのリセット信号を
解除した後ただちに内部リセット信号25を解除し中央
処理装置を動作させることができる。
As explained above, in the first embodiment, when operating a microcomputer by self-excited oscillation, the operation is started after waiting for the oscillation to become sufficiently stable as in the conventional case, and the operation is started after the external clock signal is input. When operating the microcomputer, the internal reset signal 25 can be canceled immediately after the external reset signal is canceled, and the central processing unit can be operated.

【0024】図3は本発明の第二実施例2を示すブロッ
ク構成図である。本第二実施例においては、図1の第一
実施例における発振器1、インバータ15、Pチャネル
MOSトランジスタ11および抵抗12は簡単のため省
略されている。
FIG. 3 is a block diagram showing a second embodiment of the present invention. In the second embodiment, the oscillator 1, inverter 15, P channel MOS transistor 11, and resistor 12 in the first embodiment of FIG. 1 are omitted for simplicity.

【0025】本第二実施例は、図1におけるカウンタ2
および3の代わりにカウンタ30を設けたもので、カウ
ンタ30は初段および次段の2段の分周器を図1におけ
るカウンタ3と兼用しているものである。これにより、
カウンタ30の段数が従来と同数になり、従来のマイク
ロコンピュータに比して大幅な回路変更を要することな
く本発明が実現できる利点がある。
In the second embodiment, the counter 2 in FIG.
A counter 30 is provided in place of 3 and 3, and the counter 30 also serves as a two-stage frequency divider, the first stage and the next stage, as the counter 3 in FIG. This results in
The number of stages of the counter 30 is the same as that of the conventional microcomputer, and there is an advantage that the present invention can be implemented without requiring significant circuit changes compared to conventional microcomputers.

【0026】[0026]

【発明の効果】以上説明したように、本発明は、リセッ
ト信号がアクティブ中にマイクロコンピュータへのクロ
ック信号供給が自励発振によるものか外部クロック信号
入力によるものかを判定する手段を有しており、外部ク
ロック信号入力時は発振安定時間をカウントするカウン
タをバイパスさせることにより中央処理装置の起動まで
の時間を大幅に短縮できる効果がある。
As explained above, the present invention has a means for determining whether a clock signal is supplied to a microcomputer by self-oscillation or by external clock signal input while a reset signal is active. By bypassing the counter that counts the oscillation stabilization time when an external clock signal is input, it is possible to significantly shorten the time required to start up the central processing unit.

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

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

【図2】  その動作を示すタイミングチャート。FIG. 2 is a timing chart showing the operation.

【図3】  本発明の第二実施例の要部を示すブロック
構成図。
FIG. 3 is a block configuration diagram showing main parts of a second embodiment of the present invention.

【図4】  従来例の要部を示すブロック構成図。FIG. 4 is a block configuration diagram showing the main parts of a conventional example.

【図5】  その動作を示すタイミングチャート。FIG. 5 is a timing chart showing the operation.

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

1、46    発振器 2、3、30、40    カウンタ 4    ワンショットパルス発生回路5、6、42 
   フリップフロップ7    システムクロック生
成回路 8    シュミットトリガバッファ 9、11、13    PチャネルMOSトランジスタ
10、14    NチャネルMOSトランジスタ12
    抵抗 15、16    インバータ 17、18    発振端子 19    分周器 20    論理ゲート回路 21、22、41    オーバーフロー信号23、2
4    制御信号 25、43    内部リセット信号 26    リセット端子 27、28、47    元クロック信号29    
ワンショットパルス信号 30、50    リセット信号 31、49    システムクロック信号32    
アンド回路 44  帰還回路 45  付加回路 48    外部クロック信号
1, 46 Oscillator 2, 3, 30, 40 Counter 4 One-shot pulse generation circuit 5, 6, 42
Flip-flop 7 System clock generation circuit 8 Schmitt trigger buffers 9, 11, 13 P-channel MOS transistors 10, 14 N-channel MOS transistor 12
Resistors 15, 16 Inverters 17, 18 Oscillation terminal 19 Frequency divider 20 Logic gate circuits 21, 22, 41 Overflow signals 23, 2
4 Control signals 25, 43 Internal reset signal 26 Reset terminals 27, 28, 47 Original clock signal 29
One shot pulse signal 30, 50 Reset signal 31, 49 System clock signal 32
AND circuit 44 Feedback circuit 45 Additional circuit 48 External clock signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  システムクロック信号の元となる元ク
ロック信号を自励発振または外部クロック信号により生
成する発振手段と、この発振手段から出力される自励発
振時の前記元クロック信号を入力しその元クロック信号
が安定するまでの時間をカウントし第一の制御信号を出
力するカウンタと、前記元クロック信号およびリセット
信号を入力し前記第一の制御信号に従ってシステムクロ
ック信号を出力するシステムクロック生成手段とを備え
たマイクロコンピュータにおいて、前記リセット信号に
より前記発振手段をリセット状態に制御するリセット制
御手段と、前記発振手段がリセット状態にあるとき、前
記発振手段への前記外部クロック信号の入力を検出し、
前記システムクロック生成手段におけるシステムクロッ
ク信号の生成を制御する第二の制御信号を出力するシス
テムクロック制御手段とを備えたことを特徴とするマイ
クロコンピュータ。
1. Oscillator means for generating an original clock signal, which is the source of a system clock signal, by self-excited oscillation or an external clock signal, and an input device for inputting the original clock signal during self-excited oscillation output from the oscillating means. a counter that counts the time until the original clock signal becomes stable and outputs a first control signal; and a system clock generation means that receives the original clock signal and the reset signal and outputs a system clock signal according to the first control signal. a microcomputer comprising: reset control means for controlling the oscillation means to a reset state by the reset signal; and detecting input of the external clock signal to the oscillation means when the oscillation means is in the reset state; ,
A microcomputer comprising system clock control means for outputting a second control signal for controlling generation of a system clock signal in the system clock generation means.
JP3108592A 1991-04-11 1991-04-11 Microcomputer Pending JPH04314116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3108592A JPH04314116A (en) 1991-04-11 1991-04-11 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3108592A JPH04314116A (en) 1991-04-11 1991-04-11 Microcomputer

Publications (1)

Publication Number Publication Date
JPH04314116A true JPH04314116A (en) 1992-11-05

Family

ID=14488719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3108592A Pending JPH04314116A (en) 1991-04-11 1991-04-11 Microcomputer

Country Status (1)

Country Link
JP (1) JPH04314116A (en)

Similar Documents

Publication Publication Date Title
JPH04336308A (en) Single-chip microcomputer
KR100231810B1 (en) Circuits and Methods for Generating Clock Signals Dynamically
US4864255A (en) Oscillator capable of quickly supplying a stable oscillation signal
JPH1195859A (en) Oscillator circuit with integrated circuit
JPS6240886B2 (en)
JP2776772B2 (en) Oscillation control circuit
JP2000013143A (en) Oscillation circuit
EP0403047B1 (en) A frequency divider circuit
JPH04314116A (en) Microcomputer
JPS6148726B2 (en)
JP2921494B2 (en) Oscillation circuit
JPH0585082B2 (en)
US20020063591A1 (en) Divider with cycle time correction
JPH10107620A (en) Clock signal generating circuit
JPH01128621A (en) Charge pump circuit
JPH04273602A (en) Oscillation control circuit
JPH0651860A (en) Oscillation stablizing time guarantee circuit
JPH11234043A (en) Oscillator circuit and semiconductor integrated circuit
JPS5943765B2 (en) semiconductor integrated circuit
JPH04160906A (en) Oscillating circuit
JPH11186849A (en) Oscillation circuit
JP2723741B2 (en) Clock generation circuit for semiconductor integrated circuit
JPH05313795A (en) Semiconductor integrated circuit
JPH049336B2 (en)
JPH03165617A (en) Initial clock generation circuit