JPH0425916A - Reset circuit - Google Patents

Reset circuit

Info

Publication number
JPH0425916A
JPH0425916A JP2131801A JP13180190A JPH0425916A JP H0425916 A JPH0425916 A JP H0425916A JP 2131801 A JP2131801 A JP 2131801A JP 13180190 A JP13180190 A JP 13180190A JP H0425916 A JPH0425916 A JP H0425916A
Authority
JP
Japan
Prior art keywords
output
input
signal
port
processor
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
JP2131801A
Other languages
Japanese (ja)
Other versions
JP2536664B2 (en
Inventor
Tatsuhiro Ono
小野 龍宏
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 JP2131801A priority Critical patent/JP2536664B2/en
Publication of JPH0425916A publication Critical patent/JPH0425916A/en
Application granted granted Critical
Publication of JP2536664B2 publication Critical patent/JP2536664B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To secure an operation at the time of hitting by inputting one output from an output port to an input port, supervising an output signal level and resetting input/output ports when a supervisory result is abnormal in a communication controller consisting of a processor and peripheral input/output ports. CONSTITUTION:A one shot circuit 5 for resetting the output port 11, and the input port 12 is provided. The output signal 8 of the output port 11 is set to be one input of the input port 12. When a power supply hits and the power supply voltage is restored to the normal one, the processor 10 controls the output signal 8 and inputs the output to the processor 10 through the input port 12. The processor 10 decides the signal level. When it is not normal, a trigger signal 9 is supplied to the one shot circuit 5. It generates the reset signal 6 and initializes the output port 11 and the input port 12 by a port reset signal 7 through an OR gate 20.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はリセット回路に関し、特にプロセッサと周辺の
入、出力ポートを有する通信制御装置の電源立上げ時の
リセット回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reset circuit, and more particularly to a reset circuit at power-on of a communication control device having a processor and peripheral input and output ports.

〔従来の技術〕[Conventional technology]

第2図は従来のリセット回路の一例を示す回路図である
FIG. 2 is a circuit diagram showing an example of a conventional reset circuit.

本例のリセット回路では、抵抗1とコンデンサ3とダイ
オード2とからなる充放電回路100の出力をゲート4
で受けて、この4のスレッショルドレベルを越えるまで
の間の信号出力をリセット信号として用いている。
In the reset circuit of this example, the output of a charge/discharge circuit 100 consisting of a resistor 1, a capacitor 3, and a diode 2 is connected to a gate 4.
The signal output until the threshold level of 4 is exceeded is used as a reset signal.

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

上述した従来のリセット回路は、抵抗とコンデンサを含
む充放電回路のみであるため、電源が立上がって通常の
動作状態にあるとき、入力電源の変動あるいは瞬断等で
電源電圧が一瞬ある値まで低下して再度正常な電源電圧
値までに復帰した場合には、その低下した電圧値がリセ
ット回路のゲ−トのスレッショルドレベルよりは高く且
つIC,LSIの動作保証電圧よりも低いと、リセット
信号が発生しないためシーケンシャルなモード設定を必
要とする周辺入出力ポートLSI等の動作が保証されず
、異常動作となる可能性があるという欠点がある。
The conventional reset circuit described above is only a charging/discharging circuit that includes a resistor and a capacitor, so when the power supply is turned on and is in normal operation, the power supply voltage may momentarily rise to a certain value due to input power fluctuations or momentary power interruptions. When the power supply voltage drops and returns to the normal power supply voltage value, if the lowered voltage value is higher than the threshold level of the gate of the reset circuit and lower than the guaranteed operation voltage of the IC or LSI, the reset signal is Since this does not occur, there is a drawback that the operation of peripheral input/output port LSIs, etc. that require sequential mode setting is not guaranteed, and there is a possibility of abnormal operation.

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

本発明のリセット回路は、プロセッサと周辺の入、出力
ポートを有する通信制御装置において、前記プロセッサ
に制御されてリセット信号を発生するワンショット回路
と、充放電回路出力のリセット信号と前記ワンショット
回路出力のリセット信号との論理和をとるゲートとを備
え、前記出力ポートの1つを前記入力ポートの1つに接
続し、前記プロセッサは前記出力ポートの1つへの出力
信号レベルを監視し前記入力ポートの1つへの入力信号
レベルと相違したとき前記ワンショット回路を駆動する
ことを特徴とし、前記論理和ゲートの出力信号により前
記ノい出力ポートを初期化することを特徴とする。
The reset circuit of the present invention is a communication control device having a processor and peripheral input and output ports, and includes a one-shot circuit that generates a reset signal under the control of the processor, a reset signal of a charge/discharge circuit output, and a one-shot circuit that generates a reset signal under the control of the processor. a gate that logically ORs the output with a reset signal, one of the output ports is connected to one of the input ports, and the processor monitors the level of the output signal to one of the output ports and The one-shot circuit is driven when the level of the input signal to one of the input ports differs, and the output port is initialized by the output signal of the OR gate.

〔実施例〕 次に、本発明について第1図を参照して説明する。〔Example〕 Next, the present invention will be explained with reference to FIG.

第1図は本発明のリセット回路の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing one embodiment of the reset circuit of the present invention.

プロセッサ10は電源立上げ時のリセット信号21が解
除されてから、アドレスバス14及びデータバス15を
介して周辺の出力ポート11及び入力ポート12のモー
ド設定を行い、通常の通信制御モードでデコーダ13出
力のポートセレクト信号16及び17により出力信号1
8の出力制御及び入力信号19の入力を行う。ここで、
この出力ポート11の1つの出力信号8を入力ポート1
2の入力の1つとして受信しておく。
After the reset signal 21 at power-on is released, the processor 10 sets the mode of the peripheral output port 11 and input port 12 via the address bus 14 and data bus 15, and sets the decoder 13 in the normal communication control mode. Output signal 1 by output port select signals 16 and 17
8 and inputs an input signal 19. here,
One output signal 8 of this output port 11 is input to input port 1.
It is received as one of the inputs in step 2.

この状態でこの通信制御装置の入力電源の瞬断が発生し
、2次側の電源電圧が一瞬低下してまた通常電圧に復帰
すると、その電圧低下がゲート4のスレッショルドレベ
ルより下がらないなめリセット信号21がオンとはなら
ず、その電圧低下により周辺の出力ポート11.入力ポ
ート12に用いられているLSI等は動作が保証されな
い。
In this state, if a momentary interruption of the input power supply to this communication control device occurs and the power supply voltage on the secondary side drops momentarily and then returns to the normal voltage, a reset signal is sent so that the voltage drop does not fall below the threshold level of gate 4. 21 is not turned on, and due to the voltage drop, the peripheral output ports 11. The operation of the LSI etc. used in the input port 12 is not guaranteed.

また、正常な、電源電圧に復帰した時、プロセッサ10
は出力ポート11の出力信号8を“l”と“O”の出力
に制御し、その出力はそのまま入力ポート12を介して
プロセッサ10に入力される。プロセッサ10はデータ
バス15を介して入力したこの信号の信号レベルが出力
信号8に設定したレベルかどうかを判定し、正常な信号
レベルが認識されなかったときはアドレスバス14.デ
コーダ13を介してワンショット回路5にトリガ信号9
を与え、ワンショット回路5はプロセッサ10の制御に
よってリセット信号6を発生させ、論理和ゲート20を
介したポートリセット信号7により出力ポート11.入
力ポート12を強制的に初期化し、再度モード設定から
やり直して通信の制御モードに設定する。
Also, when the power supply voltage returns to normal, the processor 10
controls the output signal 8 of the output port 11 to output "I" and "O", and the output is directly input to the processor 10 via the input port 12. Processor 10 determines whether the signal level of this signal input via data bus 15 is the level set for output signal 8, and if a normal signal level is not recognized, address bus 14. A trigger signal 9 is sent to the one-shot circuit 5 via the decoder 13.
, the one-shot circuit 5 generates a reset signal 6 under the control of the processor 10, and the port reset signal 7 via the OR gate 20 causes the output port 11. The input port 12 is forcibly initialized, the mode setting is restarted, and the communication control mode is set.

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

以上説明したように本発明は、抵抗とコンデンサの充放
電回路による従来のリセット回路に、プロセッサの制御
によるワンショット回路と、充放電回路によるリセット
信号出力とワンショット回路の出力との論理和をとるゲ
ートとを備え、出力ポートの1つの出力を入力ポートに
入力してその出力ポートへの出力信号レベルを監視する
ことにより、入力電源の変動あるいは瞬断て電源電圧が
低下したためIC,LSIの動作が保証されない状況が
発生したときに、直ちにその状態から回復できる効果が
ある。
As explained above, the present invention adds a one-shot circuit controlled by a processor and a logical sum of the reset signal output from the charging/discharging circuit and the output of the one-shot circuit to the conventional reset circuit using a charging/discharging circuit of a resistor and a capacitor. By inputting one output of the output port to the input port and monitoring the output signal level to that output port, IC, LSI This has the effect of allowing immediate recovery from a situation in which operation is not guaranteed.

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

第1図は本発明のリセット回路の一実施例を示すブロッ
ク図、第2図は従来のリセット回路の一例を示す回路図
である。 1・・・抵抗、2・・・ダイオード、3・・・コンデン
サ、4・・ゲート、5・・・ワンショット回路、7・・
・ポートリセット信号、8・・・出力ポート11の1つ
の出力信号、9・・トリガ信号、10・・・プロセッサ
、11・・・出力ポート、12・・・入力ポート、13
・・デコーダ、14・・・アドレスバス、15・・・デ
ータバス、)乙m
FIG. 1 is a block diagram showing an embodiment of a reset circuit of the present invention, and FIG. 2 is a circuit diagram showing an example of a conventional reset circuit. 1...Resistor, 2...Diode, 3...Capacitor, 4...Gate, 5...One-shot circuit, 7...
- Port reset signal, 8... One output signal of output port 11, 9... Trigger signal, 10... Processor, 11... Output port, 12... Input port, 13
...Decoder, 14...Address bus, 15...Data bus,)

