JPS6361533A - Serial data transfer device - Google Patents

Serial data transfer device

Info

Publication number
JPS6361533A
JPS6361533A JP61206404A JP20640486A JPS6361533A JP S6361533 A JPS6361533 A JP S6361533A JP 61206404 A JP61206404 A JP 61206404A JP 20640486 A JP20640486 A JP 20640486A JP S6361533 A JPS6361533 A JP S6361533A
Authority
JP
Japan
Prior art keywords
serial
serial data
line
clock
data
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
JP61206404A
Other languages
Japanese (ja)
Inventor
Shigetatsu Katori
香取 重達
Yukio Maehashi
幸男 前橋
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61206404A priority Critical patent/JPS6361533A/en
Priority to EP87112742A priority patent/EP0258872B1/en
Priority to DE3789743T priority patent/DE3789743T2/en
Publication of JPS6361533A publication Critical patent/JPS6361533A/en
Priority to US07/569,539 priority patent/US4984190A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transfer data and confirm data transfer only with two signal lines, namely, a clock line and a data line by providing a master station as well as a slave station with a means which outputs a reception confirmation signal to the data line and a means which detects this signal. CONSTITUTION:When a serial clock source flag 350 is set, a pertinent serial data processor 300 is the master station An ACK control circuit 355 of the master station 300 has the function to confirm that the reception confirmation signal is outputted onto a serial data line 320 and the function to output the reception confirmation signal by driving the line 320 to the low level. A slave station 310 has the same constitution as the processor 300, and its ACK control circuit 365 has the function to output the reception confirmation signal to the line 320 similarly to the circuit 355 of the master station 300 and the function to detect the reception confirmation signal (in the low level) inputted through the line 320. Thus, data transmission and reception are confirmed by two lines, namely, the serial data line 320 and the serial clock line 321.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロコンピュータに代表される半導体チ
ップを複数個有し、各チップでシリアルデータ転送を行
なう装置に関し、特に1本のクロックラインと1本のデ
ータラインを用いてクロックに同期してシリアルデータ
の送受信を行なうシリアル通信装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a device that has a plurality of semiconductor chips, such as a microcomputer, and performs serial data transfer with each chip. The present invention relates to a serial communication device that uses one data line to transmit and receive serial data in synchronization with a clock.

〔従来の技術〕[Conventional technology]

複数の半導体処理チップ(以下LSIチップという)間
でのデータ転送は8ビツトや16ビツト構成のデータバ
スを利用する方法と、1本のデータラインを時分割的に
利用してデータを1ビツトづつシリアルに転送する方法
とがある。
Data can be transferred between multiple semiconductor processing chips (hereinafter referred to as LSI chips) by using an 8-bit or 16-bit data bus, or by using one data line in a time-sharing manner to transfer data one bit at a time. There is a method of serial transfer.

後者はチップ相互間を接続する信号線がデータラインと
クロックラインの2本でよいので、LSIチップの接続
にとっては最も簡便である。
The latter is the simplest method for connecting LSI chips because it requires only two signal lines, a data line and a clock line, to connect the chips.

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

しかしながら、従来提案されているシリアルデータ転送
装置はクロックラインとデータラインとの2本の信号線
だけで完全にシリアル転送ができるというものではない
。す々わち、1本のデータ線でシリアル転送を行なうK
は、転送開始と転送終了とを正しく検出できることに加
えて、送信側から送ったデータが正しく受信側に受信さ
れたか否かの確認をとる必要がある。従って、この確認
のために従来はさらに他の信号線を用いなければならな
かった。従って、シリアル転送をクロックラインとデー
タラインとの2本の信号線だけで実行することはできな
かった。
However, conventionally proposed serial data transfer devices cannot completely perform serial transfer using only two signal lines, a clock line and a data line. In other words, serial transfer is performed using one data line.
In addition to being able to correctly detect the start and end of transfer, it is also necessary to confirm whether the data sent from the transmitting side has been correctly received by the receiving side. Therefore, conventionally, another signal line had to be used for this confirmation. Therefore, serial transfer cannot be performed using only two signal lines, a clock line and a data line.

よって、本発明はクロックラインとデータラインとの2
本の信号線のみでシリアルデータの転送および確認がで
きる改善されたシリアル転送装置を提供することである
Therefore, the present invention has two clock lines and a data line.
An object of the present invention is to provide an improved serial transfer device capable of transferring and confirming serial data using only real signal lines.

〔実施例〕〔Example〕

第1図に本発明の一実施例によるシリアルデータ転送装
置の構成図を示す。なお、シリアルデータ転送装置は1
つのマスター局に対して複数のスレーブ局をマルチ接続
することができるが、ここでは説明を簡単にするために
1つのマスタ局と1つのスレーブ局との間でのシリアル
転送について説明する。
FIG. 1 shows a configuration diagram of a serial data transfer device according to an embodiment of the present invention. In addition, the serial data transfer device is 1
A plurality of slave stations can be multi-connected to one master station, but in order to simplify the explanation, serial transfer between one master station and one slave station will be described here.

第1のシリアルデータ処理装置(マスタ局)300は、
内部にシフトレジスタ301.シリアルクロック発生回
路302.シリアルデータ端子303、シリアルクロッ
ク端子304.データ処理部306.シリアルクロック
ソースフラグ350゜ACK制御回路355を有する。
The first serial data processing device (master station) 300 is
There is a shift register 301 inside. Serial clock generation circuit 302. Serial data terminal 303, serial clock terminal 304. Data processing unit 306. It has a serial clock source flag 350° ACK control circuit 355.

シフトレジスタ301とデータ処理部306とシリアル
クロックソースフラグ350は複数ビットからなる内部
データバス305で接続されている。データ処理部30
6は、内部データバス305を経由してシフトレジスタ
301への送受信データの読み出し処理と書込み処理、
およびシリアルクロックソースフラグ350のセット処
理とクリア処理を行なう。
The shift register 301, data processing unit 306, and serial clock source flag 350 are connected by an internal data bus 305 consisting of a plurality of bits. Data processing section 30
6 is a process of reading and writing transmitted and received data to the shift register 301 via the internal data bus 305;
and sets and clears the serial clock source flag 350.

シフトレジスタ301の出力端は、シリアルデータライ
ン320を駆動する為の出力用のライントライバ352
を経由してシリアルデータ端子303に接続される。
The output end of the shift register 301 is connected to an output line driver 352 for driving the serial data line 320.
It is connected to the serial data terminal 303 via.

シリアルデータ端子303には外部のシリアルデータラ
イン320が接続される。シリアルデータ端子303は
入力用のラインバッファ353を経てシフトレジスタ3
01の入力端に接続される。
An external serial data line 320 is connected to the serial data terminal 303. The serial data terminal 303 is connected to the shift register 3 via an input line buffer 353.
Connected to the input terminal of 01.

かくして、シリアルデータの送信および受信ができる。Thus, serial data can be transmitted and received.

