JP2623816B2 - Signal transmission method - Google Patents

Signal transmission method

Info

Publication number
JP2623816B2
JP2623816B2 JP1040869A JP4086989A JP2623816B2 JP 2623816 B2 JP2623816 B2 JP 2623816B2 JP 1040869 A JP1040869 A JP 1040869A JP 4086989 A JP4086989 A JP 4086989A JP 2623816 B2 JP2623816 B2 JP 2623816B2
Authority
JP
Japan
Prior art keywords
transmission
microcomputer
signal
sub
data line
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
Application number
JP1040869A
Other languages
Japanese (ja)
Other versions
JPH02219161A (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.)
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 JP1040869A priority Critical patent/JP2623816B2/en
Publication of JPH02219161A publication Critical patent/JPH02219161A/en
Application granted granted Critical
Publication of JP2623816B2 publication Critical patent/JP2623816B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は給湯システム等の複数のリモコン間の信号伝
送を制御する通信マイコンとリモコン等の端末の制御を
行なう制御マイコンとの間の信号伝送方式に関するもの
である。
The present invention relates to a signal transmission between a communication microcomputer for controlling signal transmission between a plurality of remote controllers such as a hot water supply system and a control microcomputer for controlling terminals such as remote controllers. It is about the method.

(従来の技術) 従来の信号伝送方式は例えば第4図に示すような回路
において信号伝送を制御するメインマイコン2は外部回
線15に乗った信号を復調回路16を介して入力し、リモコ
ン等の端末の制御を行なっているサブマイコン1に第7
図のマイコンに内蔵したシリアル伝送回路を使って第5
図に示す手順で送信し、またサブマイコン1からのデー
タは第6図に示す手順で変調回路17を介して外部回線15
に送信していた。
(Prior Art) In a conventional signal transmission system, for example, a main microcomputer 2 for controlling signal transmission in a circuit as shown in FIG. Seventh sub-microcomputer 1 controlling the terminal
Using the serial transmission circuit built into the microcomputer shown in the figure,
The data transmitted from the sub-microcomputer 1 is transmitted according to the procedure shown in FIG.
Was sent to.

伝送手順はメインマイコン2からサブマイコン1に伝
送する場合第5図に示すようにメインマイコン2は18で
第1のハンドシェーク専用ラインであるSTARTをLoにす
る。サブマイコン1はSTARTのLoを検出すると19でFLGを
Loにする。メインマイコン2はFLGのLoを検出するとシ
リアルバッファにデータを1バイトセットして20でCLK
と共にメインデータラインDMに送出する。サブマイコン
1は1バイトのシリアル伝送が終了すると送信されてき
たデータをシリアルバッファから取り出し21でFLGをHi
にしSTARTをチェックする。STARTがLoであれば次の1バ
イトを受信するため22に示すようにFLGをLoにする。23
に示すようにSTARTがHiになっていたら送信データが終
了したとして受信を終了する。
The transmission procedure is as follows. In the case of transmission from the main microcomputer 2 to the sub-microcomputer 1, as shown in FIG. Sub-microcomputer 1 detects FL at START and detects FLG at 19
Lo. When the main microcomputer 2 detects Lo of FLG, it sets 1 byte of data in the serial buffer and sets CLK at 20.
And to the main data line DM. When the 1-byte serial transmission ends, the sub-microcomputer 1 takes out the transmitted data from the serial buffer and sets the FLG to Hi at 21.
Check START. If START is Lo, FLG is set to Lo as shown at 22 to receive the next byte. twenty three
If START is set to Hi as shown in FIG.

伝送手順はサブマイコン1からメインマイコン2に伝
送する場合第6図に示すように送信側と受信側が入れ替
って第5図の場合とほぼ同じ手順で行なう。20でのデー
タ送信がサブデータラインDSに対して行なわれることだ
けが第5図と異なる。
The transmission procedure is substantially the same as that of FIG. 5 when the transmission from the sub-microcomputer 1 to the main microcomputer 2 is performed, as shown in FIG. The only difference from FIG. 5 is that the data transmission at 20 is performed on the sub data line DS.