Claims (1)

【特許請求の範囲】 1、プロセッサと周辺の入、出力ポートを有する通信制
御装置において、前記プロセッサに制御されてリセット
信号を発生するワンショット回路と、充放電回路出力の
リセット信号と前記ワンショット回路出力のリセット信
号との論理和をとるゲートとを備え、前記出力ポートの
1つを前記入力ポートの1つに接続し、前記プロセッサ
は前記出力ポートの1つへの出力信号レベルを監視し前
記入力ポートの1つへの入力信号レベルと相違したとき
前記ワッショット回路を駆動することを特徴とするリセ
ット回路。 2、前記論理和ゲートの出力信号により前記入、出力ポ
ートを初期化することを特徴とする請求項1記載のリセ
ット回路。
[Claims] 1. In a communication control device having a processor and peripheral input and output ports, a one-shot circuit that generates a reset signal under the control of the processor, a reset signal of the charging/discharging circuit output, and the one-shot circuit. a gate that logically ORs a circuit output with a reset signal, one of the output ports is connected to one of the input ports, and the processor monitors an output signal level to one of the output ports. A reset circuit that drives the washot circuit when the input signal level to one of the input ports is different from the level of the input signal. 2. The reset circuit according to claim 1, wherein said input and output ports are initialized by an output signal of said OR gate.
JP2131801A 1990-05-22 1990-05-22 Reset circuit Expired - Lifetime JP2536664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2131801A JP2536664B2 (en) 1990-05-22 1990-05-22 Reset circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2131801A JP2536664B2 (en) 1990-05-22 1990-05-22 Reset circuit

