[go: up one dir, main page]

JPH0635696A - Control device - Google Patents

Control device

Info

Publication number
JPH0635696A
JPH0635696A JP4190345A JP19034592A JPH0635696A JP H0635696 A JPH0635696 A JP H0635696A JP 4190345 A JP4190345 A JP 4190345A JP 19034592 A JP19034592 A JP 19034592A JP H0635696 A JPH0635696 A JP H0635696A
Authority
JP
Japan
Prior art keywords
voltage
signal
microprocessor
battery
output
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
JP4190345A
Other languages
Japanese (ja)
Other versions
JP3204743B2 (en
Inventor
Kenji Sakanashi
健二 坂梨
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP19034592A priority Critical patent/JP3204743B2/en
Publication of JPH0635696A publication Critical patent/JPH0635696A/en
Application granted granted Critical
Publication of JP3204743B2 publication Critical patent/JP3204743B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

(57)【要約】 【目的】マイクロプロセッサが電池電圧に対応した適切
なタイミングで周辺I/Oとのアクセスを行いマイクロ
プロセッサにおける処理の高速化を図る。 【構成】電池5の出力から一定の基準電圧を生成する基
準電圧生成手段7と、電池5の出力電圧を一定の比率で
分圧する分圧手段8のそれぞれの出力電圧を電圧比較手
段9で比較し、電圧比較手段9からの出力信号に応じて
ウェイト信号発生手段10からマイクロプロセッサ1に入
力するウェイト信号のアクティブ時間幅を変化させる。 【効果】電池電圧の変化をウェイト信号発生手段10が検
知し電池電圧の変化に応じてマイクロプロセッサ1に入
力するウェイト信号のアクティブ時間幅を変化させるこ
とが可能となり、これによりマイクロプロセッサ1が電
池電圧に対応した適切なタイミングで周辺I/Oとのア
クセスを行うことができる。
(57) [Abstract] [Purpose] The microprocessor accesses the peripheral I / O at an appropriate timing corresponding to the battery voltage to speed up the processing in the microprocessor. A voltage comparing means 9 compares respective output voltages of a reference voltage generating means 7 for generating a constant reference voltage from the output of the battery 5 and a voltage dividing means 8 for dividing the output voltage of the battery 5 at a constant ratio. Then, the active time width of the wait signal input from the wait signal generating means 10 to the microprocessor 1 is changed according to the output signal from the voltage comparing means 9. [Effect] The weight signal generating means 10 detects a change in the battery voltage, and the active time width of the wait signal input to the microprocessor 1 can be changed in accordance with the change in the battery voltage. The peripheral I / O can be accessed at an appropriate timing corresponding to the voltage.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マイクロプロセッサに
よるメモリーなどの周辺I/Oの制御装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for peripheral I / O such as a memory by a microprocessor.

【0002】[0002]

【従来の技術】図3は従来例における制御装置のブロッ
ク図を示す。図3において、1は外部からウェイト信号
を入力することにより周辺I/Oへのアクセスタイミン
グ可変のマイクロプロセッサである。
2. Description of the Related Art FIG. 3 is a block diagram of a conventional control device. In FIG. 3, reference numeral 1 is a microprocessor whose access timing to a peripheral I / O is variable by inputting a wait signal from the outside.

【0003】まずマイクロプロセッサ1が周辺I/Oを
アクセスする際の動作について図4を参照しながら説明
する。図4(A)はノンウェイト状態におけるマイクロ
プロセッサのマシンサイクルの様子を示すタイミングチ
ャートであり、クロック信号に同期してT1,T2,T
3の3つのステートより成る。
First, the operation when the microprocessor 1 accesses a peripheral I / O will be described with reference to FIG. FIG. 4A is a timing chart showing the state of the machine cycle of the microprocessor in the non-wait state, and T1, T2, T are synchronized with the clock signal.
It consists of 3 states of 3.

【0004】ウェイト信号はT2ステートのクロックの
立ち下がりでマイクロプロセッサにサンプリングさ
れ、”1”であればノンウェイト状態となりT2ステー
トの直後にT3ステートが来る。逆に”0”であれば図
4(B)(C)に示すようにTwステートがT2ステー
トの直後に挿入される。またTwステートのクロックの
立ち下がりにおいてもウェイト信号がサンプリングさ
れ、”0”であれば次もTwステートが挿入され、ウェ
イト信号が”1”であることが検出された次のステート
がT3ステートとなる。
The wait signal is sampled by the microprocessor at the falling edge of the clock in the T2 state. If it is "1", the wait signal is in the non-wait state, and the T3 state comes immediately after the T2 state. On the contrary, if it is "0", the Tw state is inserted immediately after the T2 state as shown in FIGS. Further, the wait signal is sampled even at the falling edge of the clock in the Tw state, and if it is "0", the Tw state is inserted next time, and the next state in which the wait signal is detected as "1" is the T3 state. Become.

【0005】一般に、マイクロプロセッサはアクセスす
べき対象のアドレスを示すアドレス信号と、そのアドレ
ス信号が安定かつ有効であるタイミングを示すアドレス
イネーブル信号を出力するが、アドレス信号はT1ステ
ートのクロックの立ち上がりで変化するものとし、アド
レスイネーブル信号はT1ステートのクロックの立ち下
がりからT3ステートのクロックの立ち下がりまでがア
クティブとなるものとすると、上記のようにウェイト信
号のアクティブ時間幅をコントロールすることにより、
アドレス信号およびアドレスイネーブル信号のアクティ
ブ時間幅をコントロールすることができる。
Generally, a microprocessor outputs an address signal indicating an address to be accessed and an address enable signal indicating a timing at which the address signal is stable and valid. The address signal is output at the rising edge of the clock in the T1 state. Assume that the address enable signal changes from the falling edge of the clock in the T1 state to the falling edge of the clock in the T3 state, by controlling the active time width of the wait signal as described above.
The active time width of the address signal and the address enable signal can be controlled.

【0006】アドレスイネーブル信号とアドレス信号の
AND条件をとった信号が周辺I/Oのチップセレクト
信号として用いられるので、結局、ウェイト信号のアク
ティブ時間幅をコントロールすることにより周辺I/O
のチップセレクト信号のアクティブ時間幅をコントロー
ルすることができる。
Since the signal which takes the AND condition of the address enable signal and the address signal is used as the chip select signal of the peripheral I / O, the peripheral I / O is eventually controlled by controlling the active time width of the wait signal.
The active time width of the chip select signal can be controlled.

【0007】逆に言えば、アクセスタイムの変化する周
辺I/Oに対してマイクロプロセッサが正常にアクセス
を行うにはウェイト信号のアクティブ時間幅をコントロ
ールしてやればよい。
Conversely, in order for the microprocessor to normally access the peripheral I / O whose access time changes, the active time width of the wait signal may be controlled.

【0008】さて図3において、2はメモリーなどの周
辺I/O、3はマイクロプロセッサから出力されるアド
レス信号とアドレスイネーブル信号のAND条件をとり
周辺I/Oのチップセレクト信号を生成するアドレスデ
コーダ、4はマイクロプロセッサおよびウェイト信号発
生手段にクロック信号を供給する発振器、5は装置に電
源を供給する電池、6はクロック信号とチップセレクト
信号をもとにマイクロプロセッサが正常に周辺にI/O
にアクセスするためのウェイト信号を発生させるウェイ
ト信号発生手段である。
In FIG. 3, reference numeral 2 is a peripheral I / O such as a memory, and 3 is an address decoder for generating a peripheral I / O chip select signal by ANDing an address signal output from a microprocessor and an address enable signal. Reference numeral 4 is an oscillator for supplying a clock signal to the microprocessor and the wait signal generating means, 5 is a battery for supplying power to the device, and 6 is a microprocessor for normal I / O to peripheral devices based on the clock signal and the chip select signal.
Is a wait signal generating means for generating a wait signal for accessing the.

【0009】以上を踏まえて従来例における制御装置の
動作を図3および図4(B)(C)を参照しながら説明
する。マイクロプロセッサ1には発振器4よりクロック
信号が供給されており、マイクロプロセッサ1はこのク
ロック信号に同期して周辺I/O2とのアクセスを行
う。マイクロプロセッサ1が周辺I/O2にアクセスし
ようとする際、マイクロプロセッサ1はT1ステートの
クロック信号の立ち上がりに同期してアドレス信号を出
力し、同クロック信号の立ち下がりに同期してアドレス
イネーブル信号を出力する。
Based on the above, the operation of the conventional control device will be described with reference to FIGS. 3 and 4B and 4C. A clock signal is supplied from the oscillator 4 to the microprocessor 1, and the microprocessor 1 accesses the peripheral I / O 2 in synchronization with this clock signal. When the microprocessor 1 attempts to access the peripheral I / O 2, the microprocessor 1 outputs the address signal in synchronization with the rising edge of the clock signal in the T1 state and outputs the address enable signal in synchronization with the falling edge of the clock signal. Output.

【0010】アドレスデコーダ3において、このアドレ
ス信号とアドレスイネーブル信号のAND条件をとった
信号が生成され、これがチップセレクト信号として周辺
I/O2とウェイト信号発生手段6に出力される。チッ
プセレクト信号がアクティブとなることによりマイクロ
プロセッサ1のバスの専有権を周辺I/O2が有したこ
ととなりマイクロプロセッサ1とのアクセスが可能とな
る。そのときウェイト信号発生手段6では前記チップセ
レクト信号により周辺I/O2がアクセスされたことが
わかるので発振器4より供給されたクロック信号に同期
して必要とされる時間分ウェイト信号をアクティブとす
る。このためマイクロプロセッサ1のマシンサイクルに
Twステートが挿入されその結果チップセレクト信号の
アクティブ時間幅が延長され、周辺I/O2のアクセス
タイムが保証される。
In the address decoder 3, a signal that satisfies the AND condition of this address signal and the address enable signal is generated, and this signal is output to the peripheral I / O 2 and the wait signal generating means 6 as a chip select signal. When the chip select signal becomes active, the peripheral I / O 2 has the exclusive right of the bus of the microprocessor 1, and the microprocessor 1 can be accessed. At this time, the wait signal generating means 6 recognizes that the peripheral I / O 2 has been accessed by the chip select signal, so that the wait signal is activated for the required time in synchronization with the clock signal supplied from the oscillator 4. Therefore, the Tw state is inserted in the machine cycle of the microprocessor 1, and as a result, the active time width of the chip select signal is extended and the access time of the peripheral I / O2 is guaranteed.

【0011】ここでウェイト信号のアクティブ時間幅を
どのくらいに設定するかについて説明する。装置の電源
は電池5により供給されており、電池5の電圧は使用時
間が増大するとともに低下する。一方、メモリーなどに
代表される周辺I/O2は電源電圧が低下するとともに
アクセスタイムが増大することが知られている。したが
って、装置の使用時間の増大に伴い周辺I/O2のアク
セスタイムが増大する。
Here, how to set the active time width of the wait signal will be described. The power supply of the device is supplied by the battery 5, and the voltage of the battery 5 decreases as the usage time increases. On the other hand, it is known that the peripheral I / O2 typified by a memory or the like has a reduced power supply voltage and an increased access time. Therefore, the access time of the peripheral I / O2 increases as the usage time of the device increases.

【0012】このことから、たとえば装置の使用開始時
すなわち電池電圧最大時においては図4(B)に示すよ
うにウェイト信号のアクティブ時間幅をクロック信号の
1サイクル分としTwステートを1ステート挿入するだ
けでアクセスタイムが保証できたものが、装置を使用し
電池電圧が低下するに従い、ある電圧以下では図4
(C)に示すようにTwステートを2ステート挿入しな
ければならない場合がありうる。このような場合、従来
の制御装置は電池電圧の低下をウェイト信号発生手段に
知らしめる構成となっていないため、装置を使用する電
池電圧範囲の最小値における周辺I/O2のアクセスタ
イムに対応したTwステートの挿入数を実現するウェイ
ト信号のアクティブ時間幅を設定することになる。
From this, for example, when the device is started to be used, that is, when the battery voltage is maximum, the active time width of the wait signal is set to one cycle of the clock signal and one Tw state is inserted as shown in FIG. 4B. Although the access time could be guaranteed only by using the device, as the battery voltage drops when the device is used, if the voltage is below a certain value,
As shown in (C), it may be necessary to insert two Tw states. In such a case, since the conventional control device is not configured to notify the wait signal generating means of the decrease in the battery voltage, it corresponds to the access time of the peripheral I / O2 in the minimum value of the battery voltage range in which the device is used. The active time width of the wait signal that realizes the number of inserted Tw states is set.

【0013】[0013]

【発明が解決しようとする課題】このように従来の制御
装置では、装置を使用する電池電圧範囲の最小値におけ
る周辺I/Oのアクセスタイムに対応してウェイト信号
のアクティブ時間幅を設定しているため、電池電圧の高
い装置の使用開始当初でも必要以上にTwステートが挿
入され、マイクロプロセッサにおける処理の低速化をま
ねくという問題があった。
As described above, in the conventional control device, the active time width of the wait signal is set corresponding to the access time of the peripheral I / O at the minimum value of the battery voltage range in which the device is used. Therefore, the Tw state is inserted more than necessary even at the beginning of use of a device having a high battery voltage, which causes a problem of slowing down the processing in the microprocessor.

【0014】本発明は上記問題を解決するもので、マイ
クロプロセッサが電池の電圧に対応した適切なタイミン
グで周辺I/Oとのアクセスを行い、マイクロプロセッ
サにおける処理の高速化を図ることができる制御装置を
提供することを目的としている。
The present invention solves the above-mentioned problems, and a control in which the microprocessor can access the peripheral I / O at an appropriate timing corresponding to the voltage of the battery to speed up the processing in the microprocessor. The purpose is to provide a device.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、本発明の制御装置は、電池の出力から一定の基準電
圧を生成する基準電圧生成手段と、電池の出力電圧を一
定の比率で分圧する分圧手段と、基準電圧生成手段から
の出力電圧と前記分圧手段の出力電圧を比較する電圧比
較手段と、電圧比較手段からの出力信号に応じてマイク
ロプロセッサに入力するウェイト信号のアクティブ時間
幅を変化させるウェイト信号発生手段を設けたものであ
る。
In order to achieve the above object, the control device of the present invention comprises a reference voltage generating means for generating a constant reference voltage from the output of the battery and a constant output voltage of the battery. A voltage dividing means for dividing voltage, a voltage comparing means for comparing the output voltage of the reference voltage generating means with the output voltage of the voltage dividing means, and an active wait signal input to the microprocessor according to the output signal from the voltage comparing means. A weight signal generating means for changing the time width is provided.

【0016】[0016]

【作用】本発明は、上記した構成により、電池電圧に関
らず一定の基準電圧を生成する基準電圧生成手段の出力
電圧と電池の出力電圧を一定の比率で分圧する分圧手段
の出力電圧を電圧比較手段において比較しその結果をウ
ェイト信号発生手段に信号として伝達することにより、
ウェイト信号発生手段は電池電圧がある一定電圧以下に
低下したかどうかを検知することが可能となり、したが
って電池電圧の変化に応じてマイクロプロセッサに入力
するウェイト信号のアクティブ時間幅を変化させること
ができる。
According to the present invention, with the above configuration, the output voltage of the voltage dividing means for dividing the output voltage of the reference voltage generating means for generating a constant reference voltage regardless of the battery voltage and the output voltage of the battery at a constant ratio. By the voltage comparing means and transmitting the result as a signal to the weight signal generating means,
The wait signal generating means can detect whether or not the battery voltage has dropped below a certain voltage, and therefore the active time width of the wait signal input to the microprocessor can be changed according to the change in the battery voltage. .

【0017】[0017]

【実施例】以下本発明の一実施例について図を参照しな
がら説明する。図1は本発明における制御装置の一実施
例のブロック図である。図1において、1はマイクロプ
ロセッサ、2はメモリーなどの周辺I/O、3はアドレ
スデコーダ、4は発振器、5は電池であり、これらは従
来例と同様のものであるので同一の番号を付し説明を省
略する。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of a control device according to the present invention. In FIG. 1, reference numeral 1 is a microprocessor, 2 is a peripheral I / O such as a memory, 3 is an address decoder, 4 is an oscillator, and 5 is a battery. However, the description is omitted.

【0018】10はクロック信号とチップセレクト信号を
もとに後述の電圧比較手段9からのウェイト切換信号に
応じたウェイト信号を発生させるウェイト信号発生手
段、7は電池の出力から一定の基準電圧を生成する3端
子レギュレータなどの基準電圧生成手段、8は電池の出
力電圧を一定の比率で分圧する分圧手段、9は基準電圧
生成手段からの出力電圧と前記分圧手段からの出力電圧
を比較する電圧比較手段で、基準電圧生成手段7からの
出力電圧の方が高い場合は”0”、分圧手段8からの出
力電圧の方が高い場合は”1”となるウェイト切換信号
をウェイト信号発生手段10に対し出力する。これに対応
してウェイト信号発生手段10は、ウェイト切換信号が”
1”である場合にはクロック信号1サイクル分の時間ア
クティブとなるウェイト信号を出力し、ウェイト切換信
号が”0”である場合はクロック信号2サイクル分の時
間アクティブとなるウェイト信号を出力する。
Reference numeral 10 is a weight signal generating means for generating a weight signal according to a weight switching signal from a voltage comparing means 9 which will be described later on the basis of the clock signal and the chip select signal, and 7 is a constant reference voltage from the output of the battery. Reference voltage generating means such as a three-terminal regulator for generating, 8 is a voltage dividing means for dividing the output voltage of the battery at a constant ratio, and 9 is a comparison between the output voltage from the reference voltage generating means and the output voltage from the voltage dividing means. In the voltage comparison means, the weight switching signal is "0" when the output voltage from the reference voltage generating means 7 is higher and "1" when the output voltage from the voltage dividing means 8 is higher. Output to the generating means 10. In response to this, the wait signal generating means 10 outputs the wait switching signal "
If it is "1", a wait signal that is active for one cycle of the clock signal is output, and if the wait switching signal is "0", a wait signal that is active for two cycles of the clock signal is output.

【0019】次に本実施例の制御装置の動作を図1およ
び図2を参照しながら説明する。マイクロプロセッサに
は発振器4よりクロック信号が供給されており、マイク
ロプロセッサ1はこのクロック信号に同期して周辺I/
O2とのアクセスを行う。マイクロプロセッサ1が周辺
I/O2にアクセスしようとする際、マイクロプロセッ
サ1はT1ステートのクロック信号の立ち上がりに同期
してアドレス信号を出力し、同クロック信号の立ち下が
りに同期してアドレスイネーブル信号が出力される。
Next, the operation of the control device of this embodiment will be described with reference to FIGS. 1 and 2. A clock signal is supplied from the oscillator 4 to the microprocessor, and the microprocessor 1 synchronizes with the clock signal to obtain the peripheral I / O.
Access to O2. When the microprocessor 1 attempts to access the peripheral I / O 2, the microprocessor 1 outputs the address signal in synchronization with the rising edge of the clock signal in the T1 state, and the address enable signal is output in synchronization with the falling edge of the clock signal. Is output.

【0020】アドレスデコーダ3において、このアドレ
ス信号とアドレスイネーブル信号のAND条件をとった
信号が生成され、これがチップセレクト信号として周辺
I/O2とウェイト信号発生手段10に出力される。チッ
プセレクト信号がアクティブとなることによりマイクロ
プロセッサ1のバスの専有権を周辺I/O2が有したこ
ととなり、マイクロプロセッサ1とのアクセスが可能と
なる。そのときウェイト信号発生手段10では前記チップ
セレクト信号により周辺I/O2がアクセスされたこと
がわかるので、発振器4より供給されたクロック信号に
同期してウェイト切換信号に対応した時間分アクティブ
なウェイト信号を発生させる。このためマイクロプロセ
ッサ1のマシンサイクルにTwステートが挿入されその
結果チップセレクト信号のアクティブ時間幅が延長さ
れ、周辺I/O2のアクセスタイムが保証される。
The address decoder 3 generates a signal that satisfies the AND condition of this address signal and the address enable signal, and outputs this signal to the peripheral I / O 2 and the wait signal generating means 10 as a chip select signal. When the chip select signal becomes active, the peripheral I / O 2 has the exclusive right of the bus of the microprocessor 1, and the microprocessor 1 can be accessed. At that time, the wait signal generating means 10 knows that the peripheral I / O 2 has been accessed by the chip select signal. Therefore, in synchronization with the clock signal supplied from the oscillator 4, the wait signal active for the time corresponding to the wait switching signal is active. Generate. Therefore, the Tw state is inserted in the machine cycle of the microprocessor 1, and as a result, the active time width of the chip select signal is extended and the access time of the peripheral I / O2 is guaranteed.

【0021】図2(A)は装置の使用開始当初で電池5
の電圧が高いときのマイクロプロセッサ1の周辺I/O
2へのアクセスの様子を示すタイミングチャートであ
り、この時点ではまだ分圧手段8からの出力電圧の方が
基準電圧生成手段7からの出力電圧より高くウェイト切
換信号は”1”である。したがって、ウェイト信号発生
手段10はクロック信号1サイクル分の時間アクティブと
なり、Twステートが1ステート挿入され、その分チッ
プセレクト信号のアクティブ時間幅が延長される。
FIG. 2 (A) shows a battery 5 at the beginning of use of the device.
Peripheral I / O of the microprocessor 1 when the voltage of the
2 is a timing chart showing how to access 2; at this time, the output voltage from the voltage dividing means 8 is still higher than the output voltage from the reference voltage generating means 7, and the weight switching signal is "1". Therefore, the wait signal generating means 10 becomes active for one clock signal cycle, one Tw state is inserted, and the active time width of the chip select signal is extended by that amount.

【0022】図2(B)は装置の使用時間が相当経過し
電池5の電圧が低下したときのマイクロプロセッサ1の
周辺のI/O2へのアクセスの様子を示すタイミングチ
ャートであり、この時点では基準電圧生成手段7からの
出力電圧の方が分圧手段8からの出力電圧より高くウェ
イト切換信号は”0”である。したがって、ウェイト信
号発生手段10はクロック信号2サイクル分の時間アクテ
ィブとなり、Twステートが2ステート挿入され、その
分チップセレクト信号のアクティブ時間幅が延長され
る。
FIG. 2B is a timing chart showing how the peripheral I / O 2 of the microprocessor 1 is accessed when the voltage of the battery 5 drops after a considerable amount of time the device has been used. The output voltage from the reference voltage generating means 7 is higher than the output voltage from the voltage dividing means 8 and the weight switching signal is "0". Therefore, the wait signal generating means 10 becomes active for two clock signal cycles, two Tw states are inserted, and the active time width of the chip select signal is extended by that amount.

【0023】ここで、周辺I/O2のアクセスタイム
が、Twステートが1ステート挿入されたときのチップ
セレクト信号のアクティブ時間幅よりも大きくなる電池
電圧において、電圧比較手段9がちょうど”0”のウェ
イト切換信号を出力するように基準電圧生成手段7の基
準電圧と分圧手段8の分圧比を設定しておけば、マイク
ロプロセッサ1が電池の電圧に対応した適切なタイミン
グで周辺I/Oとのアクセスを行い、マイクロプロセッ
サ1における処理の高速化を図ることができる。
Here, at the battery voltage at which the access time of the peripheral I / O2 becomes larger than the active time width of the chip select signal when one Tw state is inserted, the voltage comparison means 9 is just "0". If the reference voltage of the reference voltage generating means 7 and the voltage dividing ratio of the voltage dividing means 8 are set so as to output the weight switching signal, the microprocessor 1 operates as the peripheral I / O at an appropriate timing corresponding to the voltage of the battery. Can be accessed to speed up the processing in the microprocessor 1.

【0024】[0024]

【発明の効果】以上のように本発明によれば電池の出力
電圧から一定の基準電圧を生成する基準電圧生成手段
と、電池の出力電圧を一定の比率で分圧する分圧手段
と、基準電圧生成手段からの出力電圧と前記分圧手段の
出力電圧を比較する電圧比較手段と、電圧比較手段から
の出力信号に応じてマイクロプロセッサに入力するウェ
イト信号のアクティブ時間幅を変化させるウェイト信号
発生手段を設けたので、電池電圧の変化をウェイト発生
手段が検知し電池電圧の変化に応じてマイクロプロセッ
サに入力するウェイト信号のアクティブ時間幅を変化さ
せることが可能となり、これによりマイクロプロセッサ
が電池電圧に対応した適切なタイミングで周辺I/Oと
のアクセスを行い、マイクロプロセッサにおける処理の
高速化を図ることができる優れた制御装置が得られる。
As described above, according to the present invention, the reference voltage generating means for generating a constant reference voltage from the output voltage of the battery, the voltage dividing means for dividing the output voltage of the battery at a constant ratio, and the reference voltage. A voltage comparison means for comparing the output voltage from the generation means with the output voltage of the voltage dividing means, and a weight signal generation means for changing the active time width of the wait signal input to the microprocessor according to the output signal from the voltage comparison means. Since the change in the battery voltage is detected by the weight generation means, it is possible to change the active time width of the wait signal input to the microprocessor according to the change in the battery voltage. It is possible to access the peripheral I / O at an appropriate and appropriate timing to speed up the processing in the microprocessor. That excellent control device is obtained.

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

【図1】本発明における制御装置の一実施例のブロック
FIG. 1 is a block diagram of an embodiment of a control device according to the present invention.

【図2】本発明における制御装置の一実施例のタイミン
グチャート図
FIG. 2 is a timing chart of an embodiment of a control device according to the present invention.

【図3】従来例における制御装置のブロック図FIG. 3 is a block diagram of a control device in a conventional example.

【図4】従来例における制御装置のタイミングチャート
FIG. 4 is a timing chart of a control device in a conventional example.

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

1 マイクロプロセッサ 2 周辺I/O 3 アドレスデコーダ 4 発振器 5 電池 7 基準電圧生成手段 8 分圧手段 9 電圧比較手段 10 ウェイト信号発生手段 1 Microprocessor 2 Peripheral I / O 3 Address Decoder 4 Oscillator 5 Battery 7 Reference Voltage Generating Means 8 Voltage Dividing Means 9 Voltage Comparing Means 10 Wait Signal Generating Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外部からウェイト信号を入力することに
より周辺I/Oへのアクセスタイミング可変のマイクロ
プロセッサと、装置に電源を供給する電池と、前記電池
の出力から一定の基準電圧を生成する基準電圧生成手段
と、前記電池の出力電圧を一定の比率で分圧する分圧手
段と、前記基準電圧生成手段からの出力電圧と前記分圧
手段の出力電圧を比較する電圧比較手段と、前記電圧比
較手段からの出力信号に応じて前記マイクロプロセッサ
に入力するウェイト信号のアクティブ時間幅を変化させ
るウェイト信号発生手段を備えたことを特徴とする制御
装置。
1. A microprocessor having a variable access timing to peripheral I / O by inputting a wait signal from the outside, a battery for supplying power to the device, and a reference for generating a constant reference voltage from the output of the battery. Voltage generating means, voltage dividing means for dividing the output voltage of the battery at a constant ratio, voltage comparing means for comparing the output voltage from the reference voltage generating means with the output voltage of the voltage dividing means, and the voltage comparison A control device comprising a wait signal generating means for changing an active time width of a wait signal input to the microprocessor according to an output signal from the means.
JP19034592A 1992-07-17 1992-07-17 Control device Expired - Fee Related JP3204743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19034592A JP3204743B2 (en) 1992-07-17 1992-07-17 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19034592A JP3204743B2 (en) 1992-07-17 1992-07-17 Control device

Publications (2)

Publication Number Publication Date
JPH0635696A true JPH0635696A (en) 1994-02-10
JP3204743B2 JP3204743B2 (en) 2001-09-04

Family

ID=16256656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19034592A Expired - Fee Related JP3204743B2 (en) 1992-07-17 1992-07-17 Control device

Country Status (1)

Country Link
JP (1) JP3204743B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024024516A1 (en) * 2022-07-29 2024-02-01 ソニーグループ株式会社 Communication device, drive device, display device, and communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024024516A1 (en) * 2022-07-29 2024-02-01 ソニーグループ株式会社 Communication device, drive device, display device, and communication method

Also Published As

Publication number Publication date
JP3204743B2 (en) 2001-09-04

Similar Documents

Publication Publication Date Title
US5652536A (en) Non-glitch clock switching circuit
US8566627B2 (en) Adaptive power control
US8400868B2 (en) Circuit and method for controlling a clock synchronizing circuit for low power refresh operation
US7429898B2 (en) Clock signal generating circuit, semiconductor integrated circuit and method for controlling a frequency division ratio
US20040133758A1 (en) Memory controller, interface device and method using a mode selection signal to support different types of memories
EP0348045A2 (en) Method of controlling the operating speed of an information processing unit, and related information processing unit
US6075393A (en) Clock synchronous semiconductor device system and semiconductor devices used with the same
KR0169288B1 (en) Microcomputer system
KR20070035943A (en) Semiconductor memory device
US5167031A (en) Variable frequency clock pulse generator for microcomputer
JP3728468B2 (en) Memory control device
US6968436B2 (en) Memory controller that controls supply timing of read data
JPH0635696A (en) Control device
JPH04255043A (en) Improved external-memory access control system
JP3190121B2 (en) Control device
JP2000200110A (en) Voltage drop circuit
US5940599A (en) Data processor
JP5188119B2 (en) Memory controller
KR200349232Y1 (en) Micro control unit having dynamic random access memory
JPH05315898A (en) Trigger synchronization circuit
KR100386949B1 (en) Digital data processing system
JPH09114540A (en) Clock generating device
JP2005107648A (en) Memory controller
JP3450667B2 (en) Data processor
JPH06290586A (en) Semiconductor memory

Legal Events

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