シリアルクロック発生回路302はシリアルクロックを
発生し、かつクロックトライバ354を経由してシリア
ルクロック端子304に接続されている。シリアルクロ
ックソースフラグ350はシリアルクロックソースを選
択するためのフラグで、このシリアルクロックソースフ
ラグ350がセットされている場合には、轟該シリアル
データ処理装置300がシリアルクロックの供給元、す
なわちマスタ局となる。マスタ局はクロックトライバ3
54を制御して、シリアルクロック発生回路302の出
力をシリアルクロック端子304から出力する。一方、
シリアルクロックン−スフラグ350がクリアされてい
る場合には、このシリアルデータ処理部[300は他の
装置からシリアルクロックを受けて送受信処理を行なう
スレーブ局となる。この例では300tマスタ局とし、
310をスレーブ局とする。マスタ局とスレーブ局とは
同一の回路構成でよい。シリアルクロックン−スフラグ
350の制御で選択されたシリアルクロックもしくは外
部から入力さnたシリアルクロックは、シフトレジスタ
301のシフトクロックとして使用される。
Serial clock generation circuit 302 generates a serial clock and is connected to serial clock terminal 304 via clock driver 354 . The serial clock source flag 350 is a flag for selecting a serial clock source, and when this serial clock source flag 350 is set, the serial data processing device 300 is a serial clock supply source, that is, a master station. Become. Master station is clock driver 3
54 to output the output of the serial clock generation circuit 302 from the serial clock terminal 304. on the other hand,
When the serial clock pulse flag 350 is cleared, the serial data processing unit 300 becomes a slave station that receives a serial clock from another device and performs transmission/reception processing. In this example, it is a 300t master station,
310 is assumed to be a slave station. The master station and slave station may have the same circuit configuration. The serial clock selected under the control of the serial clock flag 350 or the serial clock input from the outside is used as a shift clock for the shift register 301.

ACK制御回路355は、シリアルデータライン320
上に受信確認信号が出力された事全確認する機能と、シ
リアルデータライン320をロウレベルに駆動すること
によって受信確認信号を出力する機能とを有する。
The ACK control circuit 355 connects the serial data line 320
It has a function of fully confirming that a reception confirmation signal has been output on the serial data line 320, and a function of outputting a reception confirmation signal by driving the serial data line 320 to a low level.

第2のシリアルデータ処理装置(ここではスレーブ局)
310は、第1のシリアルデータ処理装置300と同一
Ω構成で、シフトレジスタ311゜シリアルクロック発
生回路312.シリアルデータ端子313.シリアルク
ロック端子314.データ処理部316.シリアルクロ
ックソースフラグ360.ACK制御回路365を有す
る。
Second serial data processing device (here slave station)
310 has the same Ω configuration as the first serial data processing device 300, and includes a shift register 311 and a serial clock generation circuit 312. Serial data terminal 313. Serial clock terminal 314. Data processing unit 316. Serial clock source flag 360. It has an ACK control circuit 365.

シフトレジスタ311とデータ処理部316とシリアル
クロ、クツ−スフラグ360とは内部データバス315
で接続されている。データ処理部316は、この内部デ
ータバス315を経由してシフトレジスタ311との送
受信データの読み出し処理と書込み処理、およびシリア
ルクロックソースフラグ360のセット処理とクリア処
理を行なう。シフトレジスタ311の出力端は、シリア
ルデータライン320を駆動する為のライントライバ3
62を経由してシリアルデータ端子313に接続される
。シリアルデータ端子313はシリアルデータライン3
20に直接接続されている。
The shift register 311, data processing unit 316, serial clock, and cross flag 360 are connected to the internal data bus 315.
connected with. The data processing unit 316 performs reading and writing of data transmitted and received from the shift register 311 via the internal data bus 315, and sets and clears the serial clock source flag 360. The output end of the shift register 311 is connected to a line driver 3 for driving the serial data line 320.
62 to the serial data terminal 313. Serial data terminal 313 is serial data line 3
20.

また、シリアルデータ端子313はラインバッファ36
3t[てシフトレジスタ311の入力端に接続されてい
る。シリアルクロックソースフラグ360はクリアされ
、スレーブ局として動作するように設定される。この状
態ではマスタ局300からのシリアルクロックを受けて
送受信処理を行なう。
Also, the serial data terminal 313 is connected to the line buffer 36
3t[ is connected to the input terminal of the shift register 311. Serial clock source flag 360 is cleared and set to operate as a slave station. In this state, it receives the serial clock from the master station 300 and performs transmission and reception processing.

ACK制御回路365は、マスタ局300のそれと同様
にシリアルデータライン320上へ受信確認信号を出力
する機能と、シリアルデータライン320を介して入力
される受信確認信号(Lレベル)の検出機能とを有する
The ACK control circuit 365 has a function of outputting a reception confirmation signal onto the serial data line 320 similarly to that of the master station 300, and a function of detecting a reception confirmation signal (L level) input via the serial data line 320. have

第1のシリアルデータ処理装置300のシリアルデータ
端子303とシリアルクロック端子304は、1本のシ
リアルデータライン320と1本のシリアルクロックラ
イン321とを介して夫々第2のシリアルデータ処理装
置310のシリアルデータ端子313とシリアルクロッ
ク端子314に接続される。
The serial data terminal 303 and the serial clock terminal 304 of the first serial data processing device 300 are connected to the serial data terminal 303 and the serial clock terminal 304 of the second serial data processing device 310 via one serial data line 320 and one serial clock line 321, respectively. It is connected to a data terminal 313 and a serial clock terminal 314.

次に第2図を参照して第1のシリアルデータ処理装置3
00から第2のシリアルデータ処理装置310へ連続し
て8ビツトのデータを転送する際のシリアルデータとシ
リアルクロックとの同期関係を説明する。ここでは、第
1のシリアルデータ装置300はマスタ局であるため、
シリアルクロックソースフラグ350は予めソフトウェ
アによシセットされ、−力筒2のシリアルデータ装置3
10はスレーブ局となるためシリアルクロックン−スフ
ラグ360は予めソフトウェアによりクリアされる。
Next, referring to FIG. 2, the first serial data processing device 3
The synchronization relationship between the serial data and the serial clock when 8-bit data is continuously transferred from 00 to the second serial data processing device 310 will be explained. Here, since the first serial data device 300 is a master station,
The serial clock source flag 350 is set in advance by software;
10 is a slave station, so the serial clock pulse flag 360 is cleared in advance by software.

シリアルクロックライン321は非データ転送時はハイ
レベルに設定される。データ処理部306が内部データ
バス305を経由してシフトレジスタ301に送信デー
タを10のタイミングで転送する。シリアルクロック発
生回路302は続<1+のタイミングよシリアルクロツ
クの発生を開始し、シリアルクロックライン321上に
クロックを送出する。また、シフトレジスタ301はシ
リアルクロック発生回路302よシ発生されたシリアル
クロッ、りの立ち下がシエッジt1に同期して1ビツト
分のシフト動作を行なうと共に最終段の1ビ、ト分のデ
ータをシリアルデータ端子303を経由してシリアルデ
ータライン320上に出力する。引き続き、シフトレジ
スタ301はシリアルクロックの立ち下がりエツジであ
る’!+LS+i7s tis tlls 113s 
jlfiの各タイミングに同期して順次シフト動作を繰
シ返すと同時にシフトレジスタ301の最終段の1ビツ
トを順にシリアルデータライン320上に送出していく
The serial clock line 321 is set to a high level during non-data transfer. Data processing unit 306 transfers transmission data to shift register 301 via internal data bus 305 at timing 10. The serial clock generation circuit 302 starts generating a serial clock at the timing of <1+ and sends the clock onto the serial clock line 321. Furthermore, the shift register 301 performs a 1-bit shift operation in synchronization with the falling edge of the serial clock signal generated by the serial clock generation circuit 302 at the edge t1, and also shifts data for 1 bit in the final stage. It is output onto the serial data line 320 via the serial data terminal 303. Subsequently, the shift register 301 is on the falling edge of the serial clock'! +LS+i7s tis tlls 113s
The shift operation is sequentially repeated in synchronization with each timing of jlfi, and at the same time, one bit of the final stage of the shift register 301 is sequentially sent onto the serial data line 320.

受信側である第2のシリアルデータ処理装置310は、
シリアルクロックライン321からシリアルクロック端
子314経由で入力されるシリアルクロックの立ち上が
りエツジt2に同期して、シリアルデータライン320
上の1ビツト分に和尚するシリアルデータをシリアルデ
ータ端子313t−i由してシフトレジスタ311にシ
フト入力する。引き続き、シリアル受信装置310はシ
リアルクロックの立ち上がりエツジであるj4+t6+
j 8 * 110 * j 12 + i 14 s
 i illに同期して順次シリアルデータライン32
0上のシリアルデータをシフトレジスタ311にシフト
入力する。
The second serial data processing device 310, which is the receiving side,
In synchronization with the rising edge t2 of the serial clock input from the serial clock line 321 via the serial clock terminal 314, the serial data line 320
The serial data adjusted to one bit above is shifted into the shift register 311 via the serial data terminal 313t-i. Subsequently, the serial receiving device 310 receives the rising edge of the serial clock j4+t6+
j 8 * 110 * j 12 + i 14 s
Serial data line 32 sequentially in synchronization with i ill
The serial data above 0 is shifted into the shift register 311.

最後のtisのタイミングで8ビツトシリアルデータの
受信を終了すると、データ処理部316はシフトレジス
タ311の内容を内部データバス315を経由して読み
出し、必要なデータ処理に移る。
When the reception of the 8-bit serial data is completed at the final timing of tis, the data processing unit 316 reads the contents of the shift register 311 via the internal data bus 315, and proceeds to necessary data processing.

ACK制御回路365は、次のシリアルクロックの立チ
下が9エツジt1γのタイミングに同期してシリアルデ
ータライン320上にロウレベルの信号を出力して、送
信側である第1のシリアルデータ処理装置に対して受信
確認信号を発行する。
The ACK control circuit 365 outputs a low level signal onto the serial data line 320 in synchronization with the timing of the falling edge of the next serial clock at the 9th edge t1γ, and outputs a low level signal to the first serial data processing device on the transmitting side. A reception confirmation signal is issued to the recipient.

送信側である第1のシリアルデータ処理装置300のA
CK制御回路355は、次のシリアルクロックの立ち上
がシエッジのttsのタイミングでシリアルデータライ
ン320をサンプリングし、第2のシリアルデータ処理
装置310からの受信確認信号であるロウレベル信号を
確認して1バイト分のシリアルデータ転送を終了を確認
する。
A of the first serial data processing device 300 on the transmitting side
The CK control circuit 355 samples the serial data line 320 at the timing of tts of the next rising edge of the serial clock, checks the low level signal which is the reception confirmation signal from the second serial data processing device 310, and Confirm that the byte worth of serial data transfer is completed.

以上説明した通9、受信側である第2のシリアルデータ
処理装置310がシリアルデータの受信後、クロックの
立下シに同期して確認信号を返し、次のクロックの立上
りでこれを送信側がラッチするようにすることによって
、データラインを使って確認処理を行なうことができる
As explained above, after receiving the serial data, the second serial data processing device 310 on the receiving side returns a confirmation signal in synchronization with the falling edge of the clock, and the transmitting side latches this at the rising edge of the next clock. By doing so, confirmation processing can be performed using the data line.

なお、この例によれば最終データビットをうけとったt
16から次のtlr’!でのクロック半周期(T100
)の内に確認信号を出力する必要がある。
Note that according to this example, when the last data bit is received, t
Next tlr' from 16! clock half period (T100
) it is necessary to output a confirmation signal.

シリアルクロックの周期が十分長くシリアルデータの転
送速度が十分低い場合にはこのT100の期間内にデー
タ処理部316による受信確認の為のデータ処理は十分
可能であるが、シリアルクロックの周期が短くなりシリ
アルデータの転送速度が高まるとT100の期間内に、
受信確認信号を出力するか否かの判別処理を完了する事
ができなくなるため、シリアルクロックを高速化できな
い(すなわちよシ高いボーレートでのデータ転送ができ
ない)という問題がある。特に、第1.第2のシリアル
データ処理装置の他に、シリアルデータライン320と
シリアルクロックライン321とに多数のシリアルデー
タ処理装置を接続して使用する場合、シリアルクロック
の周期、即ちシリアルデータの転送速度は受信側に於け
る受信確認の為のデータ処理の能力の最も低いシリアル
データ処理装置に合わせて決定される為、高速シリアル
データ転送が性能なシリアルデータ処理装置にはそれに
最適な周期の短いシリアルクロックを使用する事ができ
ず、シリアルデータ転送の効率を低下させることになる
If the serial clock cycle is long enough and the serial data transfer rate is low enough, it is possible for the data processing unit 316 to process data for reception confirmation within this T100 period, but if the serial clock cycle is short enough, As the serial data transfer speed increases, within the T100 period,
Since the process of determining whether or not to output a reception confirmation signal cannot be completed, there is a problem in that the serial clock cannot be increased in speed (that is, data cannot be transferred at a higher baud rate). In particular, the first. When a large number of serial data processing devices are connected to the serial data line 320 and the serial clock line 321 in addition to the second serial data processing device, the period of the serial clock, that is, the transfer rate of serial data is The serial clock is determined according to the serial data processing device with the lowest data processing ability for reception confirmation in the system, so a serial clock with the shortest cycle is used, which is most suitable for serial data processing devices that can perform high-speed serial data transfer. This will reduce the efficiency of serial data transfer.

以上の問題点を解決した本発明の第2の実施例について
第3図を参照して説明する。
A second embodiment of the present invention that solves the above problems will be described with reference to FIG.

第1のシリアルデータ処理装置100は、シフトレジス
タ301.シリアルクロック発生回路302、シリアル
データ端子303.シリアルクロック端子304.内部
データバス305.データ処理部3G6.入力用ライン
バッファ353゜出力用ライントライバ158.シリア
ルクロックソースフラグ350.シリアルクロック制御
回路151、ACK検出回路155.ACK検出フラグ
157.クロックトライバ354.ACK出力回路35
6.ACK)リガフラグ359およびACK出力ドライ
バ378を有する。
The first serial data processing device 100 includes shift registers 301 . Serial clock generation circuit 302, serial data terminal 303. Serial clock terminal 304. Internal data bus 305. Data processing unit 3G6. Input line buffer 353° Output line driver 158. Serial clock source flag 350. Serial clock control circuit 151, ACK detection circuit 155. ACK detection flag 157. Clock driver 354. ACK output circuit 35
6. ACK) has a trigger flag 359 and an ACK output driver 378.

