JPH03136117A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH03136117A
JPH03136117A JP1276821A JP27682189A JPH03136117A JP H03136117 A JPH03136117 A JP H03136117A JP 1276821 A JP1276821 A JP 1276821A JP 27682189 A JP27682189 A JP 27682189A JP H03136117 A JPH03136117 A JP H03136117A
Authority
JP
Japan
Prior art keywords
reset
signal
internal
clock pulse
reset 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
JP1276821A
Other languages
Japanese (ja)
Other versions
JP2789725B2 (en
Inventor
Osamu Itoku
井徳 修
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 JP1276821A priority Critical patent/JP2789725B2/en
Publication of JPH03136117A publication Critical patent/JPH03136117A/en
Application granted granted Critical
Publication of JP2789725B2 publication Critical patent/JP2789725B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To constitute the microcomputer so that its internal circuit can be started stably and in a short time by providing a timing signal generating part, and a reset signal control part for outputting an internal reset signal. CONSTITUTION:A timing signal generating part 2 inputs an internal clock pulse ICK, and outputs a timing signal TM for controlling an operation timing of an internal circuit and a reset release signal RSU. When an inputted reset signal RS is in an active level and when the reset release signal RSU is in an inactive level, a reset signal control part 3 sets an internal reset signal IRS to an active level and holds the internal circuit in a reset state. Subsequently, when the reset signal RS becomes an inactive level, and also, the reset release signal RSU becomes an active level, the internal reset signal IRS is set to an inactive level, and the reset state of the internal circuit is released. In such a way, the internal circuit is started stably and in a short time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータに関し、特にリセット機
能を備えクロックパルスにより動作するマイクロコンピ
ュータに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer, and more particularly to a microcomputer that has a reset function and operates using clock pulses.

〔従来の技術〕[Conventional technology]

従来、この種のマイクロコンピュータは、リセット状態
を解除する場合、クロックパルスのパルス幅による制限
はなく、電源投入時にクロックパルスの発振が安定せず
、クロックパルス幅に狭いものが存在しても、入力され
るリセット信号がインアクティブレベルにすれば、この
リセット信号により内部回路のリセット状態を解除する
構成となっていた。
Conventionally, when releasing a reset state, this type of microcomputer is not limited by the pulse width of the clock pulse. When the input reset signal is set to an inactive level, the internal circuit is released from the reset state by this reset signal.

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

上述した従来のマイクロコンピュータは、入力されるリ
セット信号がインアクティブレベルになると内部回路の
リセット状態を解除する構成となっているので、クロッ
クパルスの発振が安定する前にリセット信号がインアク
ティブレベルになると、内部回路はそのときの不安定な
りロックパルスによって必ずしも正常に動作できないな
め、プログラムの暴走の原因となるという問題があった
The conventional microcomputer described above is configured to release the reset state of the internal circuit when the input reset signal reaches an inactive level, so the reset signal reaches an inactive level before the clock pulse oscillation stabilizes. In this case, the internal circuit cannot necessarily operate normally due to the instability or lock pulse at that time, which causes the problem of program runaway.

これは、水晶発振子やセラミック発振子などの機械的振
動を利用したクロックパルスの発振が安定するまでは発
振振幅が小さくてノイズに弱く、またマイクロコンピュ
ータ内部に取り込まれたクロックパルスのパルス幅は全
く一定せず、パルス幅の狭いものも多く含まれるからで
ある。
This is because the oscillation amplitude is small and susceptible to noise until the clock pulse oscillation using mechanical vibration of a crystal oscillator or ceramic oscillator becomes stable, and the pulse width of the clock pulse captured inside the microcomputer is This is because the pulse width is not constant at all and includes many pulses with narrow pulse widths.

これを解決するためには、発振が安定するまでリセット
信号をアクティブレベルに保持する必要があり、外部に
リセット入力回路を設け、このリセット入力回路に工夫
が必要であった。
In order to solve this problem, it was necessary to maintain the reset signal at an active level until the oscillation stabilized, which required an external reset input circuit and a modification to the reset input circuit.

あるいはまた発振安定までリセット状態を保つため、マ
イクロコンピュータ内部にタイマを設け、このタイマで
所定の時間だけリセット状態を保持するものもあるが、
発振開始直後の出力の振幅の小さいときにはタイマ自身
が誤動作してしまい、発振安定前にリセット状態が解除
されてしまう可能性もあった。
Alternatively, in order to maintain the reset state until the oscillation stabilizes, some microcomputers have a timer installed inside the microcomputer and use this timer to maintain the reset state for a predetermined period of time.
When the amplitude of the output is small immediately after the start of oscillation, the timer itself may malfunction, and the reset state may be released before the oscillation stabilizes.

従ってこれらの方法では、発振安定時間を十分長く見積
り、リセット状態を長く保持しておく必要があるので、
電源投入後、リセット状態が解除されプログラムが動作
し始めるまでの時間が長くなってしまうという欠点もあ
った。
Therefore, with these methods, it is necessary to estimate the oscillation stabilization time sufficiently long and maintain the reset state for a long time.
Another drawback is that it takes a long time after the power is turned on until the reset state is released and the program starts operating.

本発明の目的は、外部にリセット入力回路を設けたり内
部にタイマを設けることなく、安定かつ短時間に内部回
路を始動させることができるマイクロコンピュータを提
供することにある。
An object of the present invention is to provide a microcomputer that can stably and quickly start its internal circuits without providing an external reset input circuit or an internal timer.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマイクロコンピュータは、入力されるクロック
パルスのパルス幅が予め設定されたパルス幅より広いと
き前記クロックパルスを有効とし内部クロックパルスと
して出力するクロックパルス入力部と、このクロックパ
ルス入力部からの内部クロックパルスによりリセット解
除信号を発生すると共に内部回路の動作タイミングを制
御するタイミング信号を発生するタイミング信号発生部
と、入力されるリセット信号がアクティブレベルのとき
及び前記リセット解除信号がインアクティブレベルのと
きアクティブレベルとなり、前記入力されるリセット信
号がインアクティブレベルでかつ前記リセット解除信号
がアクティブレベルのときインアクティブレベルとなる
内部リセット信号を出力するリセット信号制御部とを有
している。
The microcomputer of the present invention includes a clock pulse input section that validates the clock pulse and outputs it as an internal clock pulse when the pulse width of the input clock pulse is wider than a preset pulse width; a timing signal generating section that generates a reset release signal using an internal clock pulse and also generates a timing signal that controls the operation timing of the internal circuit; and a reset signal control section that outputs an internal reset signal that becomes an active level when the input reset signal is an inactive level and when the reset release signal is an active level, the internal reset signal becomes an inactive level.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

クロックパルス入力部1は、クロックパルスCKを入力
し、このクロックパルスCKのパルス幅が予め設定され
たパルス幅より広いときのみこのクロックパルスCKを
内部クロックパルスICKとして出力する。この予め設
定されたパルス幅とは、内部クロックパルスICKを入
力するマイクロコンピュータのすべての内部回路が正常
動作可能なパルス幅である。
The clock pulse input section 1 inputs a clock pulse CK, and outputs this clock pulse CK as an internal clock pulse ICK only when the pulse width of this clock pulse CK is wider than a preset pulse width. This preset pulse width is a pulse width that allows all internal circuits of the microcomputer to which the internal clock pulse ICK is input to operate normally.

タイミング信号発生部2は、内部クロックパルスICK
を入力し、この内部クロックパルスI CKにより、内
部回路の動作タイミングを制御するタイミング信号TM
とリセット解除信号R3Uを出力する。
The timing signal generator 2 generates an internal clock pulse ICK.
is input, and this internal clock pulse ICK is used to generate a timing signal TM that controls the operation timing of the internal circuit.
and outputs a reset release signal R3U.

リセット信号制御部3は、入力されるリセット信号R8
がアクティブレベルのとき、及びリセット解除信号R8
Uがインアクティブレベルのとき内部リセット信号IR
8をアクティブレベルとして内部回路をリセット状態に
保持する。そして、リセット信号R8がインアクティブ
レベルになり、かつリセット解除信号R8Uがアクティ
ブレベルになると、内部リセット信号IR8をインアク
ティブレベルとし、内部回路のリセット状態を解除する
The reset signal control unit 3 receives the input reset signal R8.
is at active level, and reset release signal R8
When U is inactive level, internal reset signal IR
8 is set as the active level to hold the internal circuit in a reset state. Then, when the reset signal R8 becomes inactive level and the reset release signal R8U becomes active level, the internal reset signal IR8 becomes inactive level, and the reset state of the internal circuit is released.

このように、リセット信号R8をインアクティブレベル
にしても、内部クロックICKが発生し一5= なければ、即ち、マイクロコンピュータの内部回路がす
べて正常に動作できるパルス幅のクロックパルスが入力
されるまでは、リセット状態は解除されない。
In this way, even if the reset signal R8 is set to an inactive level, the internal clock ICK is not generated, that is, until a clock pulse with a pulse width that allows all internal circuits of the microcomputer to operate normally is input. , the reset state will not be released.

また、リセット解除信号R8Uにより内部リセット信号
IR8がインアクティブレベルとなるので、発振安定の
ための十分長い待ち時間を設ける必要がなく、内部回路
の動作開始までの時間を短縮することができる。
Further, since the internal reset signal IR8 becomes inactive level by the reset release signal R8U, there is no need to provide a sufficiently long waiting time for oscillation stabilization, and the time until the internal circuit starts operating can be shortened.

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

以上説明したように本発明は、マイクロコンピュータの
全ての内部回路が正常に動作できるパルス幅のクロック
パルスのみ有効とし、この有効なりロックパルスによっ
てリセット状態の解除を可能にする構成とすることによ
り、クロックパルスの発振安定のための十分長い待ち時
間を設ける必要がないので、外部にリセット入力回路を
設けたり内部にタイマを設けることなく、内部回路を安
定かつ短時間に始動させることができる効果がある。
As explained above, the present invention has a configuration in which only the clock pulse with a pulse width that allows all the internal circuits of the microcomputer to operate normally is enabled, and the reset state can be released by the valid or lock pulse. Since there is no need to provide a sufficiently long wait time for the clock pulse oscillation to stabilize, the internal circuit can be started stably and quickly without providing an external reset input circuit or an internal timer. be.

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

第1図は本発明の一実施例のブロック図である。 1・・・クロックパルス入力部、2・・・タイミング信
号発生部、3・・・リセット信号制御部。
FIG. 1 is a block diagram of one embodiment of the present invention. 1... Clock pulse input section, 2... Timing signal generation section, 3... Reset signal control section.

Claims (1)

【特許請求の範囲】[Claims]  入力されるクロックパルスのパルス幅が予め設定され
たパルス幅より広いとき前記クロックパルスを有効とし
内部クロックパルスとして出力するクロックパルス入力
部と、このクロックパルス入力部からの内部クロックパ
ルスによりリセット解除信号を発生すると共に内部回路
の動作タイミングを制御するタイミング信号を発生する
タイミング信号発生部と、入力されるリセット信号がア
クティブレベルのとき及び前記リセット解除信号がイン
アクティブレベルのときアクティブレベルとなり、前記
入力されるリセット信号がインアクティブレベルでかつ
前記リセット解除信号がアクティブレベルのときインア
クティブレベルとなる内部リセット信号を出力するリセ
ット信号制御部とを有することを特徴とするマイクロコ
ンピュータ。
A clock pulse input section that validates the clock pulse and outputs it as an internal clock pulse when the pulse width of the input clock pulse is wider than a preset pulse width, and a reset release signal generated by the internal clock pulse from this clock pulse input section. and a timing signal generating section that generates a timing signal that controls the operation timing of the internal circuit; a reset signal control section that outputs an internal reset signal that becomes inactive level when the reset signal that is input is at inactive level and the reset release signal is at active level.
JP1276821A 1989-10-23 1989-10-23 Microcomputer Expired - Fee Related JP2789725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1276821A JP2789725B2 (en) 1989-10-23 1989-10-23 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1276821A JP2789725B2 (en) 1989-10-23 1989-10-23 Microcomputer

Publications (2)

Publication Number Publication Date
JPH03136117A true JPH03136117A (en) 1991-06-10
JP2789725B2 JP2789725B2 (en) 1998-08-20

Family

ID=17574867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1276821A Expired - Fee Related JP2789725B2 (en) 1989-10-23 1989-10-23 Microcomputer

Country Status (1)

Country Link
JP (1) JP2789725B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279933A (en) * 2006-04-05 2007-10-25 Oki Electric Ind Co Ltd Clock signal generation circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279933A (en) * 2006-04-05 2007-10-25 Oki Electric Ind Co Ltd Clock signal generation circuit

Also Published As

Publication number Publication date
JP2789725B2 (en) 1998-08-20

Similar Documents

Publication Publication Date Title
JPS6240886B2 (en)
JPH03136117A (en) Microcomputer
JP2003256194A (en) Random number generation circuit
JPH0226833B2 (en)
JPH05303444A (en) Clock signal feeder
JPH0433116A (en) Microcomputer
JPH0367316A (en) Clock generating circuit
JPS6135565B2 (en)
JPS6348203B2 (en)
JP2738159B2 (en) Clock signal control circuit
JPS6333806B2 (en)
JPH0449705Y2 (en)
JP3107052B2 (en) Oscillation level detection circuit of microcomputer drive clock signal
JPH04177516A (en) Microcomputer
JP2830216B2 (en) Standby circuit
JPH03274810A (en) Semiconductor integrated circuit
JPH04171516A (en) Reset circuit
JPS5858628A (en) Data processor
JP3016852B2 (en) Data processing device
JPH03198116A (en) Oscillation stabilizing circuit for microcomputer
JPS61281318A (en) Semiconductor integrated circuit
JPH07325640A (en) Standby control circuit
JPH10126155A (en) Oscillation device
JPH04232520A (en) Microcomputer system
JPH0863451A (en) Microcomputer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees