JPH02293915A - Micro computer - Google Patents
Micro computerInfo
- Publication number
- JPH02293915A JPH02293915A JP1115729A JP11572989A JPH02293915A JP H02293915 A JPH02293915 A JP H02293915A JP 1115729 A JP1115729 A JP 1115729A JP 11572989 A JP11572989 A JP 11572989A JP H02293915 A JPH02293915 A JP H02293915A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- clock
- reference time
- counter
- subsystem
- 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.)
- Pending
Links
- 230000010355 oscillation Effects 0.000 claims abstract description 21
- 238000009966 trimming Methods 0.000 abstract description 2
- 238000012790 confirmation Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロコンピュータに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a microcomputer.
従来、この種のマイクロコンピュータは、通常動作時に
使用するメイン・システムクロック発振回路と時計用及
びバックアップ時に使用するサブ・システムクロック発
振回路を内蔵している。Conventionally, this type of microcomputer has built-in a main system clock oscillation circuit used during normal operation and a subsystem clock oscillation circuit used for clock and backup.
第3図は従来の一例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.
バワーオン・リセット時通常CPUは、メイン・システ
ムクロックにて動作しており、サブ・システムクロック
による動作を必要とする場合には、ソフトウェアにてあ
らかじめ発振を確認していた。At the time of power-on reset, the CPU normally operates using the main system clock, and if operation using the sub-system clock is required, oscillation is checked in advance by software.
上述した従来のマイクロコンピュータでは、サブ・シス
テム・クロックにて動作を行う場合(周辺ハードを含む
)には、あらかじめ周辺ハードに対してサブ・システム
・クロックを供給し、サブ・システム・クロックが発振
している事を周辺ハードの動作によってソフト的に確認
する方法を取っているので周辺ハードの動作を確認して
いる時間、又は間接的にサブ・システム・クロックの発
振を確認しているためプログラムの処理が一時的に中断
するという欠点がある。In the conventional microcomputer described above, when operating on the subsystem clock (including peripheral hardware), the subsystem clock is supplied to the peripheral hardware in advance, and the subsystem clock oscillates. Since we are using a software method to check what is happening by checking the operation of the peripheral hardware, we are checking the operation of the peripheral hardware, or indirectly checking the oscillation of the subsystem clock, so we are checking the program. The disadvantage is that the processing is temporarily interrupted.
本発明のマイクロコンピュータは、第1のクロック発振
回路に付随するクロック分周回路及び第10カウンタ回
路により構成される基準時間発生回路と、第2のクロッ
ク発振回路に付随する第二のカウンタ回路と、前記基準
時間発生回路による基準時間毎に前記第二〇カウンタ回
路のカウント値とあらかじめ設定されたデータを比較し
、その比較結果により前記第二〇カウンタ回路のプリセ
ット値を制御する比較回路とを含んで構成される。The microcomputer of the present invention includes a reference time generation circuit composed of a clock frequency dividing circuit and a tenth counter circuit attached to a first clock oscillation circuit, and a second counter circuit attached to a second clock oscillation circuit. , a comparison circuit that compares the count value of the 20th counter circuit with preset data every reference time by the reference time generation circuit, and controls the preset value of the 20th counter circuit based on the comparison result. It consists of:
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.
メイン・システム・クロック発振回路1で発振されたク
ロックは、基準時間発生回路12に送られ基準時間を発
生する。基準時間発生回路12は、クロック分周回路3
とカウント回路4によって構成されている。The clock oscillated by the main system clock oscillation circuit 1 is sent to a reference time generation circuit 12 to generate a reference time. The reference time generating circuit 12 is a clock frequency dividing circuit 3.
and a count circuit 4.
一方サブ・システム・クロック発振回路2で発振された
クロックはカウンタ回路7によりカウントされ、基準時
間発生回路12より発生される基準時間信号l3により
あらかじめデータ保持回路5に設定したカウント・デー
タと、カウンタ回路7のカウント値が比較回路6により
比較され一致した場合は、一致信号9が発生される。ま
た不一致の場合は、カウンタ回路7ヘリセット信号8を
送りサブ・システム・クロックのカウントを再度行う。On the other hand, the clock oscillated by the subsystem clock oscillation circuit 2 is counted by the counter circuit 7, and the count data set in advance in the data holding circuit 5 and the counter circuit 7 are counted by the counter circuit 7. The count values of the circuit 7 are compared by the comparison circuit 6 and if they match, a match signal 9 is generated. If they do not match, a reset signal 8 is sent to the counter circuit 7 and the subsystem clock is counted again.
このように基準時間を設定しサブ・システム・クロック
の発振の確認と発振周波数のトリミングを行うことが可
能となる。By setting the reference time in this way, it is possible to check the oscillation of the subsystem clock and trim the oscillation frequency.
第2図は本発明第2の実施例のブロック図である。FIG. 2 is a block diagram of a second embodiment of the present invention.
基準時間発生回路12より基準時間信号13が発生され
るたびに制御回路14では比較回路6よりの一致リクエ
スト信号15の有無を確認し、致信号9及びリセット信
号をカウンタ回路7に対して送りカウントをクリアする
。Every time the reference time signal 13 is generated by the reference time generation circuit 12, the control circuit 14 checks the presence or absence of the match request signal 15 from the comparison circuit 6, and sends the match signal 9 and reset signal to the counter circuit 7 for counting. Clear.
データ保持回路5に設定されたカウント・データとカウ
ンタ回路7のカウント・データを逐次比較し、一致する
と制御回路14に一致リクエスト信号を送る。The count data set in the data holding circuit 5 and the count data of the counter circuit 7 are successively compared, and if they match, a match request signal is sent to the control circuit 14.
以上説明したように本発明のマイクロコンピュータは、
サブ・システム・クロック発振回路にカウンタ機構、メ
イン・システム・クロック発振回路に基準時間発生回路
、をそれぞれ付随させることによりサブ・システム・ク
ロックの発振を確認する手段が他の周辺ハードを流用す
ることなく行える他、サブ・システム・クロックのトリ
ミングも基準時間発生回路より出力される基準時間をベ
ースにソフト的に行えるという効果がある。As explained above, the microcomputer of the present invention has
By attaching a counter mechanism to the subsystem clock oscillation circuit and a reference time generation circuit to the main system clock oscillation circuit, the means for checking the oscillation of the subsystem clock can be made by reusing other peripheral hardware. In addition to this, trimming of the subsystem clock can also be done by software based on the reference time output from the reference time generation circuit.
さらにサブ・システム・クロックの発振[にソフト的に
もハード的にもウェイト時間を考慮せずシステムが構築
できるという効果がある。Furthermore, the oscillation of the subsystem clock has the effect that a system can be constructed without considering wait time in terms of both software and hardware.
第1図は本発明の第1の実施例を示すブロック図、第2
図は本発明の第2の実施例を示すブロック図、第3図は
従来の一例を示すブロック図である。
1・・・・・・メイン・システム・クロック発振回路、
2・・・・・・サブ・システム・クロック発振回路、3
・・・・・・クロック分周回路、4・・・・・・カウン
ト回路、5・・・・・・データ保持回路、6・・・・・
・比較回路、7・・・・・・カウンタ回路、8・・・・
・・リセット信号、9・・・・・・一致信号、10・・
・・・・セレクタ、11・・・・・・CPUクロック信
号、12・・・・・・基準時間発生回路、13・・・・
・・基準時間信号、14・・・・・・制御回路、l5・
・・・・・一致リクエスト信号。
代理人 弁理士 内 原 晋
第
口
第
Z
あ
垢
膳FIG. 1 is a block diagram showing a first embodiment of the present invention;
The figure is a block diagram showing a second embodiment of the present invention, and FIG. 3 is a block diagram showing a conventional example. 1... Main system clock oscillation circuit,
2...Sub system clock oscillation circuit, 3
...Clock divider circuit, 4...Count circuit, 5...Data holding circuit, 6...
・Comparison circuit, 7... Counter circuit, 8...
...Reset signal, 9... Match signal, 10...
...Selector, 11...CPU clock signal, 12...Reference time generation circuit, 13...
...Reference time signal, 14... Control circuit, l5.
...Match request signal. Agent Patent Attorney Susumu Uchihara Daiguchi Z Akuzen
Claims (1)
ピュータにおいて、第一のクロック発振回路に付随する
第一のクロック分周回路及び第一のカウンタ回路より構
成される基準時間発生回路と、第二のクロック発振回路
に付随する第二のカウンタ回路と、前記基準時間発生回
路による基準時間毎に前記第二のカウンタ回路のカウン
ト値とあらかじめ設定されたデータを比較しその比較結
果により前記第二のカウンタ回路のプリセット値を制御
する比較回路を含むことを特徴とするマイクロコンピュ
ータIn a microcomputer incorporating a plurality of CPU clock oscillation circuits, a reference time generation circuit consisting of a first clock frequency division circuit and a first counter circuit attached to the first clock oscillation circuit, and a second clock oscillation circuit are provided. A second counter circuit attached to the circuit compares the count value of the second counter circuit with preset data at each reference time by the reference time generating circuit, and based on the comparison result, the second counter circuit A microcomputer characterized by including a comparison circuit that controls a preset value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1115729A JPH02293915A (en) | 1989-05-08 | 1989-05-08 | Micro computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1115729A JPH02293915A (en) | 1989-05-08 | 1989-05-08 | Micro computer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02293915A true JPH02293915A (en) | 1990-12-05 |
Family
ID=14669659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1115729A Pending JPH02293915A (en) | 1989-05-08 | 1989-05-08 | Micro computer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02293915A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1999001811A1 (en) * | 1997-07-03 | 1999-01-14 | Seiko Epson Corporation | Semiconductor integrated circuit device, semiconductor device, and electronic apparatus including it |
-
1989
- 1989-05-08 JP JP1115729A patent/JPH02293915A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1999001811A1 (en) * | 1997-07-03 | 1999-01-14 | Seiko Epson Corporation | Semiconductor integrated circuit device, semiconductor device, and electronic apparatus including it |
US6249167B1 (en) | 1997-07-03 | 2001-06-19 | Seiko Epson Corporation | Semiconductor integrated circuit, semiconductor device, and electronic equipment comprising the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6374364B1 (en) | Fault tolerant computing system using instruction counting | |
US3932847A (en) | Time-of-day clock synchronization among multiple processing units | |
US4837702A (en) | Electronic postage meter having an infinite loop lockout arrangement | |
CA1236583A (en) | Device for improving detection of unoperational states in non-attended driven processor | |
RU2134446C1 (en) | Method for controlling primitive program overflow by messages in multiprocessor control system (versions) | |
US6321289B1 (en) | Apparatus for automatically notifying operating system level applications of the occurrence of system management events | |
JPH02293915A (en) | Micro computer | |
US6463492B1 (en) | Technique to automatically notify an operating system level application of a system management event | |
JPH1153201A (en) | Method and device for processing plural interruptions | |
US6976107B2 (en) | Adaptive spin latches | |
JPH03126131A (en) | Execution speed control system for central processing unit | |
JP3314791B2 (en) | Synchronization method for multiprocessor systems | |
JPH076155A (en) | Single chip microcomputer | |
JP2653654B2 (en) | Computer system runaway monitoring device | |
KR950009429B1 (en) | The processing time out management method in a real-time multiprocessing system | |
JP3129397B2 (en) | Emulation device for microcomputer | |
JPH0773278B2 (en) | Multiprocessor system | |
KR950009430B1 (en) | The processing time delay method ina real-time multiprocessing system | |
JP3081234B2 (en) | How to check CPU board | |
JPH09198280A (en) | Method for generating pulse for system monitoring and real time operating system provided with pulse generation function for monitoring | |
Golatowski et al. | Rapid Prototyping with Reconfigurable Hardware for Embedded Hard Real-Time Systems | |
JPH01228007A (en) | Oscillation control device | |
JPS62184542A (en) | Interruption device | |
JPS58144964A (en) | Multiprocessor system | |
JPH06295291A (en) | Multiprocessor semiconductor integrated circuit device |