この内、シフトレジスタ301.シリアルクロック発生
回路302.シリアルデータ端子303゜シリアルクロ
ック端子304.内部データバス305、データ処理部
306.ラインバッファ353、シリアルクロックソー
スフラグ350の機能は第1図で示したものと同一であ
り、詳細な説明は省略する。
Among these, shift register 301. Serial clock generation circuit 302. Serial data terminal 303. Serial clock terminal 304. Internal data bus 305, data processing section 306. The functions of the line buffer 353 and serial clock source flag 350 are the same as those shown in FIG. 1, and detailed explanation will be omitted.

シリアルクロック制御回路151は、ACKサンプリン
グ信号101をA CK検出回路155に出力する。シ
リアルクロ、り制御回路151は、とのACKサンプリ
ング信号101を所定長のデータを受信した後アクティ
ブにし、ACK検出回路155に対して受信確認信号の
サンプリング期間を指定する。
Serial clock control circuit 151 outputs ACK sampling signal 101 to ACK detection circuit 155. The serial clock control circuit 151 activates the ACK sampling signal 101 after receiving data of a predetermined length, and specifies the sampling period of the reception confirmation signal to the ACK detection circuit 155.

ACK出力回路356はACKトリガフラグ359を含
み、ここにデータ処理部306の制御によシ内部データ
バス305を経由して論理ゝゝ1“を書き込むと、シリ
アルデータライン320上に受信確認信号(Lレベル)
が出力され、ACKトリガフラグ359自身は受信確認
信号の出力に同期して再びクリアされる。ACK出力ド
ライバ378は、シリアルデータライン320をLレベ
ルに駆動する為のドライバで、ACKトリガフラグ35
9で制御される。一方、ACK検出回路155はACK
検出フラグ157を含み、ACKサンプル信号101に
よる制御でシリアルデータライン320上に受信確認信
号が出力された事を確認するとフラグ157がセットさ
れ、シリアル送信の開始に同期してクリアされる。また
、このACK検出フラグ157の内容は内部データノ(
ス305を介して読み出す事ができる。ライントライバ
158は、シリアルデータライン320を駆動する為の
ドライバで、ACK検出回路155で制御される。
The ACK output circuit 356 includes an ACK trigger flag 359, and when a logic "1" is written there via the internal data bus 305 under the control of the data processing unit 306, a reception confirmation signal ( L level)
is output, and the ACK trigger flag 359 itself is cleared again in synchronization with the output of the reception confirmation signal. The ACK output driver 378 is a driver for driving the serial data line 320 to L level, and outputs the ACK trigger flag 35.
Controlled by 9. On the other hand, the ACK detection circuit 155
It includes a detection flag 157, which is set when it is confirmed that a reception confirmation signal has been output on the serial data line 320 under the control of the ACK sample signal 101, and is cleared in synchronization with the start of serial transmission. Also, the contents of this ACK detection flag 157 are the internal data (
It can be read out via the bus 305. The line driver 158 is a driver for driving the serial data line 320 and is controlled by the ACK detection circuit 155.

第2のシリアルデータ処理装置110は、第1のシリア
ルデータ処理装置100と同一の構成で、シフトレジス
タ311.シリアルクロック発生回路312.シリアル
データ端子313.シリアルクロック端子314.内部
データバス315.データ処理部316.ラインバッフ
ァ363.ライントライバ168.シリアルクロックソ
ースフラグ360.シリアルクロック制御回路161.
ACK検出回路165.ACK検出フラグ167゜クロ
ックトライバ364.ACK出力回路366゜ACKト
リガフラグ369およびACK出力ドライバ388を有
する。
The second serial data processing device 110 has the same configuration as the first serial data processing device 100, and has shift registers 311. Serial clock generation circuit 312. Serial data terminal 313. Serial clock terminal 314. Internal data bus 315. Data processing unit 316. Line buffer 363. Line driver 168. Serial clock source flag 360. Serial clock control circuit 161.
ACK detection circuit 165. ACK detection flag 167° clock driver 364. ACK output circuit 366 has an ACK trigger flag 369 and an ACK output driver 388.

この内、シフトレジスタ311.シリアルクロ、り発生
回路312.シリアルデータ端子313゜シリアルクロ
ック端子314.内部データバス315、データ処理部
316.ラインバッファ363、シリアルクロックソー
スフラグ3600機能は第1図および第3図の100内
のものと同一であシ、詳細な説明は省略する。
Among them, shift register 311. Serial clock generation circuit 312. Serial data terminal 313° serial clock terminal 314. Internal data bus 315, data processing section 316. The functions of the line buffer 363 and serial clock source flag 3600 are the same as those in 100 in FIGS. 1 and 3, and detailed description thereof will be omitted.

シリアルクロック制御回路161は、A CKサンプリ
ング信号111を所定長のデータを受信した後アクティ
ブにし、ACK検出回路165に対して受信確認信号の
サンプル期間を指定する。)ICK出力回路366は、
ACKトリガフラグ369を含み、ここにデータ処理部
316の制御により内部データバス315を経由して論
理ゝゝ1“を書き込むとシリアルデータライン320上
に受信確認信号(Lレベル)が出力され、ACKI−I
Jガフラグ369自身は受信確認信号の出力に同期して
再びクリアされる。ACK出力ドライバ388は、シリ
アルデータライン320をLレベルに駆動する為のドラ
イバで、ACK)リガフラグ369で制御される。A 
CK検出回路165はA CK検出フラグ167を含み
、ACKサンプリング信号111の制御でシリアルデー
タライン320上に受信確認信号が出力された事を確認
するとセットされ、シリアル送信の開始に同期してクリ
アされる。また、このACK検出フラグ167の内容は
内部データバス315を介して読み出すことができる。
The serial clock control circuit 161 activates the ACK sampling signal 111 after receiving data of a predetermined length, and specifies the sampling period of the reception confirmation signal to the ACK detection circuit 165. ) ICK output circuit 366 is
It includes an ACK trigger flag 369, and when a logic "1" is written there via the internal data bus 315 under the control of the data processing unit 316, a reception confirmation signal (L level) is output on the serial data line 320, and an ACKI -I
The J-ga flag 369 itself is cleared again in synchronization with the output of the reception confirmation signal. The ACK output driver 388 is a driver for driving the serial data line 320 to L level, and is controlled by the ACK trigger flag 369. A
The CK detection circuit 165 includes an A CK detection flag 167, which is set when it is confirmed that a reception confirmation signal has been output on the serial data line 320 under the control of the ACK sampling signal 111, and is cleared in synchronization with the start of serial transmission. Ru. Furthermore, the contents of this ACK detection flag 167 can be read out via the internal data bus 315.

