JPH0683291B2 - Serial communication method - Google Patents

Serial communication method

Info

Publication number
JPH0683291B2
JPH0683291B2 JP63030344A JP3034488A JPH0683291B2 JP H0683291 B2 JPH0683291 B2 JP H0683291B2 JP 63030344 A JP63030344 A JP 63030344A JP 3034488 A JP3034488 A JP 3034488A JP H0683291 B2 JPH0683291 B2 JP H0683291B2
Authority
JP
Japan
Prior art keywords
line
data
busy
clock
ack
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 - Fee Related
Application number
JP63030344A
Other languages
Japanese (ja)
Other versions
JPH01205647A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP63030344A priority Critical patent/JPH0683291B2/en
Publication of JPH01205647A publication Critical patent/JPH01205647A/en
Publication of JPH0683291B2 publication Critical patent/JPH0683291B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はシリアル通信方式に関し、特にIC間のデータの
授受を行うシリアル通信方式に関する。
The present invention relates to a serial communication system, and more particularly to a serial communication system for exchanging data between ICs.

〔従来の技術〕[Conventional technology]

従来、この種のシリアル通信において送信側から受信側
に送ったデータに対して受信側から送信側に返送するア
クノレッジ信号(以下、ACK信号)はデータラインを共
用したり、専用のラインを用いて返送するのが一般的と
なっていた。
Conventionally, in this kind of serial communication, the acknowledge signal (hereinafter, ACK signal) for returning from the receiving side to the transmitting side with respect to the data sent from the transmitting side to the receiving side shares the data line or uses a dedicated line. It was common to send them back.

例えば第2図に示すように、データライン202で送信側
より受信側へ送ったデータに対して同じデータライン20
3で受信側より送信側へアクティブロウのACK信号203a部
を送信側へ返送する。ここに202と203は同一ラインであ
り、又ラインドライバ回路はオープンドレイン構造であ
る。このためデータラインはワイヤードオア接続可能と
なっている。
For example, as shown in FIG. 2, the same data line 20 is used for the data sent from the transmitting side to the receiving side on the data line 202.
In step 3, the active side ACK signal 203a is returned from the receiving side to the transmitting side. Here, 202 and 203 are on the same line, and the line driver circuit has an open drain structure. Therefore, the data line can be connected by wired OR.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

しかしながら、上述した従来のシリアル通信方式ではデ
ータラインを共用しているため、データラインをドライ
ブする送信又は受信ICの構造はプッシュプル構造をとる
ことができず、オープンドレイン構造にならざるをえな
かった。このため、高速のデータを転送しようとすると
波形がなまってしまい、高速転送に問題があった。ま
た、バスの切り換えを短時間で行なわなければならず、
この面からも高速転送に適さないという欠点がある。
However, in the above-described conventional serial communication method, the data line is shared, so that the structure of the transmission or reception IC that drives the data line cannot have the push-pull structure, and has to be the open drain structure. It was Therefore, when trying to transfer high-speed data, the waveform becomes blunt, and there is a problem in high-speed transfer. Also, the bus switching must be done in a short time,
From this aspect, there is a drawback that it is not suitable for high-speed transfer.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明のシリアル通信方式は、少くとも2個の通信回路
の間を、データを転送するデータラインと、前記データ
のビット系列に同期したクロックを送出するクロックラ
インと、送信のスタートとストップをコントロールしプ
ルアップ抵抗(又はプルダウン抵抗)により第1の論理
レベルに固定されているビジーラインとで相互接続し、
データを受信した受信側がACK確認をするためある特定
の期間、前記ビジーラインを第2の論理レベルとし、送
信側がこれを確認するときに前記タイミングより短いタ
イミングで出力を解放し、このラインの状態を読むこと
により、受信側のACK確認を受け取るように構成され
る。
The serial communication system of the present invention controls a data line for transferring data between at least two communication circuits, a clock line for sending a clock synchronized with a bit sequence of the data, and a start and stop of transmission. And a busy line fixed to the first logic level by a pull-up resistor (or pull-down resistor).
The busy line is set to the second logic level for a certain period for the receiving side to confirm the ACK when the data is received, and when the transmitting side confirms this, the output is released at a timing shorter than the above timing, and the state of this line Is configured to receive the ACK confirmation of the receiving side.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例である通信網の回路図であ
る。第1図に示すように通信回路IC1及びIC2はクロック
ライン1とデータライン2とビジーライン3とに並列に
接続される。ビジーライン3にはプルアップ抵抗R1を介
して電源VDDに接続される。それぞれの通信回路IC1及び
IC2は、ビジーライン3に接続される出力駆動回路4及
び入力回路5と、送受信制御部6とを備える。
FIG. 1 is a circuit diagram of a communication network which is an embodiment of the present invention. As shown in FIG. 1, the communication circuits IC 1 and IC 2 are connected in parallel to a clock line 1, a data line 2 and a busy line 3. The busy line 3 is connected to the power supply V DD via the pull-up resistor R 1 . Each communication circuit IC 1 and
The IC 2 includes an output drive circuit 4 and an input circuit 5 connected to the busy line 3, and a transmission / reception control unit 6.