またマイコンに内蔵されたシリアル伝送回路は第7図
に示すように8ビットのシフトレジスタで構成されたシ
リアルバッファ24を持ち、発振回路25からのクロックに
よってシリアル出力端子26からシリアルバッファ内のデ
ータを出力すると共にシリアル入力端子27から入力デー
タをシリアルバッファに取り込むようになっている。ま
たクロックパルスを3ビットカウンタ28でカウントして
シリアル伝送が1バイト終了したら割込信号を出すよう
になっている。
The serial transmission circuit built in the microcomputer has a serial buffer 24 composed of an 8-bit shift register as shown in FIG. 7, and the data in the serial buffer is transmitted from a serial output terminal 26 by a clock from an oscillation circuit 25. The data is output and the input data is taken into the serial buffer from the serial input terminal 27. The clock pulse is counted by a 3-bit counter 28, and an interrupt signal is issued when one byte of serial transmission is completed.

この方式により通信制御を行なっているメインマイコ
ン2は8ビット単位の可変長データを双方向で通信でき
るようになっていた。またデータ伝送要求は非同期で発
生するため同時に要求が発生した場合はサブマイコン1
がSTARTをLoにしても一定時間内にFLGのLoを検出しなか
ったらSTARTをHiにするようになっていた。このときメ
インマイコン2がSTARTをLoにしていればサブマイコン
1はSTARTのLoを検出して受信をおこなうようになって
いた。
The main microcomputer 2 which performs communication control by this method can communicate variable-length data in units of 8 bits in two directions. Also, the data transmission request is generated asynchronously.
However, even if START is set to Lo, if the FLG Lo is not detected within a certain period of time, START is set to Hi. At this time, if the main microcomputer 2 sets START to Lo, the sub-microcomputer 1 detects START Lo and performs reception.

(発明が解決しようとする課題) しかしながら上記のような構成では信号伝送要求がメ
インマイコン2、サブマイコン1の両方で同時に発生し
たときサブマイコン1のタイムアウトを待たなければ通
信開始時のハンドシェークが終了しなかった。本来メイ
ンマイコン2は通信制御をおもに行なう通信専用マイコ
ンでサブマイコン1は通信以外の処理がメインで通信に
関する処理を軽減する必要がある場合が多い。ところが
通常の通信でハンドシェークに時間がかかる場合がある
ため、この場合に合わせてメインの処理量が制限されて
しまうという課題があった。
(Problems to be Solved by the Invention) However, in the above configuration, when a signal transmission request occurs simultaneously in both the main microcomputer 2 and the sub-microcomputer 1, the handshake at the start of communication ends without waiting for a timeout of the sub-microcomputer 1. Did not. Originally, the main microcomputer 2 is a communication-dedicated microcomputer that mainly performs communication control, and the sub-microcomputer 1 is mainly used for processing other than communication, and it is often necessary to reduce processing related to communication. However, since handshaking may take a long time in normal communication, there is a problem in that the amount of main processing is limited accordingly.

またメインマイコン2は通信インターフェイスとして
比較的小さい(ROMサイズ1Kバイト程度)マイコンで実
現されることが多い。ところが小さいマイコンはシリア
ル伝送回路は内蔵しているもののシリアル伝送クロック
の分周が少なく必然的にシリアル伝送クロックの周波数
が数百KHzと高くなり、信号伝送路を極力短くする等の
実装的制限を受けると共に信号伝送信頼性についても不
利であった。
Further, the main microcomputer 2 is often realized by a relatively small microcomputer (ROM size of about 1 Kbyte) as a communication interface. However, although a small microcomputer has a built-in serial transmission circuit, the frequency of the serial transmission clock is inevitably increased to several hundred KHz due to the small frequency division of the serial transmission clock, which imposes mounting restrictions such as shortening the signal transmission path as much as possible. However, the signal transmission reliability was disadvantageous.