ライントライバ168は、シリアルデータライン320
を駆動する為のドライバで、ACK検出回路165で制
御される。尚、ACK出力ドライバ378.388が共
にオフ状態の時は、シリアルデータライン320はライ
ントライバ158゜168によりハイレベル状態となる
Line driver 168 connects serial data line 320
This is a driver for driving the ACK detection circuit 165 and is controlled by the ACK detection circuit 165. Note that when both the ACK output drivers 378 and 388 are off, the serial data line 320 is brought to a high level by the line drivers 158 and 168.

次に第4図(a)を参照して第1のシリアルデータ処理
装置100から第2のシリアルデータ処理装置110へ
連続して8とットデータを転送する際のシリアルデータ
ライン320上のシリアルデータとシリアルクロ、クラ
イン321上のシリアルクロック間の同期関係につき説
明する。第1のシリアルデータ処理装置100のシリア
ルクロックン−スフラグ350は予めソフトウェアによ
υセットされ、シリアルクロックの供給元(マスター局
)として、また、第2のシリアルデータ処理部[110
のシリアルクロックソースフラグ360は予めソフトウ
ェアによりクリアされ、シリアルクロック端子315か
らシリアルクロックを供給される側(スレーブ局)に夫
々設定されているものとする。シリアルクロックライン
321は非データ転送時はハイレベルを保つ。
Next, referring to FIG. 4(a), the serial data on the serial data line 320 when 8-bit data is continuously transferred from the first serial data processing device 100 to the second serial data processing device 110. The synchronization relationship between the serial clock and the serial clock on the Klein 321 will be explained. The serial clock pulse flag 350 of the first serial data processing unit 100 is set in advance by software, and serves as the serial clock supply source (master station) and also as the second serial data processing unit [110
It is assumed that the serial clock source flag 360 of is cleared in advance by software and set for each side (slave station) to which the serial clock is supplied from the serial clock terminal 315. The serial clock line 321 remains at a high level during non-data transfer.

データ処理部306が内部データバス305を経由して
シフトレジスタ301に送信データをt 10G  の
タイミングで転送するとACK検出フラグ157はt 
100  のタイミングでクリアされ、シリアルクロッ
ク発生回路302は続<t+ot  のタイミングより
シリアルクロック出力を開始し、シリアルクロックライ
ン321上に送出する。また、シフトレジスタ301は
シリアルクロック制御回路151より発生されたシリア
ルクロックの立ち下がシエッジt 101  に同期し
て1ビット分のシフト動作を行なうと共に最終段の1ビ
ット分のデータをライントライバ158及びシリアルデ
ータ端子303を経由してシリアルデータライン320
上に出力する。引き続き、シフトレジスタ301はシリ
アルクロックの立ち下がりエツジであるteaa  l
 ttos  t ’107  * ttos  l 
1lll  * F1m+t 115  の各タイミン
グに同期して順次シフト動作を繰シ返すと同時にシフト
レジスタ301の最終段の1ビ、トを順にシリアルデー
タライン320上に送出していく。t115 のタイミ
ングに同期して8ビット分のシリアルデータの送出が終
了すると続くシリアルクロックの立ち下がりエツジt1
17のタイミングに同期してACK検出回路155はラ
イントライバ158をプルアップ状態にする。
When the data processing unit 306 transfers the transmission data to the shift register 301 via the internal data bus 305 at a timing of t10G, the ACK detection flag 157 is set to t.
The serial clock generation circuit 302 starts outputting the serial clock from the timing <t+ot, and sends it onto the serial clock line 321. Furthermore, the shift register 301 performs a 1-bit shift operation in synchronization with the falling edge of the serial clock generated by the serial clock control circuit 151 at a shift edge t 101 , and also transfers 1-bit data at the final stage to the line driver 158 . and serial data line 320 via serial data terminal 303
Output on top. Subsequently, the shift register 301 receives the falling edge of the serial clock, teaa l
ttos t '107 * ttos l
The shift operation is repeated in sequence in synchronization with each timing of 1llll * F1m+t 115 , and at the same time, one bit of the final stage of the shift register 301 is sequentially sent onto the serial data line 320 . When the transmission of 8 bits of serial data is completed in synchronization with the timing of t115, the falling edge of the serial clock t1 continues.
In synchronization with timing 17, the ACK detection circuit 155 puts the line driver 158 in a pull-up state.

これによりシリアルデータライン320は、ハイレベル
状態になる。
This causes the serial data line 320 to go to a high level state.

第1のシリアルデータ処理装置100のシリアルクロッ
ク制御回路151は、動t 117 のタイミングに同
期してACKサンプリング信号101をアクティブにす
る。シリアルクロック制御回路151は引き続きシリア
ルクロックを出力すると共に、ACK検出回路155は
、シリアルクロックの立ち上がりエツジであるttts
  * t120  の各タイミングに同期してシリア
ルデータライン320上の第2のシリアルデータ処理装
置110から受信確認信号として出力されるLレベルの
信号のセンスを開始する。
The serial clock control circuit 151 of the first serial data processing device 100 activates the ACK sampling signal 101 in synchronization with the timing of the movement t 117 . The serial clock control circuit 151 continues to output the serial clock, and the ACK detection circuit 155 detects ttts, which is the rising edge of the serial clock.
* In synchronization with each timing of t120, sensing of an L level signal output as a reception confirmation signal from the second serial data processing device 110 on the serial data line 320 is started.

第2のシリアルデータ処理装置110は、シリアルクロ
ックライン321からシリアルクロック端子314経由
で入力するシリアルクロックの立ち上が9エツジt 1
02に同期して、シリアルデータライン320上の1ビ
ット分に相当するシリアルデータをシリアルデータ端子
313を経由してシフトレジスタ311にシフト入力す
る。引き続き、シリアル受信装置110はシリアルクロ
ックの立ち上がシエッジであるFO4+ 110g +
 jloll+ttto + t112 * を菫14
 + jllgに同期して順次シリアルチータライン3
20上のシリアルデータをシフトレジスタ311にシフ
ト入力する。最後のt tta のタイミングで8ビツ
トシリアルデータの受信を完了すると、データ処理部3
16はシフトレジスタ311の内容を内部データバス3
15を経由して読み出し、必要なデータ処理に移る。
The second serial data processing device 110 receives the rising edge t1 of the serial clock input from the serial clock line 321 via the serial clock terminal 314.
02, serial data corresponding to one bit on the serial data line 320 is shifted into the shift register 311 via the serial data terminal 313. Subsequently, the serial receiving device 110 receives the rising edge of the serial clock, FO4+110g+
jloll + ttto + t112 * Sumire 14
+ Serial cheater line 3 in sync with jllg
The serial data on 20 is shifted into the shift register 311. When the reception of the 8-bit serial data is completed at the timing of the last ttta, the data processing unit 3
16 transfers the contents of the shift register 311 to the internal data bus 3.
15, and proceed to necessary data processing.

データ処理部316はこの受信データに対する必要なデ
ータ処理を終了すると内部データバス316を経由して
t 20G  のタイミングに同期してACKトリガフ
ラグ369にX′1“を書き込む。
When the data processing unit 316 completes the necessary data processing for this received data, it writes X'1'' into the ACK trigger flag 369 via the internal data bus 316 in synchronization with the timing t 20G.

ACK出力回路366は続< t201  のタイミン
グに同期して1シリアルクロック間ACK出力ドライバ
388を制御してシリアルデータライン320上に受信
確認信号であるLレベルの信号を出力する。この際、デ
ータライン320が抵抗(図示せず)を介して電源にプ
ルアップされている場合は、ライントライバのオープン
ドレイントランジスタをオンせしめて、データライン3
20をGNDにおとせばよい。
The ACK output circuit 366 controls the ACK output driver 388 for one serial clock in synchronization with the timing <t201, and outputs an L level signal as a reception confirmation signal onto the serial data line 320. At this time, if the data line 320 is pulled up to the power supply via a resistor (not shown), the open drain transistor of the line driver is turned on and the data line 320 is pulled up to the power supply through a resistor (not shown).
20 should be connected to GND.

第1のシリアルデータ処理装置100内のACK検出回
路155は、シリアルクロックの立ち上が9エツジであ
るt 202 のタイミングでシリアルデータライン3
20がLレベルになり、シリアル受信装置110から確
認信号が出力されたことを確認するとACK検出フラグ
157をセットする。
The ACK detection circuit 155 in the first serial data processing device 100 detects the serial data line 3 at timing t202, which is the rising edge of the serial clock.
20 goes to L level and confirms that a confirmation signal has been output from the serial receiving device 110, the ACK detection flag 157 is set.

シリアルクロック制御回路302は続くシリアルクロッ
クの立ち上がシエッジt 203  のタイミングに同
期してシリアルクロックの出力を停止し、同時にデータ
処理部306はACK検出フラグ157がセットされた
ことを確認することによpシリアルデータ処理装置11
0におけるデータ受信に係わる一切の処理が終了したと
判断し、1バイト分のシリアルデータの送受信処理を終
了する。
The serial clock control circuit 302 stops outputting the serial clock in synchronization with the timing of the subsequent rising edge t 203 of the serial clock, and at the same time, the data processing unit 306 confirms that the ACK detection flag 157 is set. Yop serial data processing device 11
It is determined that all processing related to data reception at 0 has been completed, and the transmission/reception processing of 1 byte of serial data is completed.

第1のシリアルデータ処理装置100のデータ処理部3
06がシフトレジスタ301に次の送信データを転送す
る事によシ再び上述したシリアルデータの送受信処理を
開始する。
Data processing section 3 of first serial data processing device 100
06 transfers the next transmission data to the shift register 301, thereby starting the above-described serial data transmission/reception process again.

第1のシリアルデータ処理装置100のデータ処理部3
06で確認信号の時間を管理する事によシ確認信号が所
定時間T2の期間を越えても第2のシリアルデータ処理
装置110から出力されない場合には、第2のシリアル
データ処理装置110側で異常事態が発生したと判断し
て、第1のシリアルデータ処理装置100は残夛のシリ
アルデータの送信を中止する事ができる。即ち、複数バ
イト分のデータを転送する場合に、第2のシリアルデー
タ処理装置110のデータ処理部316がシリアル受信
処理以外の要因による緊急事態によって、数バイト分を
受信した以降残シのデータ受信処理が不可能となシ、継
続する受信処理を中断する必要が生じた場合には、第1
のシリアルデータ処理装置100に対して確認信号の出
力を保留することによシリアルデータの送信処理の中断
を通知することができる。
Data processing section 3 of first serial data processing device 100
By managing the time of the confirmation signal in step 06, if the confirmation signal is not output from the second serial data processing device 110 even after the predetermined time T2, the second serial data processing device 110 side Upon determining that an abnormal situation has occurred, the first serial data processing device 100 can stop transmitting the remaining serial data. That is, when transferring multiple bytes of data, the data processing unit 316 of the second serial data processing device 110 may be unable to receive the remaining data after receiving several bytes due to an emergency situation caused by a factor other than serial reception processing. If processing is impossible or it becomes necessary to interrupt the continuing reception processing, the first
By suspending the output of the confirmation signal to the serial data processing device 100, the suspension of the serial data transmission process can be notified.

次に第4図(b)を参照して第2のシリアルデータ処理
装置110から第1のシリアルデータ処理装置100へ
連続して8とットデータを転送する際のシリアルデータ
ライン320上のシリアルデータとシリアルクロックラ
イン321上のシリアルクロック間の同期関係につき説
明する。第1のシリアルデータ処理装置100はマスタ
局として、また第2のシリアルデータ処理装置110は
スレーブ局として夫々動作するものとする。シリアルク
ロックライン321は非転送時はハイレベルを保つ。
Next, referring to FIG. 4(b), the serial data on the serial data line 320 when 8-bit data is continuously transferred from the second serial data processing device 110 to the first serial data processing device 100. The synchronization relationship between the serial clocks on the serial clock line 321 will be explained. It is assumed that the first serial data processing device 100 operates as a master station, and the second serial data processing device 110 operates as a slave station. The serial clock line 321 maintains a high level during non-transfer.

第1のシリアルデータ処理装置100のシリアルクロッ
ク発生回路302がt 301  のタイミングよ)シ
リアルクロ、り出力を開始し、シリアルクロックライン
321上に送出する。シリアルクロックライン321上
のシリアルクロックは、シリアルクロック端子314を
介してシリアルモロツク制御回路161に入力する。
The serial clock generation circuit 302 of the first serial data processing device 100 starts outputting the serial clock at timing t 301 and sends it onto the serial clock line 321 . The serial clock on the serial clock line 321 is input to the serial molock control circuit 161 via the serial clock terminal 314.

第2のシリアルデータ処理装置110のシフトレジスタ
311はシリアルクロック制御回路161よυ発生され
たシリアルクロックの立ち下が9エツジtzo+ に同
期して1ビツト分のシフト動作を行なうと共に最終段の
1ビツト分のデータをライントライバ168及びシリア
ルデータ出力端子313全経由してシリアルデータライ
ン320上に出力する。引き続き、シフトレジスタ31
1はシリアルクロックの立ち下が9エツジである130
3+j3G! + j307 + t3o* l ’3
1! + F13 + ’315の各タイミングに同期
して順次シフト動作を繰ジ返すと同時にシフトレジスタ
311の最終段の1ビツトを順にシリアルデータライン
320上に送出していく。t315 のタイミングに同
期して8ビツト分のシリアルデータの送出が終了すると
続くシリアルクロックの立ち下がシエッジt317  
のタイミングに同期してACK検出回路165はライン
トライバ168をプルアップ状態にする。これによりシ
リアルデータライン320は、ハイレベル状態になる。
The shift register 311 of the second serial data processing device 110 performs a 1-bit shift operation in synchronization with the 9th edge tzo+ of the serial clock generated by the serial clock control circuit 161. The data corresponding to the number of minutes is outputted onto the serial data line 320 via the line driver 168 and the serial data output terminal 313. Next, shift register 31
1 is 130 when the serial clock falls on the 9th edge.
3+j3G! + j307 + t3o* l '3
1! +F13+'315, the shift operation is repeated in sequence, and at the same time, one bit of the final stage of the shift register 311 is sequentially sent onto the serial data line 320. When the transmission of 8 bits of serial data is completed in synchronization with the timing of t315, the subsequent falling edge of the serial clock is the edge t317.
The ACK detection circuit 165 puts the line driver 168 in a pull-up state in synchronization with the timing. This causes the serial data line 320 to go to a high level state.

第2のシリアルデータ処理装置110のシリアルクロッ
ク制御回路161は、動t3!7のタイミングに同期し
てACKサンプリング信号111をアクティブにする。
The serial clock control circuit 161 of the second serial data processing device 110 activates the ACK sampling signal 111 in synchronization with the timing of movement t3!7.

第1のシリアルデータ処理装置100のシリアルクロッ
ク制御回路151は引き続きシリアルクロックを出力す
ると共に、第2のシリアルデータ処理装置110のAC
K検出回路165は、シリアルクロックの立ち上がクエ
ッジであるj318*!3201の各タイミングに同期
してシリアルデータライン320上の第1のシリアルデ
ータ処理装置100から受信確認信号として出力される
Lレベルの信号のセンスを開始する。
The serial clock control circuit 151 of the first serial data processing device 100 continues to output the serial clock, and the AC
The K detection circuit 165 detects j318*! which is the rising edge of the serial clock. In synchronization with each timing 3201, sensing of an L level signal output as a reception confirmation signal from the first serial data processing device 100 on the serial data line 320 is started.

第1のシリアルデータ処理装置100は、シリアルクロ
ック制御装置151よシ出力されるシリアルクロックの
立ち上が9エツジt 302 に同期して、シリアルデ
ータライン320上の1ビツト分に相当するシリアルデ
ータをシリアルデータ端子303を経由してシフトレジ
スタ301にシフト入力する。引き続き、第1のシリア
ルデータ処理装置100はシリアルクロックの立ち上が
りエツジであるt304 * t30g + ’308
 t t310 + t312 !1314 、t31
6に同期して順次シリアルデータライン320上のシリ
アルデータをシフトレジスタ301にシフト入力する。
The first serial data processing device 100 outputs serial data corresponding to one bit on the serial data line 320 in synchronization with the rising edge t 302 of the serial clock output from the serial clock control device 151. It is shifted into the shift register 301 via the serial data terminal 303. Subsequently, the first serial data processing device 100 receives the rising edge of the serial clock, t304 * t30g + '308.
t t310 + t312! 1314, t31
6, the serial data on the serial data line 320 is sequentially shifted into the shift register 301.

最後のt 316  のタイミングで8ビツトシリアル
データの受信を終了すると、データ処理部306はシフ
トレジスタ301の内容を内部データバス305を経由
して読み出し、必要なデータ処理に移る。データ処理部
306がこの受信データに対する必要なデータ処理を終
了すると内部データバス306を経由してt400のタ
イミングに同期してACKトリガフラグ359にゝゝ1
“を書き込む。ACK出力回路356は続<t401 
 のタイミングに同期して1シリアルクロ、り間ACK
出力ドライバ378を制御してシリアルデータライン3
20上に受信確認信号であるロウレベルを出力する。
When the reception of the 8-bit serial data is finished at the final timing t 316 , the data processing unit 306 reads the contents of the shift register 301 via the internal data bus 305 and proceeds to necessary data processing. When the data processing unit 306 completes the necessary data processing for this received data, an ACK trigger flag 359 is sent via the internal data bus 306 to the ACK trigger flag 359 in synchronization with the timing t400.
" is written. The ACK output circuit 356 continues < t401
ACK for 1 serial clock in synchronization with the timing of
Controlling output driver 378 to output serial data line 3
A low level signal, which is a reception confirmation signal, is output on 20.

第2のシリアルデータ処理装置100側K検出回路16
7は、シリアルクロックの立ち上がりエツジであるt4
゜2のタイミングでシリアルデータライン320がLレ
ベルになシ、第1のシリアルデータ処理装置100から
確認信号が出力されたことを確認するとACK検出7ラ
グ167をセットする。
Second serial data processing device 100 side K detection circuit 16
7 is the rising edge of the serial clock t4
When it is confirmed that the serial data line 320 is at the L level at the timing of .degree. 2 and that a confirmation signal has been output from the first serial data processing device 100, the ACK detection 7 lag 167 is set.

シリアルクロック制御回路151は続くシリアルクロ、
りの立ち上がりエツジt 403 のタイミングに同期
してシリアルクロ、りの出力を停止し、同時にデータ処
理部316はACK検出フ2グ367がセットされたこ
とを確認することによシ第1のシリアルデータ処理装置
100におけるデータ受信に係わる一切の処理が終了し
たと判断し、1バイト分のシリアルデータの送受信処理
を終了する。
The serial clock control circuit 151 performs the following serial clock,
The data processing unit 316 stops the output of the serial clock in synchronization with the timing of the rising edge t403 of the first serial clock, and at the same time, the data processing unit 316 confirms that the ACK detection flag 367 is set. It is determined that all processing related to data reception in the data processing device 100 has been completed, and the transmission/reception processing of 1 byte of serial data is ended.

第1のシリアルデータ処理装置100がシリアルクロッ
クを出力することにより再び上述したシリアルデータの
送受信処理を開始する。
The first serial data processing device 100 outputs the serial clock to start the above-described serial data transmission/reception process again.

第2のシリアルデータ処理装置110のデータ処理部3
16で確認信号の時間を管理することによシ確認信号が
所定時間T3の期間を越えても第1のシリアルデータ処
理装置100から発行されない場合には、第1のシリア
ルデータ処理装置100側で異常事態が発生したと解釈
して、第2のシリアルデータ処理装置110は残9のシ
リアルデータの送信を中止することができる。即ち、複
数バイト分のデータを転送する場合で、第1のシリアル
データ処理装置100のデータ処理部306がシリアル
受信処理以外の要因による緊急事態によって、数バイト
分を受信した以降残υのデータ受信処理が不可能となり
、継続する受信処理を中断する必要が生じた場合には、
第2のシリアルデータ処理装置110に対して確認信号
の出力を保留することによシリアルデータの送信処理の
中断を通知することができる。
Data processing section 3 of second serial data processing device 110
By managing the time of the confirmation signal in step 16, if the confirmation signal is not issued from the first serial data processing device 100 even after the predetermined time T3, the first serial data processing device 100 side Interpreting that an abnormal situation has occurred, the second serial data processing device 110 can stop transmitting the remaining nine serial data. In other words, when transferring multiple bytes of data, the data processing unit 306 of the first serial data processing device 100 receives several bytes due to an emergency situation caused by factors other than serial reception processing, and after receiving the remaining υ data. If processing becomes impossible and it becomes necessary to interrupt the continuing reception processing,
By suspending output of the confirmation signal to the second serial data processing device 110, interruption of the serial data transmission process can be notified.

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

以上説明した通り、本発明の基づくシリアルデータ処理
装置は、シリアルチータラインとシリアルクロックライ
ンの2線で送信側と受信側に於けるデータ送受信の確認
をとることができる。
As described above, the serial data processing device according to the present invention can confirm data transmission and reception on the transmitting side and the receiving side using two lines, the serial cheater line and the serial clock line.

さらに、受信確認信号を所定データ受信後の任意のタイ
ミングで発生することができる為、シリアルクロックを
高速化することが可能である。また、第1.第2のシリ
アルデータ処理装置の他に、シリアルデータライン32
0とシリアルクロックライン321上に多数のシリアル
データ処理装置を接続して使用する場合、シリアルクロ
ックの周期、即ちシリアルデータの転送速度は受信側に
於ける受信確認の為のデータ処理の能力の最も低いシリ
アルデータ処理装置に合わせて設定する必要がなくなり
、高速シリアルデータ転送が可能なシリアルデータ処理
装置にはそれに最適な周期の短いシリアルクロックを使
用できる為、シリアルデータ転送の効率を最大限に発揮
することが可能である。しかも、確認信号の出力回路及
び確認信号の検出回路を小量のハードウェアで実現でき
る為、LSI間のシリアルデータ処理装置として非常に
有用である。
Furthermore, since the reception confirmation signal can be generated at any timing after receiving the predetermined data, it is possible to speed up the serial clock. Also, 1st. In addition to the second serial data processing device, the serial data line 32
0 and the serial clock line 321, the period of the serial clock, that is, the transfer rate of serial data, is the maximum of the data processing ability for confirmation of reception on the receiving side. There is no need to configure settings to suit low-speed serial data processing devices, and a serial clock with a short cycle that is suitable for serial data processing devices capable of high-speed serial data transfer can be used, maximizing the efficiency of serial data transfer. It is possible to do so. Furthermore, since the confirmation signal output circuit and the confirmation signal detection circuit can be realized with a small amount of hardware, the present invention is very useful as a serial data processing device between LSIs.

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

第1図は本発明の一実施例のシリアルデータ転送装置の
ブロック図、第2図は第1図でのシリアルデータ転送の
タイミングチャート、第3図は本発明の他の実施例によ
るシリアルデータ転送装置のブロック図、第4図(a)
および(b)は夫々そのタイミングチャートである。 100.300・・・・・・シリアル送信装置、110
゜310・・・・・・シリアル受信装置、301,31
1・・・°・・シフトレジスタ、302,312・・・
・・・シリアルクロック発生回路、303,313・・
・・・・シリアルデータ端子、304,314・・・・
・・シリアルクロック端子、305.315・・°・・
・内部データバス、306.316・・・・・・データ
処理部、101,111・・・・・・A(、にサンプリ
ング信号、151.16]°・・・・・シリアルクロッ
ク制御回路、158,168゜352.362・・・・
・・ライントライバ、155,165・・・・・・AC
K検出回路、157,167・・・・・・ACK検出フ
ラグ、355.365・・・・・・ACK制御回路、3
56.366・・°・・・ACK出力回路、353,3
63・・・・・・ラインバッファ、378,388・・
・・・・ACK出力ドライバ、359.369・・・・
・・ACKトリガフラグ、320・・・・・・シリアル
チータライン、321・・・・・・シリアルクロックラ
イン。 代理人 弁理士  内 原   st−゛。 日 ゛・  7′
FIG. 1 is a block diagram of a serial data transfer device according to an embodiment of the present invention, FIG. 2 is a timing chart of serial data transfer in FIG. 1, and FIG. 3 is a serial data transfer according to another embodiment of the present invention. Block diagram of the device, Figure 4(a)
and (b) are their timing charts. 100.300... Serial transmitter, 110
゜310... Serial receiving device, 301, 31
1...°...Shift register, 302, 312...
...Serial clock generation circuit, 303, 313...
...Serial data terminal, 304, 314...
・・Serial clock terminal, 305.315・・°・・
・Internal data bus, 306.316...Data processing unit, 101, 111...A(, sampling signal, 151.16]°...Serial clock control circuit, 158 ,168°352.362...
・・Line driver, 155, 165・・・・AC
K detection circuit, 157, 167...ACK detection flag, 355.365...ACK control circuit, 3
56.366...°...ACK output circuit, 353,3
63... Line buffer, 378, 388...
...ACK output driver, 359.369...
...ACK trigger flag, 320... Serial cheater line, 321... Serial clock line. Agent Patent Attorney Uchihara St-゛.日゛・7′

Claims (2)

【特許請求の範囲】[Claims] (1)マスタ局とスレーブ局とを単一のデータラインと
単一のクロックラインとで相互接続したシリアルデータ
転送装置において、前記マスタ局およびスレーブ局は夫
々前記データライン上に受信確認信号を出力する受信確
認信号出力手段と、前記データライン上の受信確認信号
を検出する受信確認信号検出手段とを有し、前記クロッ
クライン上に出力されるシリアルクロックに同期してデ
ータ転送の確認処理を実行することを特徴とするシリア
ルデータ転送装置。
(1) In a serial data transfer device in which a master station and a slave station are interconnected by a single data line and a single clock line, the master station and slave station each output a reception confirmation signal on the data line. and reception confirmation signal detection means for detecting the reception confirmation signal on the data line, and executes data transfer confirmation processing in synchronization with a serial clock output on the clock line. A serial data transfer device characterized by:
(2)前記受信確認信号検出手段は、任意に定められた
サンプリング期間内で前記受信確認信号を検出すること
を特徴とする特許請求の範囲第1項記載のシリアルデー
タ転送装置。
(2) The serial data transfer device according to claim 1, wherein the reception confirmation signal detection means detects the reception confirmation signal within an arbitrarily determined sampling period.
JP61206404A 1986-09-01 1986-09-01 Serial data transfer device Pending JPS6361533A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP61206404A JPS6361533A (en) 1986-09-01 1986-09-01 Serial data transfer device
EP87112742A EP0258872B1 (en) 1986-09-01 1987-09-01 Serial data transfer system
DE3789743T DE3789743T2 (en) 1986-09-01 1987-09-01 Serial data transmission system.
US07/569,539 US4984190A (en) 1986-09-01 1990-08-20 Serial data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61206404A JPS6361533A (en) 1986-09-01 1986-09-01 Serial data transfer device

Publications (1)

Publication Number Publication Date
JPS6361533A true JPS6361533A (en) 1988-03-17

Family

ID=16522796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61206404A Pending JPS6361533A (en) 1986-09-01 1986-09-01 Serial data transfer device

Country Status (1)

Country Link
JP (1) JPS6361533A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01259643A (en) * 1988-04-08 1989-10-17 Toshiba Corp Serial communication circuit
JP2005245129A (en) * 2004-02-26 2005-09-08 Toyo Electric Mfg Co Ltd Communication device for synchronous control
US7044455B2 (en) 2001-04-27 2006-05-16 Tokai Rubber Industries, Ltd. Fluid-filled vibration damping device
US7117969B2 (en) 2002-12-25 2006-10-10 Honda Motor Co., Ltd. Support structure for transversal engine
KR100664852B1 (en) * 2000-08-31 2007-01-04 매그나칩 반도체 유한회사 A serial interface using two pins
US7257656B1 (en) 1999-04-19 2007-08-14 Moeller Gmbh Device for synchronous transmission of data between a master device and a slave device
JPWO2015079943A1 (en) * 2013-11-27 2017-03-16 ソニー株式会社 Signal processing apparatus, signal processing method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60206246A (en) * 1984-03-30 1985-10-17 Hitachi Denshi Ltd Data transmission system
JPS6195648A (en) * 1984-10-17 1986-05-14 Hitachi Ltd Data transfer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60206246A (en) * 1984-03-30 1985-10-17 Hitachi Denshi Ltd Data transmission system
JPS6195648A (en) * 1984-10-17 1986-05-14 Hitachi Ltd Data transfer system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01259643A (en) * 1988-04-08 1989-10-17 Toshiba Corp Serial communication circuit
US7257656B1 (en) 1999-04-19 2007-08-14 Moeller Gmbh Device for synchronous transmission of data between a master device and a slave device
KR100664852B1 (en) * 2000-08-31 2007-01-04 매그나칩 반도체 유한회사 A serial interface using two pins
US7044455B2 (en) 2001-04-27 2006-05-16 Tokai Rubber Industries, Ltd. Fluid-filled vibration damping device
US7117969B2 (en) 2002-12-25 2006-10-10 Honda Motor Co., Ltd. Support structure for transversal engine
JP2005245129A (en) * 2004-02-26 2005-09-08 Toyo Electric Mfg Co Ltd Communication device for synchronous control
JPWO2015079943A1 (en) * 2013-11-27 2017-03-16 ソニー株式会社 Signal processing apparatus, signal processing method, and program

Similar Documents

Publication Publication Date Title
US4615017A (en) Memory controller with synchronous or asynchronous interface
US4984190A (en) Serial data transfer system
JP4773742B2 (en) 2-wire interface between chips
US5758073A (en) Serial interface between DSP and analog front-end device
US5327121A (en) Three line communications method and apparatus
EP1213657A2 (en) Dual interface serial bus
JPS6365178B2 (en)
JPH02227765A (en) Data transfer apparatus for digital computer
US20070250652A1 (en) High speed dual-wire communications device requiring no passive pullup components
JPS6239580B2 (en)
JPS6361533A (en) Serial data transfer device
CN117222994A (en) I2C bus architecture using shared clock and dedicated data lines
CN114996184A (en) Compatible implementation of SPI or I 2 Interface module of C slave machine and data transmission method
US6378019B1 (en) Method and system for interfacing a plurality of peripheral devices in a slave group interface device to a bus and a slave group interface device
CN115605854A (en) Providing validation for system power management interface
EP0829095B1 (en) Method and apparatus for reducing latency time on an interface by overlapping transmitted packets
JP2000231539A (en) Data transfer system and data transfer method
US20040168000A1 (en) Method and device for data transmission control between IDE apparatuses
KR0143684B1 (en) An interface for supporting ic protocol
JP2003124947A (en) Daisy chain data input/output system by serial communication system
JP3947223B2 (en) Method and apparatus for reducing waiting time on an interface by overlapping transmission packets
JP2629027B2 (en) Interface method
KR100295683B1 (en) General call acknowledge apparatus and method for inter-integrated circuit
KR19980026617A (en) Serial data communication system
US6901472B2 (en) Data-processing unit with a circuit arrangement for connecting a first communications bus with a second communications bus