IC1を送信側,IC2を受信側とすると、IC1の送受信制御部
6により先ず出力駆動回路4を通してビジーライン3を
ロウレベルに落とし送信を開始し始める。次にクロック
ライン1,データライン2を駆動し、クロック及びデータ
IC2へ送信する。IC2はこのクロック及びデータを受信
し、送受信制御部6により解読し1バイトデータの終り
にIC1の出力駆動回路4でロウレベルに引っぱっている
ビジーライン3をさらにIC2の出力駆動回路4によりACK
出力としてさらにロウレベルに引っぱる。送信側のIC1
が受信側IC2のACK出力を確認するにはIC1の出力駆動回
路をハイイピーダンス(Hi−Z状態)にして、入力回路
5によって確認することができる。
When IC 1 is the transmitting side and IC 2 is the receiving side, the transmission / reception control unit 6 of the IC 1 first lowers the busy line 3 through the output drive circuit 4 to start the transmission. Next, clock line 1 and data line 2 are driven, and the clock and data are
Send to IC 2 . The IC 2 receives this clock and data, decodes it by the transmission / reception control unit 6, and at the end of 1-byte data, outputs the busy line 3 which is pulled to low level by the output drive circuit 4 of IC 1 by the output drive circuit 4 of IC 2. ACK
Further pulls to low level as output. Sender IC 1
In order to confirm the ACK output of the receiving side IC 2 , the output drive circuit of the IC 1 can be made high impedance (Hi-Z state) and confirmed by the input circuit 5.

第3図は第1図の通信網の動作を説明するための各ライ
ンの論理レベルのタイミング図である。
FIG. 3 is a timing chart of the logic level of each line for explaining the operation of the communication network of FIG.

以下、第1図の通信網の動作について第3図を参照して
説明する。第3図において、スタート34を送信側IC1
ビジーライン34をロウレベルに引っぱることによりおこ
なう。この後、クロックライン31及びデータライン32に
クロック及びデータをのせて送信する。受信側IC2は送
信側より送られてきたD1〜D0のデータを受信すると、受
信したというACK出力37をA1〜A4のタイミングで同じビ
ジーライン33に出力する。このビジーライン33はオープ
ンドレイン構造によるワイヤードオア構成となっている
ため、もし、この期間送信側のビジーラインドライブ4
をOFFしてもバスラインはロウレベルに固定されている
はずである。このためA1〜A4より短いA2〜A3のタイミン
グで送信側のビジーラインドライブ4をOFFしACK確認38
をおこなう。
The operation of the communication network shown in FIG. 1 will be described below with reference to FIG. In FIG. 3, the start 34 is performed by the transmitting IC 1 pulling the busy line 34 to the low level. After that, the clock and the data are transmitted on the clock line 31 and the data line 32. When the receiving IC 2 receives the data D 1 to D 0 sent from the transmitting side, it outputs the ACK output 37 indicating that the data is received to the same busy line 33 at the timing of A 1 to A 4 . Since this busy line 33 has a wired OR structure with an open drain structure, if the busy line drive 4 on the transmission side during this period
Even if is turned off, the bus line should be fixed at low level. For this reason, the busy line drive 4 on the transmitting side is turned off at the timing of A 2 to A 3 , which is shorter than A 1 to A 4, and ACK confirmation 38
Perform.

