JPH04287149A - Serial data communication system - Google Patents

Serial data communication system

Info

Publication number
JPH04287149A
JPH04287149A JP7590391A JP7590391A JPH04287149A JP H04287149 A JPH04287149 A JP H04287149A JP 7590391 A JP7590391 A JP 7590391A JP 7590391 A JP7590391 A JP 7590391A JP H04287149 A JPH04287149 A JP H04287149A
Authority
JP
Japan
Prior art keywords
serial data
load
data communication
master device
input
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
JP7590391A
Other languages
Japanese (ja)
Other versions
JP3488250B2 (en
Inventor
Manabu Suzuki
学 鈴木
Hiroo Okamoto
岡本 裕生
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP07590391A priority Critical patent/JP3488250B2/en
Publication of JPH04287149A publication Critical patent/JPH04287149A/en
Application granted granted Critical
Publication of JP3488250B2 publication Critical patent/JP3488250B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To present the serial data communication system to constitute a system without depending on the number of slave devices connected to a master device and so as not to lower speed for transmitting data. CONSTITUTION:ACPU 1 as the master device and 1st-3rd IC 3-5 as the plural slave devices are connected by two cables 2A and 2B. The cables 2A and 2B transmit a clock CLK and a serial data from the CPU 1 to the IC 3-5. These IC temporarily input the serial data respectively independently while responding to the clock CLK. A shift register 7 constituting a decode means inputs an IC number ICNO inputted by a certain IC, and a decoder 8 decodes the correspondent IC according to the IC number ICNO. When a load signal LOAD is outputted from the CPU 1 through a cable 2C, the decoder 8 outputs the decoded signal to a load signal terminal LOAD of the correspondent IC.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は,マスター装置から複数
のスレーブ装置にシリアルデータを送出するシリアルデ
ータ通信方式に関するものであり,特に,3本のケーブ
ルを用いて,マスター装置からデータを送信するスレー
ブ装置を指定して複数のスレーブ装置に対して同時にシ
リアルデータを送出し,指定されたスレーブ装置が受信
シリアルデータを取り込むようにしたシリアルデータ通
信方式に関する。
[Industrial Field of Application] The present invention relates to a serial data communication method for transmitting serial data from a master device to multiple slave devices, and in particular to a method for transmitting data from a master device using three cables. The present invention relates to a serial data communication method in which a slave device is designated and serial data is simultaneously sent to a plurality of slave devices, and the designated slave device captures the received serial data.

【0002】0002

【従来の技術】少ないケーブル本数でデータを伝送(通
信)する方法としてシリアルデータ通信方式がある。そ
のようなシリアルデータ通信方式の従来の構成例を図4
に示す。このシリアルデータ通信方式は,マイクロコン
ピュータの演算制御装置(CPU)21と第1の集積回
路(IC)22および第2のIC23が,それぞれ2本
からなる複数のケーブル24を介して接続されている。 このシリアルデータ伝送方式は,CPU21から第1の
IC22または第2のIC23に一方向にシリアルデー
タを送出する通信方式である。そのデータ伝送のタイミ
ング図を図5に示す。CPU21から第1のIC22に
シリアルデータを伝送する場合,CPU21はシリアル
データ出力端子SDOおよびクロック端子CLKからシ
リアルデータDATAとともにクロックCLKを出力す
る。第1のIC22および第2のIC23のそれぞれの
シリアルデータ入力端子SDIおよびクロック端子CL
KにはCPU21からのシリアルデータDATAおよび
クロックCLKが入力され,第1のIC22および第2
のIC23はそれぞれ,シリアルデータDATAを入力
する。しかしながら,シリアルデータDATAを一時的
に入力するのみで,正式にはその内部に取り込まず,外
部に出力しない。シリアルデータDATAの送出が終了
すると,CPU21は第1のIC22に対するロード信
号LOADを端子LD1から出力する。第1のIC22
はロード信号LOADをそのロード端子LOADで受信
すると,上記入力したシリアルデータDATAを正式に
取り込んで,外部に出力する。一方,ロード信号LOA
Dが入力されない第2のIC23は入力したシリアルデ
ータDATAをそ内部に正式に取り込まない。
2. Description of the Related Art A serial data communication method is known as a method for transmitting (communication) data using a small number of cables. Figure 4 shows an example of the conventional configuration of such a serial data communication system.
Shown below. In this serial data communication method, a microcomputer's arithmetic and control unit (CPU) 21, a first integrated circuit (IC) 22, and a second IC 23 are connected via a plurality of cables 24 each consisting of two cables. . This serial data transmission method is a communication method in which serial data is sent in one direction from the CPU 21 to the first IC 22 or the second IC 23. A timing diagram of the data transmission is shown in FIG. When transmitting serial data from the CPU 21 to the first IC 22, the CPU 21 outputs the clock CLK along with the serial data DATA from the serial data output terminal SDO and the clock terminal CLK. The serial data input terminal SDI and clock terminal CL of the first IC 22 and the second IC 23, respectively.
Serial data DATA and clock CLK from the CPU 21 are input to K, and the first IC 22 and the second
Each of the ICs 23 receives serial data DATA. However, the serial data DATA is only temporarily inputted, and is not formally taken into the device and not outputted to the outside. When the sending of the serial data DATA is completed, the CPU 21 outputs a load signal LOAD to the first IC 22 from the terminal LD1. First IC22
When receiving the load signal LOAD at its load terminal LOAD, it formally takes in the input serial data DATA and outputs it to the outside. On the other hand, load signal LOA
The second IC 23 to which D is not input does not formally capture the input serial data DATA therein.

【0003】図6に従来の他のシリアルデータ通信方式
の構成を示す。このシリアルデータ通信方式は,CPU
25と第1のIC22,第2のIC23とが3本のケー
ブルで接続されている。ここで,第1のIC22のシリ
アルデータ出力端子SDOと次段の第2のIC23のシ
リアルデータ入力端子SDIとが接続されている。第2
のIC23以降のIC(図示せず)についても同様であ
る。図7に図6のCPU25から第1のIC22,第2
のIC23および第3のIC(図示せず)にシリアルデ
ータDATAを伝送するタイミング図を示す。CPU2
5は場合,3個のICに対するシリアルデータDATA
3〜データDATA1をクロックCLKとともに出力す
る。これらのシリアルデータDATA3〜データDAT
A1は順次,第1のIC22,第2のIC23を介して
入力され,第3のICに出力していく。3個のシリアル
データDATA3〜データDATA1を送出すると,C
PU25はパルス状のロード信号LOADを出力する。 このロード信号LOADは第1のIC22〜第3のIC
に同時に入力され,それぞれのICはロード信号LOA
Dが入力された時点において自己のICに一時的に入力
されているシリアルデータDATAをその内部に正式に
取り込んで,外部に出力する。
FIG. 6 shows the configuration of another conventional serial data communication system. This serial data communication method is
25, the first IC 22, and the second IC 23 are connected by three cables. Here, the serial data output terminal SDO of the first IC 22 and the serial data input terminal SDI of the second IC 23 at the next stage are connected. Second
The same applies to ICs (not shown) subsequent to IC23. In FIG. 7, from the CPU 25 in FIG.
A timing diagram for transmitting serial data DATA to the IC 23 and a third IC (not shown) is shown. CPU2
5, serial data DATA for 3 ICs
3-Output data DATA1 together with clock CLK. These serial data DATA3 to data DAT
A1 is sequentially input via the first IC 22 and the second IC 23, and output to the third IC. When three serial data DATA3 to data DATA1 are sent, C
The PU 25 outputs a pulse-like load signal LOAD. This load signal LOAD is applied to the first IC 22 to the third IC
are simultaneously input to the load signal LOA, and each IC receives the load signal LOA.
At the time when D is input, the serial data DATA that is temporarily input to its own IC is formally taken into the IC and output to the outside.

【0004】0004

【発明が解決しようとする課題】図4に示したシリアル
データ通信方式においては,CPU21に接続されるI
Cの数だけロード信号LOADを出力するケーブルが必
要となる他,CPU21にもそのケーブル本数だけの端
子を設けなければならないという問題がある。シリアル
データ通信方式を構成するICの数はシステムによって
異なるから,広い用途に使用する場合を考慮すると,C
PU21の端子数を相当設けなければならず,ピンが無
駄になるという問題がある。また,そのCPUに設けた
ピン数以上のICとは接続できないという問題がある。 一方,図7に示したシリアルデータ通信方式においては
,常に,全ICの個数だけのシリアルデータDATAを
送出しなければならず,伝送速度が低下するという問題
がある。したがって,本発明は,スレーブ装置の数に依
存せずにマスター装置を構成することができ,マスター
装置と複数のスレーブ装置との間の接続ケーブルの本数
を少なくすることができ,さらに,伝送速度を低下させ
ないシリアルデータ通信方式を提供することを目的とす
る。
[Problem to be Solved by the Invention] In the serial data communication system shown in FIG.
There is a problem in that not only the number of cables for outputting the load signal LOAD as many as C are required, but also the CPU 21 must be provided with terminals corresponding to the number of cables. The number of ICs that make up the serial data communication method varies depending on the system, so considering the case where it is used for a wide range of applications,
There is a problem in that a considerable number of terminals of the PU 21 must be provided, and pins are wasted. Another problem is that it is not possible to connect to an IC with more pins than the number of pins provided on the CPU. On the other hand, in the serial data communication system shown in FIG. 7, there is a problem that serial data DATA equal to the number of all ICs must be sent at all times, resulting in a reduction in transmission speed. Therefore, according to the present invention, a master device can be configured without depending on the number of slave devices, the number of connection cables between the master device and a plurality of slave devices can be reduced, and furthermore, the transmission speed can be reduced. The purpose of the present invention is to provide a serial data communication method that does not degrade performance.

【0005】[0005]

【課題を解決するための手段】上記問題を解決するため
,本発明のシリアルデータ通信方式は,クロックととも
にスレーブ装置の識別コードを含むシリアルデータを送
出しシリアルデータの送出終了時にロード信号を出力す
るマスター装置と,このマスター装置からの上記シリア
ルデータを上記クロックに応答して同時的に入力し,ロ
ード信号の受信に応答して入力したシリアルデータを取
り込むように接続された複数のスレーブ装置と,複数の
スレーブ装置の任意の1つから上記シリアルデータに含
まれるスレーブ装置の識別コードを入力し,マスター装
置からのロード信号に応答して対応するスレーブ装置の
ロードパルス入力端子を付勢するデコード手段を有する
[Means for Solving the Problems] In order to solve the above problem, the serial data communication method of the present invention transmits serial data including the identification code of the slave device together with a clock, and outputs a load signal when the transmission of the serial data is completed. a master device; a plurality of slave devices connected to simultaneously input the serial data from the master device in response to the clock and to capture the input serial data in response to reception of a load signal; decoding means for inputting the slave device identification code included in the serial data from any one of the plurality of slave devices and energizing the load pulse input terminal of the corresponding slave device in response to the load signal from the master device; has.

【0006】[0006]

【作用】マスター装置に対して複数のスレーブ装置とは
並列的に,クロックおよびシリアルデータをそれぞれ伝
送する2本のケーブルで接続されている。3本目のケー
ブルはマスター装置からロード信号をで伝送するのに使
用される。マスター装置からは,クロックとともにシリ
アルデータが出力されると,複数のスレーブ装置に,ク
ロックに応答して同時にシリアルデータを一時的に入力
する。しかし,その内部に正式には取り込まず,外部に
は出力しない。シリアルデータにはマスター装置から実
質的なデータを伝送する相手先のスレーブ装置のコード
が含まれている。デコード手段は任意のスレーブ装置か
らスレーブ装置識別コードを入力してデコードする。こ
のデコードした信号は,マスター装置からデコード手段
に第3番目のケーブルを介してロード信号が印加された
とき,対応するスレーブ装置のロード信号入力端子に出
力する。このロード信号を受信したスレーブ装置は上記
一時的に入力状態にあるシリアルデータを正式にその内
部に取り込んで,外部に出力する。
[Operation] A master device is connected to a plurality of slave devices in parallel by two cables that transmit clocks and serial data, respectively. The third cable is used to transmit the load signal from the master device. When the master device outputs serial data together with a clock, the serial data is temporarily input to a plurality of slave devices at the same time in response to the clock. However, it is not formally incorporated into it, nor is it output to the outside. The serial data includes the code of the slave device to which the master device transmits substantial data. The decoding means inputs a slave device identification code from an arbitrary slave device and decodes it. This decoded signal is output to the load signal input terminal of the corresponding slave device when a load signal is applied from the master device to the decoding means via the third cable. Upon receiving this load signal, the slave device formally takes in the serial data that is temporarily in the input state and outputs it to the outside.

【0007】[0007]

【実施例】図1に本発明のシリアルデータ通信方式の第
1実施例の回路構成図を示す。このシリアルデータ通信
方式は,マスター装置としてのマイクロコンピュータの
演算制御装置(CPU)1と複数のスレーブ装置として
の第1の集積回路(IC)3〜第3のIC5を有し,C
PU1と第1のIC3〜第3のIC5との間は2本のケ
ーブル2A,2Bで接続されている。このシリアルデー
タ通信方式においてもCPU1から第1のIC3〜第3
のIC5に一方向にシリアルデータが伝送される。図1
のシリアルデータ通信方式はさらにシフトレジスタ7お
よびデコーダ8からなるデコード手段を有している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a circuit diagram of a first embodiment of the serial data communication system of the present invention. This serial data communication system has a microcomputer arithmetic and control unit (CPU) 1 as a master device, and first integrated circuits (IC) 3 to third ICs 5 as multiple slave devices.
Two cables 2A and 2B connect the PU1 and the first IC3 to the third IC5. In this serial data communication method as well, from the CPU1 to the first IC3 to the third
Serial data is transmitted to the IC5 in one direction. Figure 1
The serial data communication system further includes decoding means consisting of a shift register 7 and a decoder 8.

【0008】なお,このシリアルデータ通信方式は,た
とえば,複数のTV受像機を自動的に試験検査するため
,マスター装置としてのCPU1から調整信号をシリア
ルデータとして出力し,試験検査されるそれぞれの受像
機に接続されそのインターフェースとして機能するスレ
ーブ装置としての第1のIC3〜第3のIC5からなる
試験検査システムに適用される。
[0008] In this serial data communication method, for example, in order to automatically test and inspect a plurality of TV receivers, the CPU 1 as a master device outputs an adjustment signal as serial data, and transmits the adjustment signal to each receiver to be tested and inspected. The present invention is applied to a test/inspection system consisting of a first IC 3 to a third IC 5 as slave devices connected to a machine and functioning as an interface thereof.

【0009】ケーブル2AはCPU1のクロック端子C
LKから出力されるクロックCLKを伝送し,ケーブル
2BはCPU1のシリアルデータ出力端子SDOから出
力されるシリアルデータを伝送する。第3番目のケーブ
ル2CはCPU1のロード端子LOADからデコーダ8
にに出力されるロード信号LOADを伝送する。クロッ
クCLKおよびシリアルデータは,第1のIC3〜第3
のIC5のクロック端子CLKおよびシリアルデータ入
力端子SDIに入力される。
Cable 2A is connected to clock terminal C of CPU1.
Clock CLK outputted from LK is transmitted, and cable 2B transmits serial data outputted from serial data output terminal SDO of CPU1. The third cable 2C is from the load terminal LOAD of CPU1 to the decoder 8.
The load signal LOAD output to the terminal is transmitted. The clock CLK and serial data are sent from the first IC3 to the third IC3.
is input to the clock terminal CLK and serial data input terminal SDI of IC5.

【0010】図2にCPU1から出力される信号のタイ
ミング図を示す。CPU1のシリアルデータ出力端子S
DOから出力されるシリアルデータは,その先頭にデー
タDATAを伝送すべきICの識別コードを示すIC番
号ICNOが付加されている。CPU1から出力される
クロックCLKはIC番号ICNOと本来のデータDA
TAとをシリアル伝送するに必要なパルス数だけ出力さ
れる。CPU1から出力されるロード信号LOADはシ
リアルデータDATAの送出終了時点においてパルス信
号として出力される。
FIG. 2 shows a timing chart of signals output from the CPU 1. Serial data output terminal S of CPU1
The serial data output from the DO has an IC number ICNO added to the beginning thereof indicating the identification code of the IC to which the data DATA is to be transmitted. The clock CLK output from CPU1 is the IC number ICNO and original data DA.
Only the number of pulses necessary for serial transmission with TA is output. The load signal LOAD output from the CPU 1 is output as a pulse signal at the end of sending the serial data DATA.

【0011】図2に示すIC番号ICNOおよびデータ
DATAからなるシリアルデータは第1のIC3〜第3
のIC5に同時に入力される。しかしながら,正式には
IC3IC5の内部には取り込まれず,一時的に保持さ
れて,外部には出力されない。デコード手段を構成する
シフトレジスタ7は,クロックCLKに応答し,第1の
IC3に入力されたシリアルデータのうち,IC番号I
CNO(信号S3)を入力する。シフトレジスタ7への
IC番号ICNOの入力はどのICから入力してもよい
。シフトレジスタ7に入力されたIC番号ICNOはデ
コーダ8において解読され,IC番号ICNOに対応す
る1つのICが特定される。CPU1からロード信号L
OADがデコーダ8の端子Gに印加されると,デコーダ
8は解読したICに対応する出力端子から対応するIC
,たとえば,第2のIC4のロード端子LOADに,デ
コード出力S82を出力する。デコーダ8からロード信
号LOADを入力した第2のIC4は上記仮に入力して
いるシリアルデータをその内部に正式に取り込んで,外
部に出力する。なお,第2のIC4は,IC番号ICN
Oを取り込んで外部に出力する必要はない。正式にシリ
アルデータを内部に取り込んで,外部に出力できるIC
は1つだけであり,この場合,他のICはこの正式なシ
リアルデータの取り込み動作および外部出力動作を行わ
ない。これにより,CPU1から指定した第2のIC4
にのみシリアルデータが正式に取り込まれたことになる
。この取り込まれたシリアルデータによって,第2のI
C4に接続されたTV受像機が検査される。
Serial data consisting of IC number ICNO and data DATA shown in FIG.
are simultaneously input to IC5. However, it is not formally taken into the IC3IC5, but is held temporarily and is not output to the outside. The shift register 7 constituting the decoding means responds to the clock CLK and selects the IC number I of the serial data input to the first IC 3.
Input CNO (signal S3). The IC number ICNO may be input to the shift register 7 from any IC. The IC number ICNO input to the shift register 7 is decoded by the decoder 8, and one IC corresponding to the IC number ICNO is specified. Load signal L from CPU1
When OAD is applied to the terminal G of the decoder 8, the decoder 8 outputs the corresponding IC from the output terminal corresponding to the decoded IC.
, for example, outputs the decode output S82 to the load terminal LOAD of the second IC4. The second IC 4 which receives the load signal LOAD from the decoder 8 formally takes in the provisionally input serial data and outputs it to the outside. Note that the second IC4 has the IC number ICN
There is no need to take in O and output it to the outside. An IC that can formally capture serial data internally and output it externally.
There is only one IC, and in this case, other ICs do not perform this formal serial data capture operation or external output operation. As a result, the second IC4 specified by CPU1
Serial data was officially incorporated only in This captured serial data allows the second I
The TV receiver connected to C4 is tested.

【0012】図1のシリアルデータ通信方式の構成から
明らかなように,図4に示したCPU21のロード信号
を出力する端子の数,および,ロード信号を伝送するた
めのケーブル本数の問題が解決され,接続されるICの
数に依存しない構成となっている。また,図1のシリア
ルデータ通信方式は複数のICに対して同時的にシリア
ルデータを送出するから,図6に示したシリアルデータ
通信方式における伝送速度の低下の問題を解決している
。さらに,図1のシリアルデータ通信方式はデコード手
段としてのシフトレジスタ7とデコーダ8を設けている
だけであり回路構成の複雑はなく,また,回路動作の複
雑さ,CPU1における通信動作の複雑の増加もない。
As is clear from the configuration of the serial data communication system shown in FIG. 1, the problems of the number of terminals for outputting the load signal of the CPU 21 and the number of cables for transmitting the load signal shown in FIG. 4 have been solved. , the configuration is independent of the number of connected ICs. Furthermore, since the serial data communication system shown in FIG. 1 simultaneously sends serial data to a plurality of ICs, it solves the problem of reduced transmission speed in the serial data communication system shown in FIG. Furthermore, the serial data communication system shown in FIG. 1 only has a shift register 7 and a decoder 8 as decoding means, so the circuit configuration is not complicated, and the complexity of the circuit operation and communication operation in the CPU 1 increase. Nor.

【0013】図3に本発明のシリアルデータ通信方式の
第2実施例の構成を示す。このシリアルデータ通信方式
は,図1に示したデコード手段の回路構成を代えたもの
であり,デコード手段として,第1のIC3に対して,
マグニチュードコンパレータ15,シフトレジスタ16
を有し,さらに,ANDゲート11を有している。第2
のIC4に対するデコード手段としてのアドレス一致回
路18,第3のIC5に対するデコード手段としてのア
ドレス一致回路19もそれぞれ,マグニチュードコンパ
レータ15およびシフトレジスタ16と同様の回路構成
である。CPU1と第1のIC3〜第3のIC5は,図
1における場合と同様に,ケーブル2A,2Bを介して
接続されている。
FIG. 3 shows the configuration of a second embodiment of the serial data communication system of the present invention. This serial data communication method is a modification of the circuit configuration of the decoding means shown in FIG. 1, and as the decoding means,
Magnitude comparator 15, shift register 16
It further has an AND gate 11. Second
The address matching circuit 18 as a decoding means for the second IC 4 and the address matching circuit 19 as a decoding means for the third IC 5 have the same circuit configuration as the magnitude comparator 15 and the shift register 16, respectively. The CPU 1 and the first IC 3 to third IC 5 are connected via cables 2A and 2B, as in the case in FIG.

【0014】図3のシリアルデータ通信方式においても
,CPU1から出力されるシリアルデータ,クロックC
LK,および,ロード信号LOADの信号波形(または
フォーマット)とタイミングは図2に示したものと同じ
である。したがって,シリアルデータはIC番号ICN
OとデータDATAとを含む。
In the serial data communication system shown in FIG. 3, the serial data and clock C output from the CPU 1 are also
The signal waveforms (or formats) and timings of LK and load signal LOAD are the same as those shown in FIG. Therefore, the serial data is IC number ICN
0 and data DATA.

【0015】第1のIC3に対するデータ伝送について
述べると,図1におけるシフトレジスタ7への入力と同
様に,第1のIC3からIC番号ICNOがシフトレジ
スタ16に入力される。シフトレジスタ16に入力され
たIC番号ICNOはマグニチュードコンパレータ15
に出力される。マグニチュードコンパレータ15には第
1のIC3のアドレスが予め設定されており,シフトレ
ジスタ16からのIC番号ICNOと一致した時,AN
Dゲート11に「ハイ」レベルの一致信号S15を出力
する。シリアルデータの伝送終了時点で,CPU1から
ロード信号LOADがパルス信号としてANDゲート1
1に出力されると,ANDゲート11からロード信号L
OADに応じた「ハイ」レベルのパルス信号が第1のI
C3のロード端子LOADに入力されて,第1のIC3
がすでに入力されたシリアルデータを正式に取り込み,
外部に出力する。他のICの動作についても上記同様と
なる。
Regarding data transmission to the first IC 3, the IC number ICNO is input from the first IC 3 to the shift register 16, similar to the input to the shift register 7 in FIG. The IC number ICNO input to the shift register 16 is input to the magnitude comparator 15.
is output to. The address of the first IC3 is preset in the magnitude comparator 15, and when it matches the IC number ICNO from the shift register 16, the AN
A "high" level match signal S15 is output to the D gate 11. At the end of serial data transmission, the load signal LOAD is sent from the CPU 1 as a pulse signal to the AND gate 1.
1, the load signal L is output from the AND gate 11.
A “high” level pulse signal corresponding to the OAD is the first I
It is input to the load terminal LOAD of C3, and the first IC3
formally imports the serial data that has already been input,
Output to outside. The same applies to the operations of other ICs.

【0016】図3のシリアルデータ通信方式はデコード
手段が異なるだけで,図1に示したシリアルデータ通信
方式と同じ動作であり,上述した図1のシリアルデータ
通信方式における効果と同じ効果を得ることができる。
The serial data communication method shown in FIG. 3 operates in the same way as the serial data communication method shown in FIG. 1, except for the decoding means, and can obtain the same effects as the serial data communication method shown in FIG. 1 described above. Can be done.

【0017】図2のシリアルデータ通信方式において,
各IC,たとえば,第1のIC3内にANDゲート11
,マグニチュードコンパレータ15およびシフトレジス
タ16の回路を組み込んで,1つのICとして形成する
こともできる。これにより,回路構成および配線がより
簡単になる。
In the serial data communication system shown in FIG.
AND gate 11 in each IC, for example the first IC3.
, magnitude comparator 15, and shift register 16 may be incorporated into one IC. This simplifies the circuit configuration and wiring.

【0018】[0018]

【発明の効果】以上に述べたように,本発明のシリアル
データ通信方式によれば,スレーブ装置の数に依存せず
マスター装置を構成することができ,またマスター装置
と複数のスレーブ装置を接続するケーブル本数もスレー
ブ装置の数に依存しない。また本発明のシリアルデータ
通信方式によれば,複数のスレーブ装置に対して同時的
にシリアルデータを送出しているから,複数のスレーブ
装置を順次シリアル伝送する場合に生ずるデータの伝送
遅延が生じない。
[Effects of the Invention] As described above, according to the serial data communication system of the present invention, a master device can be configured regardless of the number of slave devices, and a master device and a plurality of slave devices can be connected. The number of cables to be connected also does not depend on the number of slave devices. Furthermore, according to the serial data communication method of the present invention, serial data is sent to multiple slave devices simultaneously, so there is no data transmission delay that occurs when serial data is transmitted sequentially to multiple slave devices. .

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

【図1】本発明の第1実施例のシリアルデータ通信方式
の構成図である。
FIG. 1 is a configuration diagram of a serial data communication system according to a first embodiment of the present invention.

【図2】図1における伝送信号フォーマットおよび伝送
タイミングを示す図である。
FIG. 2 is a diagram showing a transmission signal format and transmission timing in FIG. 1;

【図3】本発明の第2実施例のシリアルデータ通信方式
の構成図である。
FIG. 3 is a configuration diagram of a serial data communication system according to a second embodiment of the present invention.

【図4】従来のシリアルデータ通信方式の構成を示す図
である。
FIG. 4 is a diagram showing the configuration of a conventional serial data communication system.

【図5】図4における伝送信号フォーマットおよびタイ
ミングを示す図である。
FIG. 5 is a diagram showing a transmission signal format and timing in FIG. 4;

【図6】従来の他のシリアルデータ通信方式の構成を示
す図である。
FIG. 6 is a diagram showing the configuration of another conventional serial data communication method.

【図7】図6における伝送信号フォーマットおよびタイ
ミングを示す図である。
FIG. 7 is a diagram showing a transmission signal format and timing in FIG. 6;

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

1    CPU 2A〜2C    ケーブル 3〜5    IC 7    シフトレジスタ 8    デコーダ 11〜13    ANDゲート 15    マグニチュードコンパレータ16    
シフトレジスタ 18,19    アドレス一致回路
1 CPU 2A-2C Cable 3-5 IC 7 Shift register 8 Decoder 11-13 AND gate 15 Magnitude comparator 16
Shift register 18, 19 Address matching circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  クロックとともにスレーブ装置の識別
コードを含むシリアルデータを送出しシリアルデータの
送出終了時にロード信号を出力するマスター装置と,こ
のマスター装置からの上記シリアルデータを上記クロッ
クに応答して同時的に入力し,ロード信号の受信に応答
して入力したシリアルデータを取り込むように接続され
た複数のスレーブ装置と,複数のスレーブ装置の任意の
1つから上記シリアルデータに含まれるスレーブ装置の
識別コードを入力し,マスター装置からのロード信号に
応答して対応するスレーブ装置のロードパルス入力端子
を付勢するデコード手段を有することを特徴とするシリ
アルデータ通信方式。
Claim 1: A master device that transmits serial data including an identification code of a slave device along with a clock and outputs a load signal when transmission of the serial data is completed, and a master device that simultaneously transmits the serial data from the master device in response to the clock. Identification of a plurality of slave devices connected to input the input serial data in response to reception of a load signal, and a slave device included in the serial data from any one of the plurality of slave devices. 1. A serial data communication system comprising decoding means for inputting a code and energizing a load pulse input terminal of a corresponding slave device in response to a load signal from a master device.
JP07590391A 1991-03-15 1991-03-15 Serial data communication method Expired - Fee Related JP3488250B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07590391A JP3488250B2 (en) 1991-03-15 1991-03-15 Serial data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07590391A JP3488250B2 (en) 1991-03-15 1991-03-15 Serial data communication method

Publications (2)

Publication Number Publication Date
JPH04287149A true JPH04287149A (en) 1992-10-12
JP3488250B2 JP3488250B2 (en) 2004-01-19

Family

ID=13589764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07590391A Expired - Fee Related JP3488250B2 (en) 1991-03-15 1991-03-15 Serial data communication method

Country Status (1)

Country Link
JP (1) JP3488250B2 (en)

Also Published As

Publication number Publication date
JP3488250B2 (en) 2004-01-19

Similar Documents

Publication Publication Date Title
US5619722A (en) Addressable communication port expander
US4048673A (en) Cpu - i/o bus interface for a data processing system
US7177965B2 (en) Linking addressable shadow port and protocol for serial bus networks
CN109270432B (en) Test method and test system
CN109164374B (en) Chip and chip test system
US20140108696A1 (en) Low speed access to dram
KR100291409B1 (en) Method and apparatus for supporting two secondary decode agents on the same bus in a computer system
KR20010053365A (en) Improved inter-device serial bus protocol
US5905744A (en) Test mode for multifunction PCI device
US7574549B2 (en) Bridge design for SD and MMC multiplexing
JPH11282709A (en) In-circuit emulator
JPH04287149A (en) Serial data communication system
US4145749A (en) Log in-out system for logic apparatus
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
CN116737623A (en) Communication protocol switching method, chip and electronic equipment
JPH0325229Y2 (en)
KR19980083459A (en) Databus Sizing Device
KR20020053381A (en) Serial communication device
JPS60107168A (en) Signal transmission and reception circuit
JPH021680A (en) Communication testing instrument
JPS58223827A (en) Varying device of signal delay time
JPS61115159A (en) Signal string selector
JPS61107844A (en) Data transmission and reception system
JPS61105150A (en) Information transfer circuit
JPH01238339A (en) Serial interface

Legal Events

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