JPS63276944A - Data transfer equipment - Google Patents

Data transfer equipment

Info

Publication number
JPS63276944A
JPS63276944A JP62038923A JP3892387A JPS63276944A JP S63276944 A JPS63276944 A JP S63276944A JP 62038923 A JP62038923 A JP 62038923A JP 3892387 A JP3892387 A JP 3892387A JP S63276944 A JPS63276944 A JP S63276944A
Authority
JP
Japan
Prior art keywords
data
reception
transmission
transfer
cpu
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
JP62038923A
Other languages
Japanese (ja)
Other versions
JPH0521464B2 (en
Inventor
Yasuhiko Sasaki
康彦 佐々木
Shinichi Tomizawa
富沢 信一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62038923A priority Critical patent/JPS63276944A/en
Publication of JPS63276944A publication Critical patent/JPS63276944A/en
Publication of JPH0521464B2 publication Critical patent/JPH0521464B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To quicken the information transfer by allowing a transmission section to write information of a prescribed byte number to be transferred into a storage, transmission information by a prescribed method in applying a CPU transfer start trigger to a transmission control means, allowing a reception section to write the information into a storage and reading it at a CPU when a prescribed number of bytes for writing are finished. CONSTITUTION:A transmission section once writes all transfer information into a storage 30, and in applying a transfer start trigger of a CPU to a transmission control means 32, the information is transferred according to a prescribed hand-shake method. The transferred byte number and the byte number written in the storage 30 are compared by a circuit 31 and the transfer is finished when they are coincident. By the control of a reception control means 42, a reception section writes information into a storage 40 by a prescribed hand-shake method and a counter 41 counts the byte number. The reception control means 42 informs the end of transfer to the CPU at the end of write. The CPU reads the information of the corresponding byte number to the count 41 from the storage 40. By such a constitution, the information transfer speed depends on the processing speed of the reception section and high speed information transfer is attained.

Description

【発明の詳細な説明】 〔概要〕 データ転送装置において、送信部では転送すべき所定バ
イト数のデータを送信記憶手段に書き込んだ後にCPU
からの転送開始トリガが送信制御手段に加えられると、
送信制御手段の制御により定められたハンドシェイク方
法でデータを受信部に転送する。
[Detailed Description of the Invention] [Summary] In a data transfer device, the transmitting unit writes a predetermined number of bytes of data to be transferred into the transmitting storage means, and then the CPU
When a transfer start trigger from is applied to the transmission control means,
The data is transferred to the receiving section using a handshake method determined by the control of the transmission control means.

受信部では受信制御手段の制御によりハンドシェイク方
法でこのデータを受信して受信記憶手段に書き込み、所
定バイト数のデータの書き込みが完了した時点でCPU
側に読み出される様にしてデータ転送の高速化を図った
ものである。
The reception section receives this data using a handshake method under the control of the reception control means and writes it into the reception storage means, and when the writing of a predetermined number of bytes of data is completed, the CPU
This is intended to speed up data transfer by having the data read out from the side.

〔産業上の利用分野〕[Industrial application field]

本発明はデータ転送装置9例えば並列データをハンドシ
ェイク方法で転送するデータ転送装置の改良に関するも
のである。
The present invention relates to an improvement in a data transfer device 9, for example, a data transfer device that transfers parallel data using a handshake method.

第3図は本願が適用できるハイドシェイク方法のタイム
チャートで、第3図(a)は送信部のタイムチャート、
第3図(blは受信部のタイムチャートを示す。尚、図
中の数字は手順の順序を、(S)は送゛信を、(R)は
受信を示す。
FIG. 3 is a time chart of the hide shake method to which the present application can be applied, and FIG. 3 (a) is a time chart of the transmitter;
FIG. 3 (bl shows a time chart of the receiving section. The numbers in the figure indicate the order of procedures, (S) indicates transmission, and (R) indicates reception.

以下、同図にこの方法を説明する。This method will be explained below with reference to the figure.

璽l)送信部のタイムチャート(第3図(al参照)先
ず、■に示す様に受信可を示すLレベルの“レシーブ0
に”を受信すると、“データ送出中”のレベルをHから
しにして送出し、殆ど同時にデータの最初のワードを転
送し、時間1.経過後に転送データが有効であることを
示す Lレベルの“データストローブを受信部に送出す
る(■〜■参照)。
1) Time chart of the transmitter (see Figure 3 (al)) First, as shown in
When it receives ``, the level of ``data being sent'' is set to H, and the first word of data is transferred almost simultaneously, and after a period of time 1, the level of ``L'' indicates that the transferred data is valid. “Send the data strobe to the receiver (see ■ to ■).

次に、11レベルの“レシーブOK″の受信に対シて“
データストローブのレベルをLからをHにして受信部に
送出する。そこで、受信部は“レシーブOK″のレベル
をHからLにして送信可を示すので送信部から次のワー
ドのデータを転送する(■〜■参照)。
Next, in response to the reception of “Receive OK” at level 11, “
The level of the data strobe is changed from L to H and sent to the receiving section. Therefore, the receiving section changes the level of "receive OK" from H to L to indicate that transmission is possible, and therefore transfers the next word of data from the transmitting section (see ① to ①).

これを繰り返して送信部から最後のワードのデータを送
出した後に“データストローブのレベルをHからLにし
て受信部に送出し、受信部よりの11レベルの“レシー
ブOK”を受信した後、“データ送出中”のレベルをL
からHにして受信部に送出する(■〜@参照)。そして
、“レシーブOK′がLになったら、送信部から“デー
タストローブのレベルをしから1(にして送出してデー
タ転送が終了する。
After repeating this and sending out the last word of data from the transmitting section, "change the data strobe level from H to L and send it to the receiving section, and after receiving the 11 level "receive OK" from the receiving section, ""Sendingdata" level to L
to H and sends it to the receiving unit (see ■~@). Then, when "receive OK" becomes L, the transmitting section sets the level of the data strobe to 1 (from then on) and transmits the data, thereby completing the data transfer.

この状態は第3図(a)のAの状態と一致する。This state corresponds to the state A in FIG. 3(a).

(2)受信部のタイムチャート(第3図(bl参照)受
信部では■〜0に示す様に上記の送信部とほぼ逆の操作
が行われる。
(2) Time chart of the receiving section (see Fig. 3 (bl)) In the receiving section, as shown by ◯ to 0, almost the opposite operation to that of the above-mentioned transmitting section is performed.

ここで、上記の様なハンドシェイク方法を用いてデータ
転送を行う際にも転送速度が速いことが必要である。
Here, when data is transferred using the handshake method as described above, it is necessary that the transfer speed be high.

〔従来の技術〕゛ 第4図は従来例のブロック図を示し、点線より上側は送
信部、下側は受信部のブロック図をそれぞれ示す。
[Prior Art] Fig. 4 shows a block diagram of a conventional example, with the block diagram above the dotted line showing the transmitting section, and the section below the dotted line showing the receiving section.

以下、メモリ (図示せず)には上記のハンドシェイク
方法のタイムチャートに対応するプログラムが書き込ま
れているので、CPU 1はこれに従って上記のタイム
チャートを実行するとして第4図の動作を説明する。
Hereinafter, the operation of FIG. 4 will be explained assuming that since a program corresponding to the time chart of the above handshake method is written in the memory (not shown), the CPU 1 executes the above time chart in accordance with the program. .

先ず、送信部では相手側からの“レシーブOK”がイン
バータ(以下、 INVと省略する)6,7゜Dタイプ
フリップフロップ(以下、 D−FFと省略するHl、
 INV3を介してIRQ(割り込み要求)としてCP
U  1に加えられる。
First, in the transmitting section, when "receive OK" is received from the other party, an inverter (hereinafter abbreviated as INV), a 6,7° D-type flip-flop (hereinafter abbreviated as D-FF),
CP as IRQ (interrupt request) via INV3
Added to U 1.

そこで、CPUはアドレス(B )とデータ(Do)と
をアドレスデコーダ2とデータバスとを介してバッファ
ゲート14に送出するので、バッファゲート14、 D
−FF9. INV 4を通ッタコノテータニヨリLレ
ベルの“データ送出中”が相手に送出される。
Therefore, the CPU sends the address (B) and data (Do) to the buffer gate 14 via the address decoder 2 and the data bus.
-FF9. Through INV 4, an L-level message "Data Sending" is sent to the other party.

尚、8はバッファゲート14. noはD−FF 9を
指定する。
8 is a buffer gate 14. No specifies D-FF 9.

そして、CPUの内部レジスタ(図示せず)に移し替え
られていた転送すべきデータの最初のワードのデータが
、アドレス八と読み出し/書き込みクロック(以下、R
/W−CKと省略する)を用いてバッファゲート13を
介して並列データで相手側に転送されるが、データ転送
開始から時間t1後にCPUはアドレス(B )とデー
タ(p、)をバッファゲート14に送出するので、バッ
ファゲート14. D−FF IQ。
Then, the data of the first word of the data to be transferred, which had been transferred to the internal register (not shown) of the CPU, is transferred to address 8 and the read/write clock (hereinafter referred to as R).
/W-CK) is used to transfer the data in parallel to the other party via the buffer gate 13, but after time t1 from the start of data transfer, the CPU transfers the address (B) and data (p,) to the buffer gate. 14, so the buffer gate 14. D-FF IQ.

INV 5を通ったこのデータによりLレベルの、″デ
ータストローブが相手側に送出される。
This data passing through INV 5 causes an L level "data strobe" to be sent to the other party.

その後、Hレベルの“レシーブOK”がINシロ。After that, the H level "receive OK" was IN.

7、 D−FFII、 INV3を介しテCPUに入力
し、CPU 1からアドレス(B )とデータ(0+)
がバッファゲート14に送出するので、D−FF 10
.INV 5を通ったコノデータによりIfレベルの“
データストローブ”が相手側に送出される。
7. Input to the CPU via D-FFII and INV3, and send address (B) and data (0+) from CPU 1.
sends out to the buffer gate 14, so D-FF 10
.. The If level “
data strobe” is sent to the other party.

そこで、相手側からLレベルの“レシーブOK”が人力
するので、次のワードの並列データがバッファゲート1
3を介して相手側に送出される。
Therefore, since the other side manually sends an L level "receive OK", the parallel data of the next word is transferred to the buffer gate 1.
3 to the other party.

これを繰り返して所定バイト長のデータが送出される。By repeating this process, data of a predetermined byte length is sent out.

次に、受信部ではCPUからアドレス(C)とデータ(
口。)とをバッファゲート15に送出するので、D−F
F 24. INV 23を通ったこのデータによりL
レベルの“レシーブOK”が相手側に送出される。これ
に対して、相手側よりLレベルの“データ送出中”が割
り込み要求としテINV 19. D−FF 26. 
lNV2O、ANDゲート16を介してCPUに入力さ
れる。
Next, in the receiving section, the address (C) and data (
mouth. ) is sent to the buffer gate 15, so D-F
F24. With this data passing through INV 23, L
A level “receive OK” is sent to the other party. In response, the other party's L-level "Data Sending" is treated as an interrupt request. 19. D-FF 26.
lNV2O is input to the CPU via the AND gate 16.

CPUはアドレス八をアドレスデコーダ2を介して、 
R/W−CKをINV8を介してバッフアゲ−目2に送
出するので、転送された最初のワードの並列データがバ
ッファゲート12を介してCPUに読み込まれる。
The CPU receives address 8 via address decoder 2,
Since R/W-CK is sent to buffer number 2 via INV8, the first word of transferred parallel data is read into the CPU via buffer gate 12.

以下、送信部と同様にLレベルの“データストローブの
受信、Hレベルの“レシーブOK”の送信、Hレベルの
“レシーブOK″の送信、Hレベルの“データストロー
ブの受信をINV 17〜23. D−FF 24〜2
7. ANDゲート16.バッファゲート15を用いて
行って最初のワードのデータの受信が終了する。
Thereafter, in the same way as the transmitter, reception of an L level "data strobe", transmission of an H level "receive OK", transmission of an H level "receive OK", and reception of an H level "data strobe" are performed using INVs 17 to 23. D-FF 24-2
7. AND gate 16. The buffer gate 15 is used to complete the reception of the first word of data.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

即ち、所定のハンドシェイク方法でデータを転送する際
、CPUがバッファゲートやD−PFを直接駆動しなけ
ればならず、 cpuの処理にかなり依存している。
That is, when transferring data using a predetermined handshake method, the CPU must directly drive the buffer gates and D-PF, and is highly dependent on CPU processing.

この為、並列データの入出力速度はCPUのクロック速
度、プログラムの処理能力によって決定され、データの
高速転送が困難であると云う問題点がある。
Therefore, the input/output speed of parallel data is determined by the clock speed of the CPU and the processing ability of the program, and there is a problem in that high-speed data transfer is difficult.

〔問題点を解決する為の手段〕[Means for solving problems]

上記の問題点は第1図に示すデータ転送装置により解決
される。
The above problems are solved by the data transfer device shown in FIG.

30はCPUが転送すべき所定バイト数のデータを書き
込み、読み出す送信記憶手段で、31は該送信記憶手段
に書き込んだ該データのバイト数に対応するカウント値
と、読み出して転送した該データのバイト数に対応する
カウント値とが一致した時に転送終了信号を送信制御手
段に送出する比較手段であり、32は該CPUからの転
送開始トリガが入力した時、定められたハンドシェイク
方法で該データの転送が行われる様に該送信部の動作を
制御する該送信制御手段である。
Reference numeral 30 denotes a transmission storage means for writing and reading a predetermined number of bytes of data to be transferred by the CPU, and 31 a count value corresponding to the number of bytes of the data written in the transmission storage means and the bytes of the data read and transferred. 32 is a comparison means that sends a transfer end signal to the transmission control means when the count value corresponding to the number matches, and 32 is a comparison means that sends a transfer end signal to the transmission control means when the count value corresponding to the number of data matches. The transmission control means controls the operation of the transmission unit so that the transfer is performed.

又、40は転送された該データを書き込み、読み出す受
信記憶手段で、41は該受信記憶手段に書き込まれた該
データのバイト数をカウントする受信データカウント手
段であり、42は受信可能状態の時、定められたハンド
シェイク方法で該転送データの受信が行われる様に受信
部の動作を制御すると共に、該受信記憶手段に該所定バ
イト数のデータが書き込まれた時に転送終了信号を該C
PUに送出する受信制御手段である。
Further, 40 is a reception storage means for writing and reading the transferred data, 41 is a reception data counting means for counting the number of bytes of the data written in the reception storage means, and 42 is a reception storage means when the data is in a reception ready state. , controls the operation of the receiving section so that the transfer data is received using a predetermined handshake method, and sends a transfer end signal to the C when the predetermined number of bytes of data has been written to the reception storage means.
This is reception control means for sending data to the PU.

〔作用〕[Effect]

本発明はCPUが所定バイト数のデータを相手側に転送
する際、送信部では転送すべき全てのデータを一旦、記
憶手段30に書き込んだ後、このCPUからの転送開始
トリガが送信制御手段32に加えられる。
In the present invention, when the CPU transfers a predetermined number of bytes of data to the other party, the transmitting section once writes all the data to be transferred into the storage means 30, and then a transfer start trigger from the CPU is sent to the transmission control means 30. added to.

そこで、cpu制御から切り離されて送信制御手段の制
御により定められたハンドシェイク方法に従って相手側
の受信部にデータが転送されるが、この転送は比較手段
31で該送信記憶手段30に書き込まれたバイト数と転
送されたバイト数とが一致したことが比較手段31で検
出されれば終了する。
Therefore, the data is transferred to the receiving section of the other party according to the handshake method determined by the control of the transmission control means, separated from the CPU control. If the comparison means 31 detects that the number of bytes and the number of transferred bytes match, the process ends.

一方、受信部では受信可能状態であれば受信制御手段4
2の制御により定められたハンドシェイク方法で転送デ
ータが受信記憶手段40に書き込まれるが、書き込まれ
たデータのバイト数は受信データカウント手段でカウン
トされる。
On the other hand, in the reception section, if the reception is possible, the reception control means 4
The transfer data is written into the reception storage means 40 using the handshake method determined by the control of No. 2, and the number of bytes of the written data is counted by the reception data counting means.

そして、全てのデータの書き込みが終了すると受信制御
手段より転送終了がCPUに通知されるので、CPUは
該受信データカウント手段のカウント   ゛値を読ん
でそのカウント値に対応するバイト数のデータを該受信
記憶手段から読み出す。
Then, when all the data has been written, the reception control means notifies the CPU of the end of the transfer, so the CPU reads the count value of the reception data counting means and counts the number of bytes of data corresponding to the count value. Read from the reception storage means.

即ち、データ転送の際にはCPUは転送開始のトリガを
送信制御手段に送出すれば、その後は送信制御手段の制
御により定められたハンドシェイク方法に従って受信部
にデータを送出するので、データ転送速度は受信部の処
理速度に依存し、高速なデータ転送が可能となる。
That is, when transferring data, the CPU sends a trigger to start the transfer to the transmission control means, and then the data is sent to the receiving section according to the handshake method determined by the control of the transmission control means, so that the data transfer rate is low. depends on the processing speed of the receiving section and enables high-speed data transfer.

〔実施例〕〔Example〕

第2図は本発明の実施例のブロック図を示す。 FIG. 2 shows a block diagram of an embodiment of the invention.

又、送信RAM 301.バッファゲート302は送信
記憶手段30の構成部分、入力カウンタ311.送信カ
ウンタ312.セレクタ313.比較器314は比較手
段31の構成部分、送信制御器321.データ送出申送
信器322.データストローブ送信器323.レシーブ
OK受信器324は送信制御手段32の構成部分、受信
RAM 401 、バッファ302(共通)は受信記憶
手段の構成部分、受信カウンタ411.セレクタ412
は受信データカウント手段41の構成部分、受信制御器
421.データストローブ受信器422.レシーブOK
送信器423.データ送出中送信器424は受信制御手
段42の構成部分である。
Also, transmission RAM 301. Buffer gate 302 is a component of transmission storage means 30, input counter 311. Transmission counter 312. Selector 313. Comparator 314 is a component of comparison means 31, transmission controller 321. Data transmission request transmitter 322. Data strobe transmitter 323. The receive OK receiver 324 is a component of the transmission control means 32, the reception RAM 401 and the buffer 302 (common) are components of the reception storage means, and the reception counter 411. Selector 412
are the constituent parts of the reception data counting means 41, and the reception controller 421. Data strobe receiver 422. Receive OK
Transmitter 423. The data transmitter 424 is a component of the reception control means 42 .

尚、全図を通じて同一符号は同一対象物を示す。Note that the same reference numerals indicate the same objects throughout the figures.

以下、送信制御器321及び受信制御器421は第3図
(a)及び(blに示すハンドシェイク方法でデータ転
送が行われる様に送信部及び受信部の動作を制御する機
能(例えば、ロジック回路で構成)を持っているとして
第2図により動作の説明をする。
Hereinafter, the transmission controller 321 and the reception controller 421 have a function (for example, a logic circuit The operation will be explained with reference to FIG.

・先ず、CPU  (図示せず)は転送すべきバイト数
のデータを送信RAM 301に書き込まなければなら
ないので、ここから−CKを送信制御器321と入力カ
ウンタ311に加える。そこで、送信制御器からのセレ
クタ切替信号でセレクタ313はcPυアドレス側をセ
レクトすると共に、送信RAMに−−CKが加えられる
- First, the CPU (not shown) must write the number of bytes of data to be transferred into the transmission RAM 301, so from here it adds -CK to the transmission controller 321 and input counter 311. Therefore, the selector 313 selects the cPυ address side in response to a selector switching signal from the transmission controller, and --CK is added to the transmission RAM.

そこで、セレクタを介して送信RAM 301に加えら
れたアドレスに対応する領域にデータが書き込まれるが
、これに対応して入力カウンタはW−CKをカウントす
る。そして、所定バイト数のデータが書き込まれると書
き込みは停止し、入力カウンタは対応するカウント値と
なる。送信制御器321はセレクタ313を送信カウン
タ側に戻す。
Therefore, data is written into the area corresponding to the address added to the transmission RAM 301 via the selector, and in response to this, the input counter counts W-CK. Then, when a predetermined number of bytes of data are written, writing stops, and the input counter becomes the corresponding count value. The transmission controller 321 returns the selector 313 to the transmission counter side.

一方、相手側より“レシーブOK″がレシーブOK受信
器324を介して送信制御器321に加えられ、ここか
らIRQがCI’Uに送られているとすると、送信RA
Mへの書き込みが終了しているので、CPuからアドレ
スとデータが転送開始トリガとして送信制御器321を
介してデータ送出申送信器322に加えられるので、こ
こからLレベルの“データ送出中”が送出される。
On the other hand, if "receive OK" is applied from the other party to the transmission controller 321 via the receive OK receiver 324, and an IRQ is sent from there to the CI'U, then the transmission RA
Since writing to M has been completed, the address and data are applied from the CPU as a transfer start trigger to the data transmission request transmitter 322 via the transmission controller 321, and from this point on, the L level "data transmission" is sent. Sent out.

その後、送信制御器321からR−CKが送信RAM3
01に、Lレベルの“レシーブOK”が送信カウンタ3
21に送られるので、送信カウンタはこれをカウントし
、カウント値に対応するアドレスがセレクタ313を介
して送信RAMに送出される。そこで、最初のワードの
データが読み出されてバッファゲート302を介して送
出される。
After that, R-CK is sent from the transmission controller 321 to the transmission RAM 3.
01, the L level “receive OK” is detected on the transmission counter 3.
21, the transmission counter counts this, and the address corresponding to the count value is sent to the transmission RAM via the selector 313. The first word of data is then read out and sent out through buffer gate 302.

そして、データ送出後1時間1.経過した後にLレベル
の“データストローブがデータストローブ送信器323
より送出され、これに対して相手側よりHレベルの6レ
シーブOK”がレシーブOK受信器324を介して送信
制御器321に加えられる。
1 hour after sending the data. After the data strobe is at L level, the data strobe transmitter 323
In response, the other party sends an H-level 6 receive OK” to the transmission controller 321 via the receive OK receiver 324.

そこで、ここの制御でHレベルの“データストローブが
データストローブ送信器より送出され、相手側よりLの
“レシーブθK”が再びレシーブOK受信器324を介
して送信制御器に加えられ、ここから送信カウンタ31
2に加えられるのでカウント値がアップして比較器31
4に加えられると共に、この値がアドレスに対応する値
としてセレクタ313を介して送信RAMに加えられ、
次のワードのデータが読み出されて相手側に転送される
Therefore, under this control, an H level "data strobe" is sent from the data strobe transmitter, and an "L""receiveθK" from the other party is again applied to the transmission controller via the receive OK receiver 324, from which the data strobe is transmitted. counter 31
2, the count value increases and the comparator 31
4, and this value is added to the transmission RAM via the selector 313 as a value corresponding to the address,
The next word of data is read and transferred to the other party.

これを繰り返し、送信カウンタのカウント値が入力カウ
ンタのカウント値と一致すると所定バイト数、即ち最後
のワードまで転送したことになり、待機状態となる。
This is repeated, and when the count value of the transmission counter matches the count value of the input counter, it means that the predetermined number of bytes, that is, the last word, has been transferred, and the device enters a standby state.

一方、第2図の点線より上の受信部では、cpuよりの
制御(アドレスとデータ)でレシーブOK送信器423
よりLレベルの“レシーブOK″を相手側に送出すると
共に受信カウンタはこれをカウントする。
On the other hand, in the receiving section above the dotted line in FIG. 2, the receive OK transmitter 423 is controlled by the CPU (address and data).
A "receive OK" signal of L level is sent to the other party, and the reception counter counts this.

次に、相手側よりLレベルの“データ送出中”がデータ
送出中受信器424を介して受信制御器421に加えら
れ、はぼ同時にバッファゲート302を通った最初のワ
ードのデータが受信RAM 401の受信カウンタのカ
ウント値に対応するアドレスの所に書き込れる。尚、セ
レクタ412は受信制御器により受信カウンタ側に切り
替えられている。
Next, an L-level “data sending” signal is applied from the other party to the reception controller 421 via the data sending receiver 424, and at about the same time, the first word of data that has passed through the buffer gate 302 is transferred to the reception RAM 401. is written to the address corresponding to the count value of the reception counter. Note that the selector 412 is switched to the reception counter side by the reception controller.

そして、時間1.経過後にLレベルの“データストロー
ブをデータストローブ受信器422で受信した後、相手
側にHレベルの“レシーブOK“を送出し、Hレベルの
“データストローブを受信すると、再びLレベルの“レ
シーブOK”を相手側に送出し、次のワードのデータが
受信されるが、Lレベルの“レシーブOK”の立下りを
受信カウンタ411 はカウントする。
And time 1. After the data strobe receiver 422 receives an L-level data strobe, it sends an H-level "receive OK" to the other party, and when it receives an H-level data strobe, it sends an L-level "receive OK" again. " is sent to the other party, and the next word of data is received, but the reception counter 411 counts the falling edge of "Receive OK" at the L level.

これを繰り返して全てのデータが転送されると受信制御
器421からIRQがCPUに送出されるので、CPU
は受信カウンタのカウント値を読み、その値に対応する
アドレスまでセレクタを介して受信RAHに加え、全て
の転送データを読み出す。
When all the data is transferred by repeating this, the reception controller 421 sends the IRQ to the CPU, so the CPU
reads the count value of the reception counter, and reads all transfer data in addition to the reception RAH via the selector up to the address corresponding to the value.

即ち、CPUからの転送開始トリガにより送信制御部及
び受信制御部によりハンドシェイク方法でデータの転送
を行うので高速なデータ転送が可能となる。
That is, data is transferred using a handshake method by the transmission control section and the reception control section in response to a transfer start trigger from the CPU, so that high-speed data transfer is possible.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、高速なデータ
転送が可能になると云う効果がある。
As described above in detail, the present invention has the effect of enabling high-speed data transfer.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例のブロック図、第3図はハンド
シェイクインターフェイスのタイ。 ムチヤード、 第4図は従来例のブロック図を示す。 図において、 30は送信記憶手段、 31は比較手段、 32は送信制御手段、 40は受信記憶手段、 41は受信データカウント手段、 42は受信制御手段を示す。 本発明の/!!T里アロング図 Y f  ロ
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the invention, and Fig. 3 is a tie of the handshake interface. Figure 4 shows a block diagram of a conventional example. In the figure, 30 is a transmission storage means, 31 is a comparison means, 32 is a transmission control means, 40 is a reception storage means, 41 is a reception data counting means, and 42 is a reception control means. /! of the present invention! ! T village along map Y f b

Claims (1)

【特許請求の範囲】 データをハンドシェイク方法で転送する際、送信部にC
PU(33)が転送すべき所定バイト数のデータを書き
込み、読み出す送信記憶手段(30)と、該送信記憶手
段に書き込んだ該データのバイト数に対応するカウント
値と、読み出して転送した該データのバイト数に対応す
るカウント値とが一致した時に転送終了信号を送信制御
手段に送出する比較手段(31)と、 該CPUからの転送開始トリガが入力した時、定められ
たハンドシェイク方法で該データの転送が行われる様に
該送信部の動作を制御する該送信制御手段(32)とを
設け、 受信部に転送された該データを書き込み、読み出す受信
記憶手段(40)と、該受信記憶手段に書き込まれた該
データのバイト数をカウントする受信データカウント手
段(41)と、 受信可能状態の時、定められたハンドシェイク方法で該
転送データの受信が行われる様に受信部の動作を制御す
ると共に、該受信記憶手段に該所定バイト数のデータが
書き込まれた時に転送終了信号を該CPUに送出する受
信制御手段(42)とを設けたことを特徴とするデータ
転送装置。
[Claims] When transmitting data using the handshake method, the transmitter
A transmission storage means (30) in which the PU (33) writes and reads a predetermined number of bytes of data to be transferred, a count value corresponding to the number of bytes of the data written in the transmission storage means, and the data read and transferred. a comparison means (31) that sends a transfer end signal to the transmission control means when the count value corresponding to the number of bytes matches; the transmission control means (32) for controlling the operation of the transmission section so that the data is transferred; reception storage means (40) for writing and reading out the data transferred to the reception section; and the reception storage a received data counting means (41) for counting the number of bytes of the data written in the means; and a receiving section configured to operate the receiving section so that the transfer data is received using a predetermined handshake method when the data is ready for reception. 1. A data transfer device comprising: reception control means (42) for controlling the CPU and sending a transfer end signal to the CPU when the predetermined number of bytes of data have been written to the reception storage means.
JP62038923A 1987-02-20 1987-02-20 Data transfer equipment Granted JPS63276944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62038923A JPS63276944A (en) 1987-02-20 1987-02-20 Data transfer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62038923A JPS63276944A (en) 1987-02-20 1987-02-20 Data transfer equipment

Publications (2)

Publication Number Publication Date
JPS63276944A true JPS63276944A (en) 1988-11-15
JPH0521464B2 JPH0521464B2 (en) 1993-03-24

Family

ID=12538741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62038923A Granted JPS63276944A (en) 1987-02-20 1987-02-20 Data transfer equipment

Country Status (1)

Country Link
JP (1) JPS63276944A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6163141A (en) * 1984-09-04 1986-04-01 Nippon Telegr & Teleph Corp <Ntt> Communication control system
JPS61271556A (en) * 1985-05-28 1986-12-01 Oki Electric Ind Co Ltd Direct memory access system
JPS62199142A (en) * 1986-02-27 1987-09-02 Usac Electronics Ind Co Ltd Data transmission system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6163141A (en) * 1984-09-04 1986-04-01 Nippon Telegr & Teleph Corp <Ntt> Communication control system
JPS61271556A (en) * 1985-05-28 1986-12-01 Oki Electric Ind Co Ltd Direct memory access system
JPS62199142A (en) * 1986-02-27 1987-09-02 Usac Electronics Ind Co Ltd Data transmission system

Also Published As

Publication number Publication date
JPH0521464B2 (en) 1993-03-24

Similar Documents

Publication Publication Date Title
EP0303751B1 (en) Interface mechanism for controlling the exchange of information between two devices
US4527233A (en) Addressable buffer circuit with address incrementer independently clocked by host computer and external storage device controller
US4984190A (en) Serial data transfer system
JPH05274259A (en) Serial input interface circuit
JPH0420497B2 (en)
JPS5987569A (en) Automatic continuous processing circuit of data
US4365296A (en) System for controlling the duration of the time interval between blocks of data in a computer-to-computer communication system
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
US10489319B2 (en) Automatic transmission of dummy bits in bus master
CN113760813B (en) Method for starting control of digital signal processor
JPS63276944A (en) Data transfer equipment
JP2624388B2 (en) DMA device
TW394887B (en) ATAPI interface control circuit and DVD player for this interfere control circuit
JPS61123244A (en) Data communication processor
JPH0581165A (en) Data transfer circuit
JPH10116245A (en) Dma controller
JPH02181248A (en) Direct memory access system
JPS63293660A (en) Communication controller
JP2588514Y2 (en) Communication control device
KR950004510B1 (en) Interfacing unit and its metrhod between personal computer and photo disk
JPS6049465A (en) Data transfer method between microcomputers
JPH0749833A (en) Parallel interface circuit
JPS5922462A (en) Communication control system
JPH084276B2 (en) Full-duplex data transfer device
JPS63187943A (en) Communication control equipment

Legal Events

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