JPH03136117A - Microcomputer - Google Patents
MicrocomputerInfo
- 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
Links
- 230000010355 oscillation Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 2
- 230000006641 stabilisation Effects 0.000 description 2
- 238000011105 stabilization Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Abstract
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.
従来、この種のマイクロコンピュータは、リセット状態
を解除する場合、クロックパルスのパルス幅による制限
はなく、電源投入時にクロックパルスの発振が安定せず
、クロックパルス幅に狭いものが存在しても、入力され
るリセット信号がインアクティブレベルにすれば、この
リセット信号により内部回路のリセット状態を解除する
構成となっていた。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.
上述した従来のマイクロコンピュータは、入力されるリ
セット信号がインアクティブレベルになると内部回路の
リセット状態を解除する構成となっているので、クロッ
クパルスの発振が安定する前にリセット信号がインアク
ティブレベルになると、内部回路はそのときの不安定な
りロックパルスによって必ずしも正常に動作できないな
め、プログラムの暴走の原因となるという問題があった
。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.
本発明のマイクロコンピュータは、入力されるクロック
パルスのパルス幅が予め設定されたパルス幅より広いと
き前記クロックパルスを有効とし内部クロックパルスと
して出力するクロックパルス入力部と、このクロックパ
ルス入力部からの内部クロックパルスによりリセット解
除信号を発生すると共に内部回路の動作タイミングを制
御するタイミング信号を発生するタイミング信号発生部
と、入力されるリセット信号がアクティブレベルのとき
及び前記リセット解除信号がインアクティブレベルのと
きアクティブレベルとなり、前記入力されるリセット信
号がインアクティブレベルでかつ前記リセット解除信号
がアクティブレベルのときインアクティブレベルとなる
内部リセット信号を出力するリセット信号制御部とを有
している。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.
次に、本発明の実施例について図面を参照して説明する
。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.
以上説明したように本発明は、マイクロコンピュータの
全ての内部回路が正常に動作できるパルス幅のクロック
パルスのみ有効とし、この有効なりロックパルスによっ
てリセット状態の解除を可能にする構成とすることによ
り、クロックパルスの発振安定のための十分長い待ち時
間を設ける必要がないので、外部にリセット入力回路を
設けたり内部にタイマを設けることなく、内部回路を安
定かつ短時間に始動させることができる効果がある。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.
第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)
たパルス幅より広いとき前記クロックパルスを有効とし
内部クロックパルスとして出力するクロックパルス入力
部と、このクロックパルス入力部からの内部クロックパ
ルスによりリセット解除信号を発生すると共に内部回路
の動作タイミングを制御するタイミング信号を発生する
タイミング信号発生部と、入力されるリセット信号がア
クティブレベルのとき及び前記リセット解除信号がイン
アクティブレベルのときアクティブレベルとなり、前記
入力されるリセット信号がインアクティブレベルでかつ
前記リセット解除信号がアクティブレベルのときインア
クティブレベルとなる内部リセット信号を出力するリセ
ット信号制御部とを有することを特徴とするマイクロコ
ンピュータ。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.
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)
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 |
-
1989
- 1989-10-23 JP JP1276821A patent/JP2789725B2/en not_active Expired - Fee Related
Cited By (1)
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 |