本発明はかかる従来の課題を解消するもので、ハンド
シェークに要する時間を短くし、サブマイコン1にかか
る通信処理負荷をできるだけ軽減し、高い信頼性の信号
伝送をより安価に実現することを目的とする。
An object of the present invention is to solve such a conventional problem, to shorten the time required for handshaking, to reduce the communication processing load on the sub-microcomputer 1 as much as possible, and to realize highly reliable signal transmission at lower cost. I do.

(課題を解決するための手段) 上記課題を解決するために本発明の信号伝送方式は、
非同期で信号伝送要求の発生するシリアル伝送回路を内
蔵したメインマイコンとシリアル伝送回路を内蔵したサ
ブマイコンの間の8ビット単位の可変長双方向シリアル
信号伝送を、2本のハンドシェーク専用ラインと、クロ
ックラインと、メインマイコンのデータをサブマイコン
に伝送するメインデータラインと、サブマイコンのデー
タをメインマイコンに伝送するサブデータラインの5本
回線を用いて、信号伝送開始時は前記2本のハンドシェ
ーク専用ラインの内1本と前記メインデータラインとサ
ブデータラインを用いて送信開始ハンドシェークを行い
送信端末、受信端末の確定を行なった後、2本のハンド
シェーク専用ラインと受信側のデータラインを用いてバ
イト送信ハンドシェークを1バイト毎に行なうようにし
たものである。
(Means for Solving the Problems) In order to solve the above problems, a signal transmission system according to the present invention comprises:
An 8-bit variable-length bidirectional serial signal transmission between a main microcomputer with a built-in serial transmission circuit and a sub-microcomputer with a built-in serial transmission circuit that generates a signal transmission request asynchronously, using two dedicated handshake lines and a clock Using five lines, a main data line that transmits data from the main microcomputer to the sub microcomputer, and a sub data line that transmits data from the sub microcomputer to the main microcomputer. A transmission start handshake is performed using one of the lines, the main data line and the sub data line to determine a transmission terminal and a reception terminal, and then a byte is determined using two dedicated handshake lines and a data line on the reception side. The transmission handshake is performed for each byte.

さらには送信開始ハンドシェークはメインマイコンに
信号伝送要求が発生したらメインデータラインに要求信
号を出力し、サブマイコンに信号伝送要求が発生したら
メインデータラインを検出しながらサブデータラインに
要求信号を出力し、サブマイコンはメインデータライン
に要求信号を検出したらサブデータラインに出している
要求信号を止め、メインマイコンは要求信号を出力して
いない時のみサブデータラインの検出を行い、要求信号
を検出したら所定のハンドシェーク専用ラインに受付信
号を出力し、サブマイコンは常時メインデータラインの
検出を行い、要求信号を検出したら所定のハンドシェー
ク専用ラインに受付信号を出力するようにしたものであ
る。
The transmission start handshake outputs a request signal to the main data line when a signal transmission request is issued to the main microcomputer, and outputs a request signal to the sub data line while detecting the main data line when a signal transmission request is issued to the sub microcomputer. When the sub microcomputer detects the request signal on the main data line, it stops the request signal sent to the sub data line, and the main microcomputer detects the sub data line only when it does not output the request signal. The reception signal is output to a predetermined handshake dedicated line, the sub-microcomputer always detects the main data line, and outputs the reception signal to the predetermined handshake dedicated line when detecting the request signal.

またさらには、バイト送信ハンドシェークは送信側が
第1のハンドシェーク専用ラインに伝送開始からすべて
の送信データを伝送終了するまで信号を出力し、第2の
ハンドシェーク専用ラインに1バイト伝送開始から1バ
イト伝送終了するまで信号を出力し、受信側は第1のハ
ンドシェーク専用ラインに信号が出力されている間デー
タラインにバイト送信許可信号をだすようにしたもので
ある。
Still further, the byte transmission handshake outputs a signal from the start of transmission to the first handshake dedicated line until transmission of all transmission data is completed, and the transmission side outputs a signal to the second handshake dedicated line from the start of one byte transmission to the end of one byte transmission. The receiving side outputs a byte transmission permission signal to the data line while the signal is being output to the first dedicated handshake line.