このように、ACK出力をビジーラインにのせたことによ
り、データラインを双方向で用いる必要がなく、クロッ
クライン,データラインを送信側においてプッシュプル
形式で駆動することにより、容量が付加されても駆動イ
ンピーダンスを低くできるため高速なデータの転送が可
能となる。
In this way, by placing the ACK output on the busy line, it is not necessary to use the data line bidirectionally, and even if capacity is added by driving the clock line and data line in the push-pull format on the transmission side. Since the driving impedance can be lowered, high-speed data transfer becomes possible.

一例を示すると、駆動インピーダンスが300Ωで配線容
量が1000pFついても0.2μsの波形遅れしか生じない。
又、非常に高速に転送をおこなうためにACK確認38を1
時中断する場合にはいつもロウレベルに引っぱっておけ
ば、バスとしてはACKを確認したことになり、高速転送
にも対応できる。又、送信側がACK確認をしようとHi−
Z状態にしたときACK出力が出ていなかったときは、ビ
ジーラインはハイレベルになる。これはストップと同じ
であり自動的にバスを中断することができる。
As an example, even if the driving impedance is 300Ω and the wiring capacitance is 1000 pF, only a waveform delay of 0.2 μs occurs.
Also, set 1 for ACK confirmation 38 to transfer at very high speed.
If you always pull it to a low level when you want to interrupt the time, you will have confirmed the ACK for the bus, and you can also support high-speed transfer. In addition, the sender tries to confirm the ACK, Hi-
If the ACK output is not output when the Z state is set, the busy line becomes high level. This is the same as a stop and can automatically suspend the bus.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明のシリアル通信方式は、従来
データラインにのせていた受信ICから送信ICへのACK確
認出力をスタート,ストップを制御するビジーラインに
多重化することによりデータラインを高速で制御できる
ことができ、極めて高速な通信を可能とすることができ
るという効果がある。
As described above, according to the serial communication method of the present invention, the ACK confirmation output from the receiving IC to the transmitting IC, which has been placed on the conventional data line, is multiplexed with the busy line for controlling the start and stop of the data line at high speed. There is an effect that it can be controlled and extremely high speed communication can be enabled.

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

