JP2858484B2 - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JP2858484B2
JP2858484B2 JP3022512A JP2251291A JP2858484B2 JP 2858484 B2 JP2858484 B2 JP 2858484B2 JP 3022512 A JP3022512 A JP 3022512A JP 2251291 A JP2251291 A JP 2251291A JP 2858484 B2 JP2858484 B2 JP 2858484B2
Authority
JP
Japan
Prior art keywords
signal
control
circuit
consumption mode
system reset
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.)
Expired - Fee Related
Application number
JP3022512A
Other languages
Japanese (ja)
Other versions
JPH04262412A (en
Inventor
明徳 岩崎
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3022512A priority Critical patent/JP2858484B2/en
Publication of JPH04262412A publication Critical patent/JPH04262412A/en
Application granted granted Critical
Publication of JP2858484B2 publication Critical patent/JP2858484B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Microcomputers (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明はマイクロコンピュータに
関し、特にシステム・リセットの制御入力端子でシステ
ムのリセットと低消費電流モードを制御するための回路
に関する。 【0002】 【従来の技術】従来のマイクロコンピュータでは、シス
テム・リセットの制御入力端子と低消費電流モードの制
御入力端子とを有し、システム・リセットの制御入力端
子でシステムのリセットおよび低消費電流モードの解
除、低消費電流モードの制御入力端子により内部のスタ
ンバイ制御回路に制御信号を与えることにより、マイク
ロコンピュータへのクロックを停止して、低消費電流モ
ードを実現していた。 【0003】また、電源の投入時のシステム・リセット
と低消費電流モードの解除を識別するために、システム
制御回路に電源投入時にのみセットされるフラグを有し
ていた。 【0004】 【発明が解決しようとする課題】前述した従来のマイク
ロコンピュータには次に示す欠点がある。 【0005】まず、2つの制御入力端子でそれぞれの制
御を行うため、システム・リセットの制御入力端子には
外部にリセット用のIC等を接続し、電源電圧が動作電
圧範囲に至った時点で、システム・リセットの制御入力
端子にアクティブ・レベルを解除する制御信号を与え、
かつ低消費電流モードを解除する時点でアクティブ・レ
ベルの制御信号をシステム・リセットの制御入力端子に
与える必要がある。 【0006】また、低消費電流のモードの制御入力端子
にも、外部にリセット用のIC等を接続し、電源電圧が
低下する時にはシステム・リセットの制御入力端子がア
クティブ・レベルに変化する電源電圧より若干高い電圧
で、アクティブ・レベルに変化する制御信号を低消費電
流モードの制御入力端子に与え、電源電圧が上がる時に
は電源電圧が動作電圧より高くなった時アクティブ・レ
ベルを解除する制御信号を低消費電流モードの制御入力
端子に与える必要がある。 【0007】以上のように、動作電圧範囲の下限電圧〜
動作電圧の狭い電圧範囲の間でそれぞれ異なる電圧値で
2つの制御入力端子を制御する必要があるため、周辺回
路は複雑、制御は困難になるという欠点がある。 【0008】本発明の目的は、前記欠点を解決し、簡単
な周辺回路を用いて、容易に制御できるようにしたマイ
クロコンピュータを提供することにある。 【0009】 【課題を解決するための手段】本発明のマイクロコンピ
ュータは、電源投入時のシステム・リセットとスタンバ
イ状態対応の低消費電流モードの解除との識別用に電源
投入時にのみセットされるフラグを有しこのフラグがセ
ットされているときシステム・リセット信号の供給に応
答してシステムのリセットを制御し、前記フラグがセッ
トされていないとき低消費電流モード解除信号を出力す
システム制御回路と、スタンバイ制御信号の供給に応
答して前記低消費電流モードに移行し前記低消費電流モ
ード解除信号の供給に応答して前記低消費電流モードの
解除を制御するスタンバイ制御回路とを備えたマイクロ
コンピュータにおいて、前記システム・リセット信号と
前記スタンバイ制御信号との入力用の共通の制御入力端
子と、前記制御入力端子に供給を受けた入力制御信号が
所定レベルから立ち上がる立ち上がり制御信号であるこ
を検出して前記システム・リセット信号を出力し前記
システム制御回路に供給する立ち上がり入力検出回路
と、前記入力制御信号が所定レベルから立ち下がる立ち
下がり制御信号であることを検出して立ち下がり検出信
号を出力する立ち下がり入力検出回路と前記立ち下が
り検信号の供給を受けて前記スタンバイ制御信号を出
力するノイズ除去回路とを備えて構成されている。 【0010】 【実施例】図1は本発明の一実施例のマイクロコンピュ
ータのブロック図である。 【0011】図1に示すように、本実施例のマイクロコ
ンピュータは、制御入力端子Aと、制御入力端子Aの立
ち上がり入力を検出し出力信号をシステム・リセット信
号としてシステム制御回路4に与える立ち上がり入力検
出回路1と、電源投入時のシステム・リセットとスタン
バイ状態対応の低消費電流モードの解除との識別用に電
源投入時にのみセットされるフラグを有しこのフラグが
セットされているときシステム・リセット信号の供給に
応答してシステムのリセットを制御し、フラグがセット
されていないとき低消費電流モード解除信号を出力する
システム制御回路4と、制御入力端子Aの立ち下がり入
力を検出して立ち下がり検出信号を出力する立ち下がり
入力検出回路2と、立ち下がり検出信号を入力し低消費
電流モードに移行させる制御信号であるスタンバイ制御
信号を出力するノイズ除去回路3と、スタンバイ制御信
号により低消費電流モードに移行するよう制御し、低消
費電流モード解除信号の供給に応答して低消費電流モー
ドを解除するスタンバイ制御回路5とを備える。 【0012】次に本実施例の動作について説明する。 【0013】制御入力端子Aから入力された制御信号
、立ち下がり入力であるときには、立ち下がり入力検
出回路2によりこの立ち下がり入力が検出され、立ち下
がり検出信号としてノイズ除去回路3に供給される。ノ
イズ除去回路3はスタンバイ制御信号を出力して、スタ
ンバイ制御回路5に与え、低消費電流モードに移行す
る。 【0014】また、制御入力端子Aから入力された制御
信号、立ち上がり入力であるときには、立ち上がり入
力検出回路1によりこのこの立ち上がり入力が検出さ
れ、システム・リセット信号としてシステム制御回路4
に与える。この時、システム制御回路4は内部のフラグ
を確認し、フラグがセットされていた場合は、システム
・リセット制御を行い、フラグがセットされていない場
合は、システム制御回路4からスタンバイ制御回路5に
低消費電流モード解除信号を与えることにより、低消費
電流モードを解除する制御を行い、マイクロコンピュー
タのブログラムを起動する。 【0015】 【発明の効果】以上説明したように、本発明は、制御入
力端子の立ち上がり入力を検出しシステム・リセット信
号としてシステム制御回路に与える立ち上がり入力検出
回路と、制御入力端子の立ち下がり入力を検出して立ち
下がり検出信号を出力する立ち下がり入力検出回路とを
有し、立ち下がり検出信号をノイズ除去回路を介して
タンバイ制御信号としてスタンバイ制御回路に与えて、
低消費電流モードに移行するよう制御するため、1つの
制御入力端子でシステム・リセットと低消費電流モード
の制御とが可能であり、外部で制御を行うため回路の簡
略化が可能となる効果がある。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer, and more particularly, to a circuit for controlling a system reset and a low current consumption mode at a control input terminal of a system reset. 2. Description of the Related Art A conventional microcomputer has a control input terminal for system reset and a control input terminal for low current consumption mode. By releasing the mode and supplying a control signal to the internal standby control circuit through the control input terminal of the low current consumption mode, the clock to the microcomputer is stopped to realize the low current consumption mode. Further, a system control circuit has a flag which is set only when the power is turned on, in order to distinguish between a system reset when the power is turned on and cancellation of the low current consumption mode. [0004] The above-mentioned conventional microcomputer has the following disadvantages. First, in order to control each of the two control input terminals, an external reset IC or the like is connected to the system reset control input terminal, and when the power supply voltage reaches the operating voltage range, Apply a control signal to release the active level to the control input terminal of the system reset,
At the time of releasing the low current consumption mode, it is necessary to provide an active level control signal to the control input terminal of the system reset. Also, an external reset IC or the like is connected to the control input terminal of the low current consumption mode, so that when the power supply voltage decreases, the system reset control input terminal changes to the active level. A control signal that changes to the active level at a slightly higher voltage is applied to the control input terminal of the low current consumption mode, and a control signal for releasing the active level when the power supply voltage becomes higher than the operating voltage when the power supply voltage rises is provided. It is necessary to give to the control input terminal of the low current consumption mode. As described above, the lower limit of the operating voltage range
Since it is necessary to control the two control input terminals with different voltage values within a narrow voltage range of the operating voltage, there is a disadvantage that the peripheral circuit is complicated and the control becomes difficult. An object of the present invention is to provide a microcomputer which solves the above-mentioned drawbacks and which can be easily controlled using a simple peripheral circuit. A microcomputer according to the present invention includes a system reset at power-on and a standby system.
Power supply to identify the release from the low current consumption mode
There is a flag that is set only at the time of
Responds to the system reset signal when the
Control the system reset, and the flag is set.
Output low-current-consumption mode release signal when not
A system control circuit that, response to the supply of the standby control signal
In response, the mode shifts to the low current consumption mode,
And a standby control circuit for controlling release of the low current consumption mode in response to supply of a mode release signal.
A common control input for input with the standby control signal
And an input control signal supplied to the control input terminal.
It must be a rising control signal that rises from a predetermined level.
And a rising input detecting circuit for outputting the system reset signal and supplying the system reset signal to the system control circuit, and detecting a falling control signal by detecting that the input control signal is a falling control signal falling from a predetermined level. Faith
A falling input detection circuit that outputs a signal ,
It exits the standby control signal by receiving the supply of the output signal Riken
And a noise elimination circuit . FIG. 1 is a block diagram of a microcomputer according to an embodiment of the present invention. As shown in FIG. 1, the microcomputer of this embodiment detects a control input terminal A and a rising input of the control input terminal A, and outputs an output signal to a system reset signal.
A rising input detection circuit 1 to be supplied to the system control circuit 4 as items, system reset and Stan at power
To identify the release from the low current consumption mode corresponding to the bi-state.
This flag is set only when the power is turned on.
When set, supplies the system reset signal
Responds to control system reset and flag set
A system control circuit 4 that outputs a low-current-consumption mode release signal when not performed, a fall input detection circuit 2 that detects a fall input of the control input terminal A and outputs a fall detection signal , Low consumption by inputting fall detection signal
Standby control, which is a control signal for shifting to the current mode
A noise removal circuit 3 for outputting a signal, and a standby control signal.
Control to shift to the low current consumption mode depending on the
The low current consumption mode responds to the supply of the current consumption mode release signal.
And a standby control circuit 5 for canceling the mode. Next, the operation of this embodiment will be described. The control signal input from the control input terminal A
But sometimes a falling input, the falling input is detected by the falling edge input detecting circuit 2, falling
It is supplied to the noise removal circuit 3 as a beam detection signal . No
The noise elimination circuit 3 outputs a standby control signal to the standby control circuit 5 to shift to a low current consumption mode. [0014] The control signal input from the control input terminal A, sometimes a rising input, the rise input detection circuit 1 this the rising input is detected, the system control circuit 4 as a system reset signal
Give to. At this time, the system control circuit 4 checks the internal flag. If the flag is set, the system control circuit 4 performs the system reset control. If the flag is not set, the system control circuit 4 sends the system control signal to the standby control circuit 5.
By giving a low current consumption mode release signal, control for releasing the low current consumption mode is performed, and a program of the microcomputer is started. As described above, the present invention detects a rising input of a control input terminal and detects a system reset signal.
Standing by detecting the rise input detection circuit, the falling edge input of a control input terminal for providing the system control circuit as No.
A fall input detection circuit that outputs a fall detection signal , and switches the fall detection signal through a noise removal circuit .
To the standby control circuit as a standby control signal ,
Since control is performed to shift to the low-current-consumption mode, system reset and low-current-consumption mode control can be performed with one control input terminal. The effect of external control is that the circuit can be simplified. is there.

【図面の簡単な説明】 【図1】本発明の一実施例のマイクロコンピュータのブ
ロック図である。 【符号の説明】 A 制御入力端子 1 立ち上がり入力検出回路 2 立ち下がり入力検出回路 3 ノイズ除去回路 4 システム制御回路 5 スタンバイ制御回路
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a microcomputer according to an embodiment of the present invention. [Description of Signs] A Control input terminal 1 Rising input detection circuit 2 Falling input detection circuit 3 Noise removal circuit 4 System control circuit 5 Standby control circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 1/26 - 1/32 G06F 1/24 G06F 15/78 510──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 1/26-1/32 G06F 1/24 G06F 15/78 510

Claims (1)

(57)【特許請求の範囲】 【請球項1】 電源投入時のシステム・リセットとスタ
ンバイ状態対応の低消費電流モードの解除との識別用に
電源投入時にのみセットされるフラグを有しこのフラグ
がセットされているときシステム・リセット信号の供給
に応答してシステムのリセットを制御し、前記フラグが
セットされていないとき低消費電流モード解除信号を出
力するシステム制御回路と、スタンバイ制御信号の供給
に応答して前記低消費電流モードに移行し前記低消費電
流モード解除信号の供給に応答して前記低消費電流モー
ドの解除を制御するスタンバイ制御回路とを備えたマイ
クロコンピュータにおいて、前記システム・リセット信号と前記スタンバイ制御信号
との入力用の共通の制御入力端子と、 前記制御入力端子に供給を受けた入力制御信号が所定レ
ベルから立ち上がる立ち上がり制御信号であることを検
出して前記システム・リセット信号を出力し前記システ
ム制御回路に供給する立ち上がり入力検出回路と、 前記入力制御信号が所定レベルから立ち下がる立ち下が
制御信号であることを検出して立ち下がり検出信号を
出力する立ち下がり入力検出回路と 前記立ち下がり検信号の供給を受けて前記スタンバイ
制御信号を出力するノイズ除去回路とを備えることを特
徴とするマイクロコンビュータ。
(57) [Claims] [Claim 1] System reset and start-up at power-on
For clearing from the low current consumption mode corresponding to the standby state
This flag has a flag that is set only when the power is turned on.
Supply of system reset signal when is set
Controls the reset of the system in response to
When not set, the low power consumption mode release signal is output.
A system control circuit for the power supply of the standby control signal
To the low power consumption mode in response to
And a standby control circuit for controlling release of the low current consumption mode in response to supply of a current mode release signal , wherein the system reset signal and the standby control signal
A common control input terminal for inputting the control input terminal and an input control signal supplied to the control input terminal
A rising input detection circuit that detects a rising control signal rising from a bell and outputs the system reset signal and supplies the system reset signal to the system control circuit; and a falling control signal that falls the input control signal from a predetermined level. That the falling detection signal is detected.
And falling input detection circuit outputs, said stand the falling supplied with Riken detection signal
Microcon Byuta, characterized in that it comprises a noise removing circuit for outputting a control signal.
JP3022512A 1991-02-18 1991-02-18 Microcomputer Expired - Fee Related JP2858484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3022512A JP2858484B2 (en) 1991-02-18 1991-02-18 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3022512A JP2858484B2 (en) 1991-02-18 1991-02-18 Microcomputer

Publications (2)

Publication Number Publication Date
JPH04262412A JPH04262412A (en) 1992-09-17
JP2858484B2 true JP2858484B2 (en) 1999-02-17

Family

ID=12084818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3022512A Expired - Fee Related JP2858484B2 (en) 1991-02-18 1991-02-18 Microcomputer

Country Status (1)

Country Link
JP (1) JP2858484B2 (en)

Also Published As

Publication number Publication date
JPH04262412A (en) 1992-09-17

Similar Documents

Publication Publication Date Title
KR100793306B1 (en) Apparatus and method for reset in mobile terminal
JP2858484B2 (en) Microcomputer
JPH02239719A (en) Timer circuit
JPH0833791B2 (en) Uninterruptible power supply interface device
JP2002099357A (en) Semiconductor device
JP2546051B2 (en) Power-on device
JP3389792B2 (en) Electrical equipment
JP3070112B2 (en) Digital panel meter
EP0997818A4 (en) Computer monitor device
JP2501666Y2 (en) Unit duplication device
JPH0527875A (en) Electronic equipment
JPH06253531A (en) Lcd bias power supply circuit
KR0154999B1 (en) Reset circuit
JPH0318988Y2 (en)
JP3281113B2 (en) Abnormality detection circuit of microcomputer system
JP2785997B2 (en) Power on / off control method for information processing device
JP2515152B2 (en) Electronic circuit
JP2000105616A (en) Electronic equipment protecting circuit
JPH0510018B2 (en)
JPS5952324A (en) Detecting circuit for service interruption and its recovery
JPS62259121A (en) 1-chip cpu power supply device
JPS5850409Y2 (en) information processing equipment
JP2575979B2 (en) clock
JPH06195160A (en) External interruption edge detecting circuit for microcomputer
JPH03204787A (en) Microcomputer

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: 19981104

LAPS Cancellation because of no payment of annual fees