(作用) 本発明は上記の構成によって、同時に信号伝送要求が
発生しても要求信号検出によってすぐ検出できるので、
ハンドシェークが常に短時間で終了する。
(Operation) According to the present invention, even if a signal transmission request is generated at the same time, the signal can be immediately detected by detecting the request signal.
Handshake always ends in a short time.

またバイト送信ハンドシェークに受信側のデータライ
ンを使用することでクロックを何れか片方の端末からの
み出すように構成できるので、例えばメインマイコン2
に安価な1Kバイト程度のものを使用してクロックの分周
が充分でなくとも、クロックの分周が充分取れるサブマ
イコン1のクロックのみを使い信頼性の高い信号伝送を
行なうことができる。
Further, by using the data line on the receiving side for the byte transmission handshake, the clock can be output from only one of the terminals.
Even if an inexpensive one of about 1 Kbyte is used and the frequency division of the clock is not sufficient, highly reliable signal transmission can be performed using only the clock of the sub-microcomputer 1 which can sufficiently divide the clock.

(実施例) 以下、本発明の一実施例を添付図に基づいて説明す
る。
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.

第1図は本発明の通信回路ブロック図で、第4図がク
ロックが双方向になっているのに対し第1図ではクロッ
クがサブマイコン1からのみ出力するようになってい
る。またメインデータラインDMをサブマイコン1の外部
割込端子に接続している。
FIG. 1 is a block diagram of a communication circuit according to the present invention. In FIG. 4, the clock is bidirectional, whereas in FIG. 1, the clock is output only from the sub-microcomputer 1. The main data line DM is connected to an external interrupt terminal of the sub microcomputer 1.

第2図はメインマイコン2からサブマイコン1に信号
伝送するときの伝送手順を示した図で、まずメインマイ
コン2が3でメインデータラインDMをLoにする。サブマ
イコン1は外部割込端子でDMのLoを検出すると4でFLG
をLoにする。メインマイコン2はFLGのLoを検出すると
5でDMをHiにする。サブマイコン1はDMのHiを検出する
と6でFLGをHiにして信号伝送開始ハンドシェークを終
了する。つぎにメインマイコン2は7でSTARTをLoにす
る。サブマイコン1はFLGのHiとSTARTのLoを検出したら
8でサブデータラインDSをLoにする。メインマイコン2
はDSのLoを検出したら伝送データをシリアルバッファに
セットして9でFLGをLoにしバイト送信ハンドシェーク
を終了する。サブマイコン1はFLGのLoを検出したらシ
リアルバッファにFFhをセットしてシリアル割込を許可
しシリアル伝送回路に起動をかけメインの処理を行な
う。以降のバイト送信ハンドシェークはシリアル割込の
中で行なうこととなる。このためメインの処理にほとん
ど影響を与える事なく並列に信号伝送を行なうことがで
きる。1バイト伝送が終了したらメインマイコン2は伝
送データがまだある場合は10のようにFLGのみをHiにす
る。伝送データをすべて送り終えた場合は11のようにST
ARTをHiにした後FLGをHiにする。サブマイコン1はシリ
アルバッファの伝送データを取り出し、FLGのHiを検出
してSTARTのLoを検出したら再びバイト送信ハンドシェ
ークを1バイト目の時と同様に行なう。FLGのHiを検出
しさらにSTARTのHiも検出したらそこで信号伝送を終了
する。
FIG. 2 is a diagram showing a transmission procedure when a signal is transmitted from the main microcomputer 2 to the sub-microcomputer 1. First, the main microcomputer 2 sets the main data line DM to Lo at 3. When the sub-microcomputer 1 detects DM Lo at the external interrupt terminal,
To Lo. When the main microcomputer 2 detects Lo of FLG, it sets DM to Hi at 5. When the sub-microcomputer 1 detects Hi of DM, it sets FLG to Hi at 6 and ends the signal transmission start handshake. Next, the main microcomputer 2 sets START to Lo at 7. When the sub-microcomputer 1 detects Hi of FLG and Lo of START, it sets the sub-data line DS to Lo at 8. Main microcomputer 2
When the DS Lo is detected, the transmission data is set in the serial buffer, the FLG is set to Lo at 9 and the byte transmission handshake is completed. When the sub-microcomputer 1 detects Lo of FLG, it sets FFh in the serial buffer to permit serial interrupt, activates the serial transmission circuit, and performs main processing. The subsequent byte transmission handshake is performed in the serial interrupt. Therefore, signal transmission can be performed in parallel with little effect on the main processing. When the transmission of one byte is completed, the main microcomputer 2 sets only the FLG to Hi as indicated by 10 when there is still transmission data. If all transmission data has been sent, ST as shown in 11
After setting ART to Hi, set FLG to Hi. The sub-microcomputer 1 takes out the transmission data of the serial buffer, detects Hi of FLG and detects Lo of START, and performs the byte transmission handshake again as in the case of the first byte. If Hi of FLG is detected and Hi of START is also detected, signal transmission is terminated there.

