JPH0475549B2 - - Google Patents
Info
- Publication number
- JPH0475549B2 JPH0475549B2 JP58206179A JP20617983A JPH0475549B2 JP H0475549 B2 JPH0475549 B2 JP H0475549B2 JP 58206179 A JP58206179 A JP 58206179A JP 20617983 A JP20617983 A JP 20617983A JP H0475549 B2 JPH0475549 B2 JP H0475549B2
- Authority
- JP
- Japan
- Prior art keywords
- microprocessor
- output
- frequency
- signal
- output terminal
- 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 - Lifetime
Links
- MEGPURSNXMUDAE-RLMOJYMMSA-N scopoline Chemical group C([C@H](O1)C2)[C@@H]3N(C)[C@H]2[C@H]1[C@H]3O MEGPURSNXMUDAE-RLMOJYMMSA-N 0.000 claims description 13
- 238000000034 method Methods 0.000 claims description 9
- 101000685663 Homo sapiens Sodium/nucleoside cotransporter 1 Proteins 0.000 claims description 8
- 102100023116 Sodium/nucleoside cotransporter 1 Human genes 0.000 claims description 8
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 239000004973 liquid crystal related substance Substances 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 239000013078 crystal Substances 0.000 description 4
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 description 3
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 description 3
- 102100021133 Nuclear protein 1 Human genes 0.000 description 3
- 101100421134 Schizosaccharomyces pombe (strain 972 / ATCC 24843) sle1 gene Proteins 0.000 description 3
- 230000010355 oscillation Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Multi Processors (AREA)
Description
【発明の詳細な説明】
(イ) 産業上の利用分野
本発明は、マイクロプロセツサを並列運転する
場合の同期化方法に関し、特に、システムクロツ
ク用の基準周波数信号を比較的低周波に分周する
分周回路が内蔵されたマイクロプロセツサの並列
運転同期化方法に関する。[Detailed Description of the Invention] (a) Field of Industrial Application The present invention relates to a synchronization method when microprocessors are operated in parallel, and in particular, to a method for synchronizing a system clock reference frequency signal into relatively low frequencies. This invention relates to a method for synchronizing parallel operation of a microprocessor with a built-in frequency dividing circuit.
(ロ) 従来技術
一般に、通常のマイクロプロセツサを並列運転
させる場合には、互いの動作を完全に同期させる
必要は無く、必要に応じてデータの要求、あるい
は、データの転送を非同期的に行つていた。一
方、近年、液晶表示装置をダイナミツク駆動方式
で直接駆動することのできる液晶駆動回路及び液
晶を駆動する周波数を作成する分周回路の内蔵さ
れたマイクロプロセツサが開発され、多方面に用
いられつつある。しかし、この様なマイクロプロ
セツサでは、駆動用の端子数に限りがあるため、
表示素子数の多い液晶表示装置を駆動する場合に
は、複数のマイクロプロセツサを並列運転させな
ければならない。この場合には、液晶表示装置の
複数の共通電極は一つのマイクロプロセツサによ
つて駆動され、セグメント電極は各々のマイクロ
プロセツサの駆動用出力端子によつて駆動される
ため、共通電極の駆動周波数と、セグメント電極
の駆動信号とは完全に同期させなければならな
い。(B) Prior art Generally, when normal microprocessors are operated in parallel, it is not necessary to completely synchronize their operations, and data requests or data transfers are performed asynchronously as necessary. It was on. On the other hand, in recent years, microprocessors with a built-in liquid crystal drive circuit that can directly drive a liquid crystal display device using a dynamic drive method and a frequency dividing circuit that creates a frequency for driving the liquid crystal have been developed, and are being used in many fields. be. However, such microprocessors have a limited number of drive pins, so
When driving a liquid crystal display device with a large number of display elements, a plurality of microprocessors must be operated in parallel. In this case, the plurality of common electrodes of the liquid crystal display device are driven by one microprocessor, and the segment electrodes are driven by the driving output terminals of each microprocessor, so that the common electrodes cannot be driven. The frequency and drive signal of the segment electrodes must be perfectly synchronized.
(ハ) 発明の目的
本発明は上述した点に鑑みて為されたものであ
り、マイクロプロセツサを並列運転させる場合、
表示装置の共通電極の駆動周波数とセグメント電
極の駆動信号とを完全に同期化させる方法を提供
するものである。(c) Purpose of the invention The present invention has been made in view of the above points, and when operating microprocessors in parallel,
The present invention provides a method for completely synchronizing the driving frequency of the common electrode of a display device and the driving signal of the segment electrodes.
(ニ) 発明の構成
本発明は、システムクロツク用の基準周波数信
号を比較的低周波に分周する分周回路が内蔵され
た第1のマイクロプロセツサ及び第2のマイクロ
プロセツサを並列運転する際の同期化方法に於い
て、前記第2のマイクロプロセツサの周波数信号
入力端子OSCINに前記第1のマイクロプロセツ
サの周波数信号出力端子OSCOUTから出力され
る基準周波数信号を供給し、前記第2のマイクロ
プロセツサの前記分周回路が前記基準周波数信号
を分周することによつて前記分周回路からキヤリ
ーが発生したとき、前記第2のマイクロプロセツ
サの出力端子CNT1から前記第1のマイクロプ
ロセツサの入力端子INTに前記キヤリーの発生
を示す信号を印加し、前記キヤリーの発生を示す
信号が印加された前記第1のマイクロプロセツサ
は、前記第2のマイクロプロセツサの周波数信号
入力端子OSCINに接続された第1のマイクロプ
ロセツサの出力端子OUT1を所定のレベルにす
ることによつて、前記第2のマイクロプロセツサ
の動作を停止させ、その後、前記第1のマイクロ
プロセツサの分周回路からキヤリーが発生したと
き、前記第1のマイクロプロセツサは出力端子
OUT1を介して前記第2のマイクロプロセツサ
の周波数入力端子OSCINを解放状態として前記
第2のマイクロプロセツサの動作を再開させ、前
記第1のマイクロプロセツサと前記第2のマイク
ロプロセツサの動作を同期させる構成である。(d) Structure of the Invention The present invention provides parallel operation of a first microprocessor and a second microprocessor each having a built-in frequency dividing circuit that divides a reference frequency signal for a system clock into a relatively low frequency. In the synchronization method when performing the synchronization, a reference frequency signal outputted from the frequency signal output terminal OSCOUT of the first microprocessor is supplied to the frequency signal input terminal OSCIN of the second microprocessor; When the frequency divider circuit of the second microprocessor divides the reference frequency signal and a carry occurs from the frequency divider circuit, the signal is output from the output terminal CNT1 of the second microprocessor to the first one. The signal indicating the occurrence of carry is applied to the input terminal INT of the microprocessor, and the first microprocessor to which the signal indicating the occurrence of carry is applied receives the frequency signal input of the second microprocessor. The operation of the second microprocessor is stopped by setting the output terminal OUT1 of the first microprocessor connected to the terminal OSCIN to a predetermined level, and then the operation of the first microprocessor is stopped. When a carry occurs from the frequency dividing circuit, the first microprocessor
The frequency input terminal OSCIN of the second microprocessor is released via OUT1 to restart the operation of the second microprocessor, and the operations of the first microprocessor and the second microprocessor are restarted. This is a configuration that synchronizes the
(ホ) 実施例
本実施例で使用されるマイクロプロセツサのブ
ロツク図を第1図に示し、簡単に説明する。第1
図に示されたマイクロプロセツサは電子時計用に
好都合な4ビツトワンチツプマイクロプロセツサ
であり、発振回路1は周波数信号入力端子
OSCIN及び周波数信号出力端子OSCOUTに接続
された水晶振動子2によつて決定される周波数の
発振により、例えば、32768Hzの基準周波数信号
を出力し、この基準周波数信号は第1の分周回路
3と第2の分周回路4によつて1Hzの信号に分周
される。また、クロツクジエネレータ5は基準周
波数信号を用いてマイクロプロセツサを動作させ
るためのシステムクロツクを作成し、制御回路6
に印加する。(e) Example A block diagram of a microprocessor used in this example is shown in FIG. 1, and will be briefly described. 1st
The microprocessor shown in the figure is a 4-bit one-chip microprocessor convenient for electronic watches, and the oscillation circuit 1 has a frequency signal input terminal.
By oscillating the frequency determined by the crystal oscillator 2 connected to OSCIN and the frequency signal output terminal OSCOUT, a reference frequency signal of, for example, 32768Hz is output, and this reference frequency signal is transmitted to the first frequency dividing circuit 3. The second frequency dividing circuit 4 divides the frequency into a 1 Hz signal. Furthermore, the clock generator 5 uses the reference frequency signal to create a system clock for operating the microprocessor, and the control circuit 6
to be applied.
制御回路6は、ROM7に記憶されたプログラ
ムの命令を実行することにより、入出力回路8、
液晶駆動回路9、出力回路10、RAM11、
ALU12、第2の分周回路4及びクロツクジエ
ネレータ5等を制御するものである。そして入出
力回路8は入出力命令が実行されたとき、入出力
端子I/Oに印加されたデータをデータバス13
に取り込む動作、あるいは、データバス13に送
出されたデータを入出力端子I/Oに出力する動
作を行う。また、液晶駆動回路9は、周知の1/
3バイアス1/3デユーテイ方式のダイナミツク
駆動方式が採用され、表示命令が実行されたと
き、データバス13に送出されたデータに基い
て、第2の分周回路4から出力される、例えば、
32Hzあるいは64Hzの分周出力を用いてセグメント
駆動信号を作成して出力端子seg1〜seg nに出力
すると共に、共通電極を駆動する信号を出力端子
COM1〜COM3に出力する。更に、出力回路1
0は、出力命令が実行されたとき、データバス1
3に送出されたデータを取り込み、出力端子
OUT1〜OUTNに出力するものであるが、出力
端子OUT1〜OUTNは、オープンドレイン型の
出力端子であり、出力端子OUT1〜OUTNに
各々ドレインが接続され、ソースが電源VDDに接
続されたPチヤンネル型のMOSトランジスタ1
4が各々設けられ、出力回路10がゲートを制御
することによつてデータが出力される。一方、第
2の分周回路4は、リセツト命令が実行されたと
き、制御回路6によつてリセツトされる。 The control circuit 6 executes the instructions of the program stored in the ROM 7 to control the input/output circuits 8,
Liquid crystal drive circuit 9, output circuit 10, RAM 11,
It controls the ALU 12, the second frequency dividing circuit 4, the clock generator 5, etc. When the input/output command is executed, the input/output circuit 8 transfers the data applied to the input/output terminal I/O to the data bus 13.
The data bus 13 performs an operation of importing the data into the data bus 13 or outputting the data sent to the data bus 13 to the input/output terminal I/O. In addition, the liquid crystal drive circuit 9 is a well-known 1/2
A 3-bias 1/3 duty dynamic drive system is adopted, and when a display command is executed, the second frequency divider circuit 4 outputs, for example, based on the data sent to the data bus 13.
Create a segment drive signal using the 32Hz or 64Hz divided output and output it to the output terminals seg1 to seg n, and also output the signal to drive the common electrode to the output terminal.
Output to COM1 to COM3. Furthermore, output circuit 1
0 indicates data bus 1 when the output instruction is executed.
3. Take in the data sent to output terminal
The output terminals OUT1 to OUTN are open-drain type output terminals, and the drains are connected to the output terminals OUT1 to OUTN, respectively, and the sources are connected to the power supply VDD . type MOS transistor 1
4 are provided respectively, and data is output by controlling the gates of the output circuit 10. On the other hand, the second frequency dividing circuit 4 is reset by the control circuit 6 when the reset command is executed.
更に、制御回路6が有する重要な機能の一つ
に、ホールト及びホールト解除に関する機能があ
る。この機能は、通常、ホールト命令が実行され
ると制御回路6によつてクロツクジエネレータ5
が制御され、システムクロツクの発生が停止、即
ち、マイクロプロセツサの動作が停止されるが、
動作を再開させる場合、その条件がプログラムに
よつて設定できることである。即ち、プログラム
によつて、割込み入力端子INTの信号が変化し
た場合、あるいは、第2の分周回路4からキヤリ
ーCaが出力された場合を設定することができる。
尚、割込み入力端子INTの信号変化が単にホー
ルト解除のみに設定された場合、割込み入力端子
INTの信号変化で割込みは禁止される。 Furthermore, one of the important functions of the control circuit 6 is a function related to halting and halt release. This function is normally performed by the clock generator 5 by the control circuit 6 when a halt instruction is executed.
is controlled, the generation of the system clock is stopped, that is, the operation of the microprocessor is stopped, but
When restarting the operation, the conditions can be set by a program. That is, the program can set the case where the signal at the interrupt input terminal INT changes or the case where the carry Ca is output from the second frequency dividing circuit 4.
In addition, if the signal change of the interrupt input terminal INT is set only to release the halt state, the interrupt input terminal
Interrupts are disabled when the INT signal changes.
第2図は本発明の実施例を示すブロツク図であ
り、第1のマイクロプロセツサ15(以下メイン
CPUとする)及び第2のマイクロプロセツサ1
6(以下サブCPUとする)を用いて液晶表示装
置17を駆動する場合である。メインCPU15
及びサブCPU16は、第1図に示された構成を
有するマイクロプロセツサであり、メインCPU
15の周波数信号入力端子OSCINと周波数信号
出力端子OSCOUTとの間には、水晶振動子18
が接続され、水晶振動子18によつて作成された
基準周波数信号はメインCPU15の出力端子
OSCOUTから抵抗19を介してサブCPU16の
入力端子OSCINに印加され、メインCPU15及
びサブCPU16は、同一の基準周波数信号で動
作する様接続される。また、サブCPU16の入
力端子OSCINは、メインCPU15のオープンド
レイン型の出力端子OUT1に接続されている。
即ち、メインCPU15の出力端子OUT1に
“1”を出力した場合には、第1図に示されたP
チヤンネルMOSトランジスタ14がオンするた
め、サブCPU16の入力端子OSCINは電源VDD
レベルに引き上げられて固定されるので、基準周
波数信号が印加されなくなり、サブCPU16の
動作が停止される。更に、サブCPU16の入出
力端子I/Oの一つ(CNT1とする)とメイン
CPU15の割込み入力端子INTが接続され、入
出力端子CNT1は、サブCPU16の第2の分周
回路4からキヤリーCaが出力されたとき、それ
を示す信号が出力される。 FIG. 2 is a block diagram showing an embodiment of the present invention, in which the first microprocessor 15 (hereinafter referred to as main
CPU) and second microprocessor 1
6 (hereinafter referred to as sub CPU) to drive the liquid crystal display device 17. Main CPU15
The sub CPU 16 is a microprocessor having the configuration shown in FIG.
A crystal oscillator 18 is connected between the frequency signal input terminal OSCIN of 15 and the frequency signal output terminal OSCOUT.
is connected, and the reference frequency signal created by the crystal oscillator 18 is sent to the output terminal of the main CPU 15.
The signal is applied from OSCOUT to the input terminal OSCIN of the sub CPU 16 via the resistor 19, and the main CPU 15 and sub CPU 16 are connected to operate with the same reference frequency signal. Further, the input terminal OSCIN of the sub CPU 16 is connected to the open drain type output terminal OUT1 of the main CPU 15.
That is, when "1" is output to the output terminal OUT1 of the main CPU 15, the P shown in FIG.
Since the channel MOS transistor 14 is turned on, the input terminal OSCIN of the sub CPU 16 is connected to the power supply V DD
Since the level is raised and fixed, the reference frequency signal is no longer applied and the operation of the sub CPU 16 is stopped. Furthermore, one of the input/output terminals I/O of the sub CPU 16 (called CNT1) and the main
The interrupt input terminal INT of the CPU 15 is connected, and when the carry Ca is output from the second frequency dividing circuit 4 of the sub CPU 16, a signal indicating this is outputted to the input/output terminal CNT1.
液晶表示装置17は、ダイナミツク駆動用の表
示装置であり、共通電極は、メインCPU15の
出力端子COM1〜COM3に接続され、セグメン
ト電極はメインCPU15及びサブCPU16の出
力端子seg1〜seg nに各々接続される。 The liquid crystal display device 17 is a display device for dynamic driving, and the common electrode is connected to the output terminals COM1 to COM3 of the main CPU 15, and the segment electrodes are connected to the output terminals seg1 to segn of the main CPU 15 and the sub CPU 16, respectively. Ru.
第2図の如く接続されたメインCPU15とサ
ブCPU16の同期化方法を第3図a,bのフロ
ー図を参照して説明する。第3図aはメイン
CPU15にプログラムされた動作であり、第3
図bはサブCPU16にプログラムされた動作で
あり、共に電源投入直後に実行される。 A method of synchronizing the main CPU 15 and sub CPU 16 connected as shown in FIG. 2 will be explained with reference to the flowcharts shown in FIGS. 3a and 3b. Figure 3 a is the main
This is the operation programmed into the CPU 15, and the third
Figure b shows the operations programmed into the sub CPU 16, both of which are executed immediately after power is turned on.
第3図aに於いて、先ずメインCPU15は、
出力端子OUT1に“0”を出力し、その後、割
込み入力端子INTに印加される信号の立ち上が
りでホールトが解除される様設定してホールト命
令を実行する。このとき、メインCPU15の出
力端子OUT1=“0”を出力するPチヤンネル
MOSトランジスタ14はオフであるため、サブ
CPU16の入力端子OSCINには基準周波数信号
が印加され、サブCPU16は動作状態にある。
そこで、サブCPU16は、第3図bの如く、先
ず、第2の分周回路4から出力されるキヤリー
Caによつてホールトが解除される様に設定した
後、ホールト命令を実行し、ホールト状態とな
る。しかし、ホールト状態に於いても、第1の分
周回路3及び第2の分周回路4は動作状態にあ
り、第2の分周回路4の各分周段がすべて“1”
の状態からすべて“0”の状態になつたとき即ち
リセツト状態になつたとき、キヤリーCaが出力
され、サブCPU16のホールト状態が解除され
る。そして、サブCPU16は、入出力端子CNT
1に“1”を出力し、キヤリーCaによつてホー
ルトが解除される設定をリセツトし、更に、入出
力端子CNT1に出力されている“1”を“0”
とする。従つて、入出力端子CNT1には、第2
の分周回路4からキヤリーCaが出力されたとき
“1”となるパルスが出力されるのである。 In FIG. 3a, first, the main CPU 15 is
Outputs "0" to the output terminal OUT1, and then executes the halt command by setting the halt state to be released at the rising edge of the signal applied to the interrupt input terminal INT. At this time, the P channel outputs the output terminal OUT1 = “0” of the main CPU 15.
Since the MOS transistor 14 is off, the sub
A reference frequency signal is applied to the input terminal OSCIN of the CPU 16, and the sub CPU 16 is in an operating state.
Therefore, as shown in FIG. 3b, the sub CPU 16 first receives the carrier output from the second frequency dividing circuit 4.
After setting Ca to release the halt, execute the halt command and enter the halt state. However, even in the halt state, the first frequency dividing circuit 3 and the second frequency dividing circuit 4 are in the operating state, and each frequency dividing stage of the second frequency dividing circuit 4 is all "1".
When the state becomes all "0", that is, the reset state is entered, the carry Ca is output and the sub CPU 16 is released from the halt state. The sub CPU 16 has an input/output terminal CNT.
Outputs “1” to CNT1, resets the setting where the halt is released by carry Ca, and then changes the “1” output to input/output terminal CNT1 to “0”.
shall be. Therefore, the input/output terminal CNT1 has a second
When the carry Ca is output from the frequency dividing circuit 4, a pulse that becomes "1" is output.
一方、ホールト状態にあるメインCPU15は、
サブCPU16の入出力端子CNT1から割込み入
力端子INTに“1”となる信号が印加されるこ
とによつてホールト状態が解除され、プログラム
が先に進む。すると、メインCPU15は、出力
端子OUT1に“1”を出力し、第2の分周回路
4をリセツトした後、第2の分周回路4から出力
されるキヤリーCaによつてホールトが解除され
る様に設定して、ホールト命令を実行し、ホール
ト状態となる。ここで、出力端子OUT1が“1”
となることによつて、サブCPU16の入力端子
OSCINは電源VDDレベルに固定されるため、サブ
CPU16はすべての動作が停止される。即ち、
サブCPU16の第2の分周回路4からキヤリー
が出力されてからサブCPU16の動作が停止さ
れるまでの間には、サブCPU16のリセツト状
態は変わらないため、以降もそのリセツト状態が
保持される。 On the other hand, the main CPU 15, which is in a halt state,
By applying a signal of "1" from the input/output terminal CNT1 of the sub CPU 16 to the interrupt input terminal INT, the halt state is released and the program proceeds. Then, the main CPU 15 outputs "1" to the output terminal OUT1, resets the second frequency divider circuit 4, and then the halt is released by the carry Ca output from the second frequency divider circuit 4. Set it as follows, execute the halt command, and enter the halt state. Here, output terminal OUT1 is “1”
As a result, the input terminal of sub CPU 16
Since OSCIN is fixed at the power supply V DD level, the sub
All operations of the CPU 16 are stopped. That is,
Since the reset state of the sub CPU 16 does not change after the carry is output from the second frequency dividing circuit 4 of the sub CPU 16 until the operation of the sub CPU 16 is stopped, the reset state is maintained thereafter. .
そして、メインCPU15の第2の分周回路4
からキヤリーCaが出力されると、メインCPU1
5のホールト状態は解除され、プログラムが先に
進み、出力端子OUT1に“0”を出力し、キヤ
リーCaによつてホールトが解除される設定をリ
セツトする。このとき、出力端子OUT1が“0”
となることによりサブCPU16は再び動作を開
始し、第2の分周回路4はリセツト状態からスタ
ートする。一方、メインCPU15の第2の分周
回路4もこのとき分周段がすべて“0”の状態、
即ち、リセツトされた状態にあるため、動作を開
始したサブCPU16の第2の分周回路4とメイ
ンCPU15の第2の分周回路4とは完全に同期
した状態となる。 Then, the second frequency dividing circuit 4 of the main CPU 15
When the Cary Ca is output from the main CPU1
The halt state of No. 5 is released, the program proceeds, outputs "0" to the output terminal OUT1, and resets the setting where the hold is released by carry Ca. At this time, output terminal OUT1 is “0”
As a result, the sub CPU 16 starts operating again, and the second frequency dividing circuit 4 starts from the reset state. On the other hand, the second frequency divider circuit 4 of the main CPU 15 also has all the frequency divider stages at "0" at this time.
That is, since they are in the reset state, the second frequency dividing circuit 4 of the sub CPU 16 that has started operating and the second frequency dividing circuit 4 of the main CPU 15 are in a completely synchronized state.
従つて、第2の分周回路4の分周出力を用いて
作成される液晶駆動信号、即ち、メインCPU1
5の出力端子COM1〜COM3から出力される共
通電極を駆動する信号と、サブCPU16の出力
端子seg1〜seg nから出力されるセグメント駆
動信号とは完全に同期することになる。 Therefore, the liquid crystal drive signal created using the divided output of the second frequency dividing circuit 4, that is, the main CPU 1
The signals for driving the common electrodes outputted from the output terminals COM1 to COM3 of the sub CPU 16 and the segment drive signals outputted from the output terminals seg1 to segn of the sub CPU 16 are completely synchronized.
(ヘ) 発明の効果
上述の如く、本発明によれば、簡単なプログラ
ムによつて第1のマイクロプロセツサと第2のマ
イクロプロセツサの同期化が確実に達成できるも
のであり、また、同期化のための外付部品もほと
んど不要となるため、信頼性の向上にも有利とな
るものである。(F) Effects of the Invention As described above, according to the present invention, the first microprocessor and the second microprocessor can be reliably synchronized by a simple program, and This also has the advantage of improving reliability, since almost no external parts are required for this purpose.
第1図は本発明の実施例に用いられるマイクロ
プロセツサのブロツク図、第2図は本発明の実施
例を示すブロツク図、第3図a,bは第2図に示
されたマイクロプロセツサの動作を示すフロー図
である。
1…発振回路、2,18…水晶振動子、3…第
1の分周回路、4…第2の分周回路、5…クロツ
クジエネレータ、6…制御回路、7…ROM、8
…入出力回路、9…液晶駆動回路、10…出力回
路、11…RAM、12…ALU、13…データバ
ス、14…MOSトランジスタ、15…メイン
CPU、16…サブCPU、17…液晶表示装置、
19…抵抗。
FIG. 1 is a block diagram of a microprocessor used in an embodiment of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIGS. 3a and 3b are diagrams of the microprocessor shown in FIG. FIG. 2 is a flow diagram showing the operation of FIG. DESCRIPTION OF SYMBOLS 1... Oscillation circuit, 2, 18... Crystal resonator, 3... First frequency dividing circuit, 4... Second frequency dividing circuit, 5... Clock generator, 6... Control circuit, 7... ROM, 8
...Input/output circuit, 9...Liquid crystal drive circuit, 10...Output circuit, 11...RAM, 12...ALU, 13...Data bus, 14...MOS transistor, 15...Main
CPU, 16...Sub CPU, 17...Liquid crystal display device,
19...Resistance.
Claims (1)
的低周波に分周する分周回路が内蔵された第1の
マイクロプロセツサ及び第2のマイクロプロセツ
サを並列運転する際の同期化方法に於いて、 前記第2のマイクロプロセツサの周波数信号入
力端子OSCINに前記第1のマイクロプロセツサ
の周波数信号出力端子OSCOUTから出力される
基準周波数信号を供給し、 前記第2のマイクロプロセツサの前記分周回路
が前記基準周波数信号を分周することによつて前
記分周回路からキヤリーが発生したとき、前記第
2のマイクロプロセツサの出力端子CNT1から
前記第1のマイクロプロセツサの入力端子INT
に前記キヤリーの発生を示す信号を印加し、 前記キヤリーの発生を示す信号が印加された前
記第1のマイクロプロセツサは、前記第2のマイ
クロプロセツサの周波数信号入力端子OSCINに
接続された第1のマイクロプロセツサの出力端子
OUT1を所定のレベルにすることによつて、前
記第2のマイクロプロセツサの動作を停止させ、 その後、前記第1のマイクロプロセツサの分周
回路からキヤリーが発生したとき、前記第1のマ
イクロプロセツサは出力端子OUT1を介して前
記第2のマイクロプロセツサの周波数入力端子
OSCINを解放状態として前記第2のマイクロプ
ロセツサの動作を再開させ、 前記第1のマイクロプロセツサと前記第2のマ
イクロプロセツサの動作を同期させることを特徴
とするマイクロプロセツサの並列運転同期化方
法。[Scope of Claims] 1. When a first microprocessor and a second microprocessor having a built-in frequency dividing circuit that divides a reference frequency signal for a system clock into a relatively low frequency are operated in parallel. In the synchronization method, a reference frequency signal output from the frequency signal output terminal OSCOUT of the first microprocessor is supplied to the frequency signal input terminal OSCIN of the second microprocessor; When the frequency divider circuit of the processor divides the reference frequency signal and a carry occurs from the frequency divider circuit, the signal is output from the output terminal CNT1 of the second microprocessor to the first microprocessor. input terminal INT
The first microprocessor to which the signal indicating the occurrence of the carry is applied is connected to the frequency signal input terminal OSCIN of the second microprocessor. Output terminal of microprocessor 1
By setting OUT1 to a predetermined level, the operation of the second microprocessor is stopped. After that, when a carry occurs from the frequency dividing circuit of the first microprocessor, the first microprocessor The processor outputs the frequency input terminal of the second microprocessor via the output terminal OUT1.
Parallel operation synchronization of microprocessors, characterized in that OSCIN is released to restart the operation of the second microprocessor, and the operations of the first microprocessor and the second microprocessor are synchronized. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58206179A JPS6097463A (en) | 1983-11-02 | 1983-11-02 | Parallel operation synchronizing method of microprocessor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58206179A JPS6097463A (en) | 1983-11-02 | 1983-11-02 | Parallel operation synchronizing method of microprocessor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6097463A JPS6097463A (en) | 1985-05-31 |
| JPH0475549B2 true JPH0475549B2 (en) | 1992-12-01 |
Family
ID=16519118
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58206179A Granted JPS6097463A (en) | 1983-11-02 | 1983-11-02 | Parallel operation synchronizing method of microprocessor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6097463A (en) |
-
1983
- 1983-11-02 JP JP58206179A patent/JPS6097463A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6097463A (en) | 1985-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0450629B2 (en) | ||
| US4615625A (en) | Analog electronic timepiece | |
| EP0316943A2 (en) | Semiconductor integrated circuit having a plurality of oscillation circuits | |
| JPS6010318A (en) | Microcomputer | |
| JPH0475549B2 (en) | ||
| JPH0128408B2 (en) | ||
| JPS6148726B2 (en) | ||
| JPS6111071B2 (en) | ||
| JPH0724006B2 (en) | Data processing device | |
| JPH0114552B2 (en) | ||
| JPS61285521A (en) | Computer device of low power consumption | |
| JPS6013205B2 (en) | Power supply method | |
| JPS581394B2 (en) | Exactly what kind of body warmer you need | |
| CH613596B (en) | TIME CORRECTION DEVICE FOR ELECTRONIC WATCH PART. | |
| JPS6270923A (en) | Integrated circuit with oscillator circuit | |
| JP2001117546A (en) | Display device | |
| US4247932A (en) | Electronic timepiece | |
| JPS59189426A (en) | Clock supply controlling system | |
| JPS60103426A (en) | Microcomputer | |
| JPH07219672A (en) | High precision clock circuit | |
| JPH0527056A (en) | Battery depletion preventing device for electronic device equipped with timer function | |
| JPS6333806B2 (en) | ||
| JPH0352087B2 (en) | ||
| KR800000600Y1 (en) | Time indication setting circuit | |
| JPS5815804B2 (en) | Dengenkiyoukiyuhoushiki |