[go: up one dir, main page]

JPH01288128A - Two-way data transfer control method - Google Patents

Two-way data transfer control method

Info

Publication number
JPH01288128A
JPH01288128A JP63118515A JP11851588A JPH01288128A JP H01288128 A JPH01288128 A JP H01288128A JP 63118515 A JP63118515 A JP 63118515A JP 11851588 A JP11851588 A JP 11851588A JP H01288128 A JPH01288128 A JP H01288128A
Authority
JP
Japan
Prior art keywords
data
strobe signal
signal
strobe
master device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63118515A
Other languages
Japanese (ja)
Inventor
Tadaaki Mimura
三村 忠昭
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 JP63118515A priority Critical patent/JPH01288128A/en
Publication of JPH01288128A publication Critical patent/JPH01288128A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Bidirectional Digital Transmission (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To attain sure data transfer at high speed regardless of a delay time between a master and a slave equipment by preparing two strobe signals for synchronization and returning the strobe signal from the master equipment after the adjustment of the timing. CONSTITUTION:A strobe generator 2 generates a prescribed strobe signal and sends the signal to a slave equipment as the 1st strobe signal and to a synchronizing signal selection circuit 3. The slave equipment uses the 1st strobe signal as a synchronizing signal (clock) to receive (output) a data by a register 6. In this case, the 1st strobe signal is subject to timing adjustment and waveform shaping by a timing adjustment means 8 and is returned to the master equipment as the 2nd strobe signal. A register 4 receives the data by using the 2nd strobe signal as the synchronizing signal. Thus, the data is transmitted in a sure timing regardless of the delay time.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、データ転送制御方法、特にマスタ装置とスレ
ーブ装置の間で双方向データ転送を行う場合の制御方法
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data transfer control method, particularly to a control method for performing bidirectional data transfer between a master device and a slave device.

従来の技術 一般に、2つの装置A(マスタ装置)、B(スレーブ装
置)の間でデータ転送する場合、互いに相手の動作を確
認しデータを転送する非同期確認方法と、一方が主とな
り他方がこれに同期して転送をおこなう同期非確認方法
とがある。前者は、互いに相手の動作を確認しながら動
作を進めていくため、確実な転送が行える。この−膜内
な例として、ストローブ信号とA CK信号の2本の制
御線を用いたACK返送方法がある。
Conventional technology In general, when data is transferred between two devices A (master device) and B (slave device), there are two methods: an asynchronous confirmation method in which each device confirms the other's operation and then transfers data, and a method in which one device is the master device and the other is the slave device. There is a synchronous non-confirmation method in which transfer is performed in synchronization with the above. In the former case, each party proceeds with the operation while checking the other party's operation, so reliable transfer is possible. An example of this method is an ACK return method using two control lines, a strobe signal and an ACK signal.

発明が解決しようとする課題 しかしながら、従来のACK返送の非同期確認方法では
、スレーブ装置側でストローブ信号にしたがってデータ
を受は取ってからACK信号を返送するための処理回路
を必要とし、さらにそのための処理時間を要する。この
ため、データの転送速度をあまり上げることができない
Problems to be Solved by the Invention However, the conventional asynchronous confirmation method for ACK return requires a processing circuit on the slave device side to receive data in accordance with a strobe signal and then return an ACK signal. Processing time is required. Therefore, the data transfer speed cannot be increased much.

また、同期非確認方法では、マスタ装置からスレーブ装
置へデータを送信する場合は、ストローブ信号を所定の
タイミングで送ることができるため問題ないが、逆にマ
スタ装置がデータを受信する場合には、スレーブ装置内
部での処理時間や伝送路での信号の伝播遅延により、1
サイクル内にデータがマスタ装置へ帰って来ない場合が
生じる。
In addition, with the synchronization non-confirmation method, there is no problem when transmitting data from the master device to the slave device because the strobe signal can be sent at a predetermined timing, but conversely, when the master device receives data, Due to processing time inside the slave device and signal propagation delay on the transmission path,
There may be cases where data does not return to the master device within a cycle.

本発明は、かかる問題点に鑑み、マスタ装置とスレーブ
装置の間で、双方向データ転送を行う際に、伝送路での
信号遅延時間にかかわらず簡単な回路構成で高速にデー
タの転送が可能な制御方法を提供することを目的とする
In view of these problems, the present invention enables high-speed data transfer with a simple circuit configuration, regardless of signal delay time on the transmission path, when performing bidirectional data transfer between a master device and a slave device. The purpose is to provide a control method that is easy to use.

課題を解決するための手段 本発明は、マスタ装置とスレーブ装置の間で双方向デー
タ転送を行うシステムにおいて前記マスタ装置とスレー
ブ装置の間に二本のストローブ信号を備え、前記マスタ
装置からデータを送信する場合には前記マスタ装置から
前記スレーブ装置へ送信する第一のストローブ信号に同
期させた所定のタイミングでデータを送信し逆に前記マ
スタ装置がデータを受信する場合には前記第一のストロ
ーブ信号に応じて前記スレニブ装置よりデータを送信し
前記第一のストローブ信号をタイミング調整手段により
タイミング調整および波形整形を行うかあるいはそのま
ま返送した第ニストロープ信号に同期して前記マスタ装
置がデータを受信することを特徴とする双方向データ転
送制御方法である。
Means for Solving the Problems The present invention provides a system for bidirectional data transfer between a master device and a slave device, which includes two strobe signals between the master device and the slave device, and which transmits data from the master device. When transmitting data, the data is transmitted at a predetermined timing synchronized with the first strobe signal transmitted from the master device to the slave device, and conversely, when the master device receives data, the first strobe signal is transmitted from the master device to the slave device. The master device transmits data in response to the signal, and performs timing adjustment and waveform shaping on the first strobe signal by a timing adjustment means, or receives the data in synchronization with the second strobe signal that is returned as is. This is a bidirectional data transfer control method characterized by:

作   用 第−のストローブ信号は、マスタ装置からスレーブ装置
へデータを送信する場合、送信データに応じた所定のタ
イミングで送信される。スレーブ装置では、この第一の
ストローブ信号を同期信号としてデータを取り込む。ま
た、マスタ装置がスレーブ装置からデータを受信する場
合にもマスタ装置は第一のストローブ信号を送信する。
Operation: When transmitting data from the master device to the slave device, the first strobe signal is transmitted at a predetermined timing according to the transmitted data. The slave device takes in data using this first strobe signal as a synchronization signal. Also, when the master device receives data from the slave device, the master device transmits the first strobe signal.

スレーブ装置は、送られて来た第一のストローブ信号を
クロックとしてマスタ装置へデータを送信する。
The slave device transmits data to the master device using the received first strobe signal as a clock.

この時第−のストローブ信号はタイミング調整手段によ
りタイミング調整および波形整形された後、第二のスト
ローブ信号として第一のストローブ信号とは別の伝送路
によりマスタ装置へ送り帰される。マスタ装置では、こ
の第二のストローブ信号を同期信号としてスレーブ装置
からのデータを取り込む。
At this time, the first strobe signal is subjected to timing adjustment and waveform shaping by the timing adjustment means, and then sent back to the master device as a second strobe signal through a transmission path different from that of the first strobe signal. The master device takes in data from the slave device using this second strobe signal as a synchronization signal.

以上の構成により、マスタ装置がスレーブ装置からデー
タを受信する場合に、データと第二のストローブ信号を
常に所定のタイミングで受は取ることが出来るため、伝
送路での遅延時間にかかわらず確実に、しかも高速にデ
ータ転送することが可能となる。
With the above configuration, when the master device receives data from the slave device, it can always receive the data and the second strobe signal at the predetermined timing, so it can be reliably received regardless of the delay time in the transmission path. Moreover, it becomes possible to transfer data at high speed.

実  施  例 本発明の双方向データ転送制御方法による一実施例を第
1図に示す。タイミング生成回路1は、ストローブ発生
器2ヘストロープ発生通知信号を、送・受信選択回路5
へ送・受信選択通知信号をそれぞれ通知する。ストロー
ブ発生器2は、所定のストローブ信号を発生し、第一の
ストローブ信号としてスレーブ装置へ送信するとともに
、同期信号選択回路3へ送信する。マスタ装置からスレ
ーブ装置へデータを送信する場合には、送・受信選択回
路5からの通知信号にちたがって、ストローブ発生器2
より送られてきた信号をレジスタ4へ送る。レジスタ4
はこの信号をクロックとしてデータをスレーブ装置へ出
力する。スレーブ装置では、第一のストローブ信号を同
期信号として、レジスタ6によりデータを受信する。こ
こで、ストローブ信号は、レジスタ6へ送られるととも
に、図に示すようにタイミング調整手段8を通して第二
のストローブ信号としてマスタ装置へ返送される。第二
図(a)にデータ送信時のタイムチャートを示す。
Embodiment An embodiment of the bidirectional data transfer control method of the present invention is shown in FIG. The timing generation circuit 1 sends the strobe generation notification signal to the strobe generator 2 to the transmission/reception selection circuit 5.
The send/receive selection notification signal is notified to each of the send/receive selection notification signals. The strobe generator 2 generates a predetermined strobe signal and transmits it to the slave device as a first strobe signal, and also transmits it to the synchronization signal selection circuit 3. When transmitting data from the master device to the slave device, the strobe generator 2
The signal sent from the register 4 is sent to the register 4. register 4
outputs data to the slave device using this signal as a clock. In the slave device, data is received by the register 6 using the first strobe signal as a synchronization signal. Here, the strobe signal is sent to the register 6 and, as shown in the figure, is sent back to the master device as a second strobe signal through the timing adjustment means 8. FIG. 2(a) shows a time chart during data transmission.

一方マスタ装置がスレーブ装置からデータを受信する場
合、スレーブ装置では送・受信選択回路7からの通知信
号により、第一のストローブ信号をクロックとしてレジ
スタ6よりデータを出力する。この時送信の場合と同様
に、第一のストローブ信号はタイミング調整手段8によ
りタイクング調整および波形整形された後、第二のスト
ローブ信号としてマスタ装置へ返送される。タイミング
調整手段8には、スレーブ装置でのストローブ入力から
データ出力までのアクセス時間に応じて、バッファ、イ
ンバータ、遅延回路等をもちいる。
On the other hand, when the master device receives data from the slave device, the slave device outputs data from the register 6 using the first strobe signal as a clock in response to a notification signal from the transmission/reception selection circuit 7. At this time, as in the case of transmission, the first strobe signal is subjected to timing adjustment and waveform shaping by the timing adjustment means 8, and is then sent back to the master device as a second strobe signal. The timing adjustment means 8 uses a buffer, an inverter, a delay circuit, etc. depending on the access time from strobe input to data output in the slave device.

マスタ装置の同期信号選択回路3では、送・受信選択回
路5からの通知にしたがいスレーブ装置より返送された
第二のストローブ信号をレジスタ4へ送る。レジスタ4
ではこの信号を同期信号としてデータを受信する。第2
図(b)にデータ受信時のタイムチャートを示す。図に
示すように、伝送路での遅延時間t、のデータとストロ
ーブ信号への寄与は同じであるので、タイミング調整手
段8により適切なタイミング調整さえ行えば、遅延時間
の値にかかわらず確実なタイミングでデータを転送する
ことができる。
The synchronization signal selection circuit 3 of the master device sends the second strobe signal returned from the slave device to the register 4 in accordance with the notification from the transmission/reception selection circuit 5. register 4
Then, data is received using this signal as a synchronization signal. Second
Figure (b) shows a time chart during data reception. As shown in the figure, since the contribution of the delay time t in the transmission path to the data and the strobe signal is the same, as long as the timing is adjusted appropriately by the timing adjustment means 8, regardless of the value of the delay time, reliable Data can be transferred in a timely manner.

なお、タイミング調整手段8は、第1図に示したように
スレーブ装置内部に設ける他、装置外部に例えばTTL
やデイレイライン等を用いて設けることも可能である。
The timing adjustment means 8 may be provided inside the slave device as shown in FIG.
It is also possible to provide it using a delay line or the like.

発明の効果 本発明による双方向データ転送制御方法は、同期のため
のストローブ信号を二本持ち、マスタ装置からのストロ
ーブ信号をタイミング調整後返送することにより、スレ
ーブ装置からのデータとストローブ信号の間に所定のタ
イミングを得ることが出来る。このため、マスタ装置と
スレーブ装置の間の伝送路での信号の遅延時間にかかわ
らず確実な双方向のデータ転送を行うことができる。ま
た、ストローブの返送に複雑な処理回路を必要としない
ため、高速にデータの転送を行うことができる。
Effects of the Invention The bidirectional data transfer control method according to the present invention has two strobe signals for synchronization, and returns the strobe signal from the master device after timing adjustment, so that the data from the slave device and the strobe signal can be A predetermined timing can be obtained. Therefore, reliable bidirectional data transfer can be performed regardless of the signal delay time on the transmission line between the master device and the slave device. Further, since a complicated processing circuit is not required for returning the strobe, data can be transferred at high speed.

以上のように、本発明による双方向データ転送制御方法
は、簡単な回路構成によりマスタ、スレーブ間の遅延時
間にかかわらず高速でかつ確実なデータ転送を行うこと
ができる。したがって、各種情報処理装置、特に、多数
のデータ伝送路を持つ並列計算機のネットワークデータ
転送等に対し、極めて有効である。
As described above, the bidirectional data transfer control method according to the present invention can perform high-speed and reliable data transfer with a simple circuit configuration regardless of the delay time between the master and slave. Therefore, it is extremely effective for various information processing devices, especially for network data transfer of parallel computers having a large number of data transmission paths.

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

第1図は、本発明の一実施例のためのブロック構成図、
第2図は、同ブロック構成例でのタイムチャート図であ
る。 1・・・・・・タイミング生成回路、2・・・・・・ス
トローブ発生器、3・・・・・・同期信号選択回路、4
・・・・・・レジスタ、5・・・・・・送・受信選択回
路、6・・・・・・レジスタ、7・・・・・・送・受信
選択回路、8・・・・・・タイミング調整手段。
FIG. 1 is a block diagram for an embodiment of the present invention;
FIG. 2 is a time chart diagram of the same block configuration example. 1... Timing generation circuit, 2... Strobe generator, 3... Synchronization signal selection circuit, 4
...Register, 5...Transmission/reception selection circuit, 6...Register, 7...Transmission/reception selection circuit, 8... Timing adjustment means.

Claims (1)

【特許請求の範囲】[Claims] マスタ装置とスレーブ装置の間で双方向データ転送を行
うシステムにおいて前記マスタ装置とスレーブ装置の間
に二本のストローブ信号を備え、前記マスタ装置からデ
ータを送信する場合には前記マスタ装置から前記スレー
ブ装置へ送信する第一のストローブ信号に同期させた所
定のタイミングでデータを送信し逆に前記マスタ装置が
データを受信する場合には前記第一のストローブ信号に
応じて前記スレーブ装置よりデータを送信し前記第一の
ストローブ信号をタイミング調整手段によりタイミング
調整および波形整形を行うかあるいはそのまま返送した
第二のストローブ信号に同期して前記マスタ装置がデー
タを受信することを特徴とする双方向データ転送制御方
法。
In a system that performs bidirectional data transfer between a master device and a slave device, two strobe signals are provided between the master device and the slave device. Data is transmitted at a predetermined timing synchronized with a first strobe signal transmitted to the device, and conversely, when the master device receives data, the slave device transmits data in response to the first strobe signal. and the master device receives the data in synchronization with the second strobe signal which is subjected to timing adjustment and waveform shaping on the first strobe signal by a timing adjustment means or is returned as is. Control method.
JP63118515A 1988-05-16 1988-05-16 Two-way data transfer control method Pending JPH01288128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63118515A JPH01288128A (en) 1988-05-16 1988-05-16 Two-way data transfer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63118515A JPH01288128A (en) 1988-05-16 1988-05-16 Two-way data transfer control method

Publications (1)

Publication Number Publication Date
JPH01288128A true JPH01288128A (en) 1989-11-20

Family

ID=14738538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63118515A Pending JPH01288128A (en) 1988-05-16 1988-05-16 Two-way data transfer control method

Country Status (1)

Country Link
JP (1) JPH01288128A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6041341A (en) * 1983-08-16 1985-03-05 Nec Corp Time division bidirectional transmission system
JPS60204149A (en) * 1984-03-29 1985-10-15 Mitsubishi Electric Corp data transmission equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6041341A (en) * 1983-08-16 1985-03-05 Nec Corp Time division bidirectional transmission system
JPS60204149A (en) * 1984-03-29 1985-10-15 Mitsubishi Electric Corp data transmission equipment

Similar Documents

Publication Publication Date Title
US5432823A (en) Method and circuitry for minimizing clock-data skew in a bus system
JPH03157030A (en) data processing equipment
US20240330233A1 (en) Communication device, communication system, and communication method
US5291529A (en) Handshake synchronization system
JP3023029B2 (en) Communication method between cards in shelf configuration
JPH0575594A (en) Parallel bit synchronizing system
JPH01288128A (en) Two-way data transfer control method
JPS6217779B2 (en)
JPH0731530B2 (en) Synchronous control NC device
JP2001265716A (en) Information transmission device and information transmission method
JPS60138635A (en) Data buffer
JP2767990B2 (en) Microprocessor control method
JP3413894B2 (en) Serial transmission device
JPS63237157A (en) Data processing system
JPH06223037A (en) High-speed synchronous type data transfer method
JPS5853807B2 (en) Transmission method using clock loopback
JPH04322356A (en) Bidirectional synchronous bus
JPH01155743A (en) Loop shape data transmission equipment
JPS6024497B2 (en) Data transfer method
KR20020084725A (en) Memory controller for data transporting with low speed periperal device
JPH0528106A (en) Data transfer system
JPS63237158A (en) Data processing system
JPH01128636A (en) System for transmitting data intra-asynchronous equipments
JP2511551B2 (en) Common bus control method
JPH04170830A (en) Clock synchronizing type serial data transmitter