次に第3図でサブマイコン1からメインマイコン2へ
の伝送手順について説明する。信号伝送開始ハンドシェ
ーク、バイト送信ハンドシェークともに送信側と受信側
が入れ替わっただけでまったく同様に行なう。バイト送
信ハンドシェークでサブマイコン1は12でメインマイコ
ン2がDMをLoにしたのを検出したらシリアルバッファに
伝送データをセットして13でFLGをLoにする。サブマイ
コン1はメインマイコン2が14でDMをHiにしたのを検出
したらシリアル伝送回路を起動して1バイトのデータ伝
送を行なう。
Next, a transmission procedure from the sub microcomputer 1 to the main microcomputer 2 will be described with reference to FIG. Both the signal transmission start handshake and the byte transmission handshake are performed in exactly the same manner except that the transmitting side and the receiving side are switched. In the byte transmission handshake, the sub-microcomputer 1 detects that the main microcomputer 2 has changed DM to Lo in 12 and sets transmission data in the serial buffer and 13 sets FLG to Lo in 13. When the sub-microcomputer 1 detects that the DM of the main microcomputer 2 has been set to Hi at 14, the sub-microcomputer 1 activates the serial transmission circuit to transmit 1-byte data.

このように信号伝送開始ハンドシェークでDMをメイン
マイコン2の信号伝送要求用、DSをサブマイコン1の信
号伝送要求用に専用に設けたことで同時に伝送要求が発
生しているかどうかが瞬時に検出できるのでハンドシェ
ークに時間的ロスが発生しない。またDM、DSを兼用して
いるのでこのためにハンドシェークラインを増設する必
要がない。
As described above, DM is provided for the signal transmission request of the main microcomputer 2 and DS is provided for the signal transmission request of the sub-microcomputer 1 in the signal transmission start handshake, so that it is possible to instantaneously detect whether or not a transmission request is occurring at the same time. Therefore, no time loss occurs in handshaking. In addition, since both DM and DS are used, there is no need to add a handshake line.

またバイト送信ハンドシェークでも従来例で使用して
いなかった受信側のデータラインをハンドシェークライ
ンとして兼用することでクロックを常時いずれかの側か
ら送る構成を取ることができ、2つのマイコンの持って
いるクロック周波数の中から最適なものを選択できる。
In the byte transmission handshake, the data line on the receiving side, which was not used in the conventional example, is also used as the handshake line, so that the clock can always be sent from either side. The best one can be selected from the frequencies.

(発明の効果) 以上のように本発明の信号伝送方式によれば次の効果
が得られる。
(Effects of the Invention) As described above, according to the signal transmission method of the present invention, the following effects can be obtained.

(1) 信号伝送開始ハンドシェークで同時に要求が発
生しても瞬時に検出できるようにしたのでハンドシェー
クに要する時間が常に短いので、メイン処理により多く
の時間を割り付けることができる。
(1) Even if requests are generated at the same time in the signal transmission start handshake, instantaneous detection is possible, so that the time required for the handshake is always short, so that more time can be allocated to the main processing.