Publications (2)

Publication Number Publication Date
JPH0425916A true JPH0425916A (en) 1992-01-29
JP2536664B2 JP2536664B2 (en) 1996-09-18

Family

ID=15066432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2131801A Expired - Lifetime JP2536664B2 (en) 1990-05-22 1990-05-22 Reset circuit

Country Status (1)

Country Link
JP (1) JP2536664B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100673927B1 (en) * 2004-11-29 2007-01-25 세이코 엡슨 가부시키가이샤 Electronic device and control method thereof
KR100750814B1 (en) * 2003-05-06 2007-08-22 모토로라 인코포레이티드 Method and apparatus for display power management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100750814B1 (en) * 2003-05-06 2007-08-22 모토로라 인코포레이티드 Method and apparatus for display power management
KR100673927B1 (en) * 2004-11-29 2007-01-25 세이코 엡슨 가부시키가이샤 Electronic device and control method thereof

Also Published As

Publication number Publication date
JP2536664B2 (en) 1996-09-18

Similar Documents

Publication Publication Date Title
US5655127A (en) Method and apparatus for control of power consumption in a computer system
US5790873A (en) Method and apparatus for power supply switching with logic integrity protection
US6597289B2 (en) Fingerprint sensor power management detection of overcurrent
CA1165877A (en) Supervisory control apparatus
US5465366A (en) Power control module for computer monitors
US8055889B2 (en) BIOS management device and method for managing BIOS setting value
JP3274935B2 (en) Microcomputer
TWI749728B (en) Portable electronic device
WO2022056772A1 (en) Self-locking and detection circuit and apparatus, and control method
JPH0425916A (en) Reset circuit
JP2585111B2 (en) Power-on reset circuit
TW201423352A (en) Computer system and method for starting and setting computer system
TWI811505B (en) Battery device and control method for power of real time clock thereof
JP3286588B2 (en) Power control circuit for electronic equipment
JPH01245322A (en) Power failure control circuit for microprocessor
JPS58181132A (en) Interface circuit
JP2533126B2 (en) Power backup method
JPH0553618A (en) Programmable controller
JPH07129278A (en) Resetting control circuit of multiprocessor system
EP0642074A1 (en) Method and apparatus for a timer integrated power management element
CN115242234A (en) Single chip microcomputer system restarting circuit and method
JPH02199520A (en) Reset control system
TW202011150A (en) Power control method for storage devices and electronic system using the same
JPH09319454A (en) Oscillation control circuit for microcomputer
JP2001067131A (en) Element for monitoring power supply