第1図は本発明の一実施例を用いる通信網の回路図、第
2図は従来の通信網のデータ転送の説明図、第3図は本
発明の通信網のデータ転送の動作を説明するために各ラ
インの論理レベルのタイミング図である。 1……クロックランイン、2……データライン、3……
ビジーライン、4……出力駆動回路、5……入力回路、
6……送受信制御部、31……クロックライン(送信
側)、32……データライン(送信側)、33……ビジーラ
イン(送信側)、34……ビジーライン(受信側)、35…
…スタート、36……ストップ、37……ACK出力、38……A
CK確認。
FIG. 1 is a circuit diagram of a communication network using an embodiment of the present invention, FIG. 2 is an explanatory view of data transfer of a conventional communication network, and FIG. 3 is a description of data transfer operation of the communication network of the present invention. FIG. 6 is a timing diagram of logic levels of each line for the purpose of explanation. 1 ... Clock run-in, 2 ... Data line, 3 ...
Busy line, 4 ... Output drive circuit, 5 ... Input circuit,
6 ... Transmission / reception control unit, 31 ... Clock line (transmission side), 32 ... Data line (transmission side), 33 ... Busy line (transmission side), 34 ... Busy line (reception side), 35 ...
… Start, 36 …… Stop, 37 …… ACK output, 38 …… A
CK confirmation.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】少くとも2つの通信局間をデータを転送す
るデータラインと、前記データのビット系列に同期した
クロックを送出するクロックラインと、送信のスタート
とストップをコントロールするビジーラインとで相互接
続し、データの受信局側はデータの送信局側へデータを
受信したことを示すアクノレッジ信号を前記ビジーライ
ン上に出力し、前記送信局側は前記アクノレッジ信号の
出力期間より短い期間の間前記ビジーラインのレベルを
検出することで前記アクノレッジ信号を受け取ることを
特徴とするシリアル通信方式。
1. A data line for transferring data between at least two communication stations, a clock line for transmitting a clock synchronized with a bit sequence of the data, and a busy line for controlling start and stop of transmission. Connected, the data receiving station side outputs an acknowledge signal indicating that data has been received to the data transmitting station side on the busy line, and the transmitting station side outputs the acknowledge signal for a period shorter than the output period of the acknowledge signal. A serial communication system characterized by receiving the acknowledge signal by detecting the level of a busy line.
JP63030344A 1988-02-12 1988-02-12 Serial communication method Expired - Fee Related JPH0683291B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63030344A JPH0683291B2 (en) 1988-02-12 1988-02-12 Serial communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63030344A JPH0683291B2 (en) 1988-02-12 1988-02-12 Serial communication method

Publications (2)

Publication Number Publication Date
JPH01205647A JPH01205647A (en) 1989-08-18
JPH0683291B2 true JPH0683291B2 (en) 1994-10-19

Family

ID=12301220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63030344A Expired - Fee Related JPH0683291B2 (en) 1988-02-12 1988-02-12 Serial communication method

Country Status (1)

Country Link
JP (1) JPH0683291B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5341380A (en) * 1992-03-19 1994-08-23 Nec Corporation Large-scale integrated circuit device
EP1128271A1 (en) * 2000-02-22 2001-08-29 THOMSON multimedia S.A. Method for the serial transfer of data between two electronic bus stations and bus station for use in said method
JP4702046B2 (en) * 2005-12-27 2011-06-15 株式会社ケンウッド Recording and / or reproducing device, control device and control method

Also Published As

Publication number Publication date
JPH01205647A (en) 1989-08-18

Similar Documents

Publication Publication Date Title
KR100597417B1 (en) Electronic apparatus with a bus
EP0183273A2 (en) Serial interface system flexibly applicable to a one-to-plurality connection
EP0287119A2 (en) Serial data processor capable of transferring data at a high speed
JPH02137051A (en) Bus interface
JPH0581101B2 (en)
JPH05181790A (en) Ieee 488 interface and message processing method
US20060294275A1 (en) Fast two wire interface and protocol for transferring data
JP4017822B2 (en) A device that controls the transmission of data
JPH0683291B2 (en) Serial communication method
CN112087241A (en) Method for realizing single-wire communication of elevator bus button
EP1051821B1 (en) Arbitration scheme for a serial interface
JP3201666B2 (en) Interface conversion circuit for half-duplex serial transmission
JPH0823582A (en) Bus control system
JPS6361533A (en) Serial data transfer device
US6925505B2 (en) Method and device for data transmission control between IDE apparatuses
KR0143684B1 (en) An interface for supporting ic protocol
JPH0624395B2 (en) Data communication device
JP3155749B2 (en) Signal processing device
JPH0998174A (en) Synchronous serial communication equipment
JPH063941B2 (en) Serial communication method
JPH0695700B2 (en) Data communication device
JPH0630505B2 (en) Serial communication system
JPS63234757A (en) Serial communication system
JPH0681158B2 (en) Data transfer control device
JPH0870295A (en) Signal transmission method

Legal Events

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