(2) 信号伝送クロックを何れか一方から出す構成が
取れるので、クロック周波数の選択の幅が広がり、より
最適の周波数のクロックを使用することで信号伝送信頼
性を向上することができる。
(2) Since a configuration in which the signal transmission clock is output from either one can be adopted, the range of selection of the clock frequency is widened, and the reliability of signal transmission can be improved by using a clock having a more optimal frequency.

【図面の簡単な説明】 第1図は本発明の一実施例の信号伝送方式を説明するた
めの回路ブロック図、第2図,第3図は同実施例の信号
伝送手順を説明するためのタイムチャート、第4図は従
来の信号伝送方式を説明するための回路ブロック図、第
5図,第6図は同従来例の信号伝送手順を説明するため
のタイムチャート、第7図は本発明の実施例ならびに従
来例共通に用いるマイコンに内蔵されたシリアル伝送回
路の構成図である。 1……サブマイコン、2……メインマイコン。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a circuit block diagram for explaining a signal transmission system according to an embodiment of the present invention, and FIGS. 2 and 3 are diagrams for explaining a signal transmission procedure of the embodiment. FIG. 4 is a circuit block diagram for explaining a conventional signal transmission system, FIGS. 5 and 6 are time charts for explaining a signal transmission procedure of the conventional example, and FIG. 7 is the present invention. FIG. 9 is a configuration diagram of a serial transmission circuit built in a microcomputer commonly used in the embodiment of the present invention and the conventional example. 1 ... Sub microcomputer, 2 ... Main microcomputer.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 玄道 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 植木 浩一 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Genmichi Kato 1006 Kadoma, Kazuma, Osaka Prefecture Inside Matsushita Electric Industrial Co., Ltd. (72) Koichi Ueki 1006 Kadoma, Kazuma, Kadoma, Osaka Matsushita Electric Industrial Co., Ltd. Inside

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】非同期で信号伝送要求の発生するシリアル
伝送回路を内蔵したメインマイクロコンピュータ(以降
メインマイコンと記述)とシリアル伝送回路を内蔵した
サブマイクロコンピュータ(以降サブマイコンと記述)
の間の8ビット単位の可変長双方向シリアル信号伝送方
式であって、2本のハンドシェーク専用ラインと、クロ
ックラインと、前記メインマイコンのデータをサブマイ
コンに伝送するメインデータラインと、前記サブマイコ
ンのデータを前記メインマイコンに伝送するサブデータ
ラインの5本回線を用いて、信号伝送開始時は前記2本
のハンドシェーク専用ラインの内1本と前記メインデー
タラインと前記サブデータラインを用いて送信開始ハン
ドシェークを行い送信端末、受信端末の確定を行なった
後、前記2本のハンドシェーク専用ラインと前記受信側
のデータラインを用いてバイト送信ハンドシェークを1
バイト毎に行なう信号伝送方式。
1. A main microcomputer having a serial transmission circuit which generates a signal transmission request asynchronously (hereinafter referred to as a main microcomputer) and a sub-microcomputer having a serial transmission circuit built therein (hereinafter referred to as a sub-microcomputer).
A variable-length bidirectional serial signal transmission system in units of 8 bits, comprising two dedicated lines for handshaking, a clock line, a main data line for transmitting data of the main microcomputer to a sub-microcomputer, Is transmitted using one of the two dedicated handshake lines, the main data line and the sub data line at the start of signal transmission, using five sub data lines for transmitting the data to the main microcomputer. After the start handshake is performed and the transmission terminal and the reception terminal are determined, the byte transmission handshake is performed using the two dedicated handshake lines and the data line on the reception side.
Signal transmission method for each byte.
【請求項2】送信開始ハンドシェークはメインマイコン
に信号伝送要求が発生したらメインデータラインに要求
信号を出力し、サブマイコンに信号伝送要求が発生した
ら前記メインデータラインを検出しながらサブデータラ
インに要求信号を出力し、前記サブマイコンは前記メイ
ンデータラインに要求信号を検出したら前記サブデータ
ラインに出力している要求信号を止め、前記メインマイ
コンは要求信号を出力していない時のみ前記サブデータ
ラインの検出を行い、要求信号を検出したら前記所定の
ハンドシェーク専用ラインに受付信号を出力し、前記サ
ブマイコンは常時前記メインデータラインの検出を行
い、要求信号を検出したら前記所定のハンドシェーク専
用ラインに受付信号を出力する請求項(1)記載の信号
伝送方式。
2. A transmission start handshake outputs a request signal to a main data line when a signal transmission request is issued to a main microcomputer, and requests a sub data line while detecting the main data line when a signal transmission request is issued to a sub microcomputer. The sub-microcomputer detects the request signal on the main data line, stops the request signal being output on the sub-data line, and outputs the sub-data line only when the main microcomputer is not outputting the request signal. , And when a request signal is detected, a reception signal is output to the predetermined line dedicated to handshaking. The sub-microcomputer always detects the main data line. The signal transmission method according to claim 1, wherein the signal transmission method outputs a signal.
【請求項3】バイト送信ハンドシェークは送信側が第1
のハンドシェーク専用ラインに伝送開始からすべての送
信データを伝送終了するまで信号を出力し、第2のハン
ドシェーク専用ラインに1バイト伝送開始から1バイト
伝送終了するまで信号を出力し、受信側は前記第1のハ
ンドシェーク専用ラインに信号が出力されている間デー
タラインにバイト送信許可信号をだす請求項(1)記載
の信号伝送方式。
3. The transmitting side of the byte transmission handshake is first.
From the start of transmission to the end of transmission of all transmission data to the dedicated handshake line, and outputs a signal from the start of one byte transmission to the end of one byte transmission to the second dedicated handshake line. 2. The signal transmission system according to claim 1, wherein a byte transmission permission signal is output to the data line while the signal is being output to the dedicated handshake line.
JP1040869A 1989-02-21 1989-02-21 Signal transmission method Expired - Lifetime JP2623816B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1040869A JP2623816B2 (en) 1989-02-21 1989-02-21 Signal transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1040869A JP2623816B2 (en) 1989-02-21 1989-02-21 Signal transmission method

Publications (2)

Publication Number Publication Date
JPH02219161A JPH02219161A (en) 1990-08-31
JP2623816B2 true JP2623816B2 (en) 1997-06-25

Family

ID=12592528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1040869A Expired - Lifetime JP2623816B2 (en) 1989-02-21 1989-02-21 Signal transmission method

Country Status (1)

Country Link
JP (1) JP2623816B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2723065B2 (en) * 1995-01-19 1998-03-09 日本電気株式会社 Communications system

Also Published As

Publication number Publication date
JPH02219161A (en) 1990-08-31

Similar Documents

Publication Publication Date Title
US4761800A (en) Method and apparatus for detecting a rate of data transmission
GB2265283A (en) Resynchronization of a synchronous serial interface
US5159684A (en) Data communication interface integrated circuit with data-echoing and non-echoing communication modes
JPH0469466B2 (en)
JP2623816B2 (en) Signal transmission method
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
US5623515A (en) Data communication system for reducing a risk of transmission errors
AU609791B2 (en) Improvements in or relating to data communication systems
JPS61270952A (en) Data transmitting system
JPH0630506B2 (en) Serial communication device
JP2764491B2 (en) Electronic measuring instrument with remote control
JP2692255B2 (en) Multi-drop communication method
JPH0477940B2 (en)
JP3516152B2 (en) Synchronization establishing device
JPH09181750A (en) Data processing system
JP2001043181A (en) Method for communication between microcomputers
JPS59214351A (en) Serial signal transmitter/receiver
JPS6117425B2 (en)
JPH0449431A (en) Interface circuit with testing function
JPH0472427B2 (en)
JPS58156253A (en) Start-stop type data transmitter
JPH01296743A (en) Data communication system
JPH05130165A (en) Communication interface equipment
JPH04205620A (en) Printer controller
JPS61251256A (en) Automatic adapting data terminal equipment for line rate