JPH11289318A - Serial data communication equipment and error check method therefor - Google Patents

Serial data communication equipment and error check method therefor

Info

Publication number
JPH11289318A
JPH11289318A JP8891798A JP8891798A JPH11289318A JP H11289318 A JPH11289318 A JP H11289318A JP 8891798 A JP8891798 A JP 8891798A JP 8891798 A JP8891798 A JP 8891798A JP H11289318 A JPH11289318 A JP H11289318A
Authority
JP
Japan
Prior art keywords
serial data
communication
data
error
same
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
JP8891798A
Other languages
Japanese (ja)
Other versions
JP3488378B2 (en
Inventor
Masanori Okada
雅典 岡田
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP08891798A priority Critical patent/JP3488378B2/en
Publication of JPH11289318A publication Critical patent/JPH11289318A/en
Application granted granted Critical
Publication of JP3488378B2 publication Critical patent/JP3488378B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • H04L1/1845Combining techniques, e.g. code combining
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end

Abstract

PROBLEM TO BE SOLVED: To provide a serial data communication equipment or the error check method for the serial data communication device which is capable of adequately performing error check of serial data communication, and performing the error check and the serial data communication in a short time without increasing the circuit scale of the error check. SOLUTION: The same data are transmitted twice by one-time communication, are compared on the side of reception, and when those two data do not match with each other, it is notified to the transmission side from the reception side that there is error in communication data. When the transmission side recognizes that there is error in the communication data, it transmits the same data only once, the reception side compares the latest two data and similarly returns the result to the transmission side.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、シリアル通信技
術、さらにはクロック同期式シリアル通信技術に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial communication technique and, more particularly, to a clock synchronous serial communication technique.

【0002】[0002]

【従来の技術】従来のクロック同期式シリアル通信方式
は、基本的にはクロックラインとデータラインとによっ
て送信側と受信側とが結合され、シリアルクロックに同
期してシリアルデータの転送が行われる。
2. Description of the Related Art In a conventional clock synchronous serial communication system, a transmission side and a reception side are basically connected by a clock line and a data line, and serial data is transferred in synchronization with a serial clock.

【0003】このような基本的なクロック同期式シリア
ル通信においては、転送制御が簡単である反面、エラー
チェック機能が無く、例えばシリアルクロックにノイズ
が重畳され、それによってシリアルデータが誤って転送
された場合でも、受信側でエラー検出を行うことができ
ない。そのような場合、受信側では、受信された通信デ
ータをそのまま使用することになるので、結果的に誤動
作を招く。
In such basic clock-synchronous serial communication, transfer control is simple, but there is no error check function. For example, noise is superimposed on a serial clock, and serial data is erroneously transferred. Even in this case, error detection cannot be performed on the receiving side. In such a case, the receiving side uses the received communication data as it is, resulting in a malfunction.

【0004】それを防止するために、受信側で付け得る
エラーチェック機能としては、パリティビットを付加す
る方法,送信したデータを返信して比較する方法,CR
Cコードにより行う方法などがある。
In order to prevent this, an error check function that can be added on the receiving side includes a method of adding a parity bit, a method of returning and comparing transmitted data, and a method of CR.
There is a method using a C code.

【0005】[0005]

【発明が解決しようとする課題】ところが、従来のエラ
ーチェック方法であるパリティビットを付加する方法で
は、偶数個のビット誤りが発生したときには誤りを検出
することができないという問題があった。また、送信し
たデータを返信して比較する方法では、データ通信に時
間がかかってしまうという問題があり、この問題を解決
するには通信方式を全二重通信方式とすればよいが、信
号線が増えハードウェアの回路規模が大きくなる、ソフ
トウェアの負担が増えるなどの別の問題があった。ま
た、CRCコード法では、通信データのチェックはかな
り高精度で行えるが、ハードウェアの回路規模が大きく
なってしまうという問題があった。
However, the method of adding a parity bit, which is a conventional error checking method, has a problem that when an even number of bit errors occurs, the error cannot be detected. In addition, the method of comparing transmitted data by returning it has a problem that data communication takes time. To solve this problem, the communication method may be a full-duplex communication method. There are other problems such as an increase in the number of hardware, an increase in hardware circuit scale, and an increase in software load. Further, according to the CRC code method, although communication data can be checked with extremely high accuracy, there is a problem that the circuit scale of hardware becomes large.

【0006】よって、従来のエラーチェック方法および
それを実現するための構成を付加すると、エラーチェッ
クが十分にできない、回路規模が大きくなる、通信に時
間がかかるなどの問題があった。
Therefore, if a conventional error checking method and a configuration for realizing the error checking method are added, there are problems that error checking cannot be performed sufficiently, a circuit scale becomes large, and communication takes time.

【0007】[0007]

【課題を解決するための手段】本発明は、上記問題点に
鑑みてなされたものであり、送信側と受信側との間でシ
リアルデータ通信を行うシリアルデータ通信装置におい
て、送信側に受信側へ同一シリアルデータを2度伝送す
る伝送手段を設け、受信側に伝送手段から伝送された2
つのシリアルデータを比較する比較手段と、比較手段で
同一と判定すれば通信エラーがなかったことを返信し、
同一と判定しなければ通信エラーがあったことを返信す
る返信手段とを設けたシリアルデータ通信装置としたも
のである。あるいは、送信側から受信側にシリアルデー
タ通信を行う際のエラーチェック方法において、送信側
から受信側に同一シリアルデータを2度伝送し、受信側
で伝送された2つのシリアルデータを比較し、同一であ
れば通信エラーがなかったことを送信側に通知し、同一
でなければ通信エラーがあったことを送信側に通知する
シリアルデータ通信装置のエラーチェック方法としたも
のである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and is directed to a serial data communication apparatus for performing serial data communication between a transmitting side and a receiving side. A transmission means for transmitting the same serial data twice is provided to the receiving side.
A comparison unit that compares two serial data, and if the comparison unit determines that they are the same, a reply that there is no communication error is returned,
If it is not determined that they are the same, a serial data communication device provided with a return means for returning that there is a communication error. Alternatively, in the error checking method when performing serial data communication from the transmitting side to the receiving side, the same serial data is transmitted twice from the transmitting side to the receiving side, and the two serial data transmitted on the receiving side are compared with each other. If so, an error check method of the serial data communication device is provided to notify the transmitting side that there is no communication error, and to notify the transmitting side that there is a communication error if they are not the same.

【0008】このような構成または方法により、シリア
ルデータ通信のエラーチェックが簡単な構成で実現でき
るようになる。
According to such a configuration or method, an error check of serial data communication can be realized with a simple configuration.

【0009】さらに、本発明は、送信側が通信エラーが
あったことを受信した場合に、伝送手段から再度同一シ
リアルデータを伝送するシリアルデータ通信装置とした
ものである。あるいは、通信エラーがあったことを送信
側に通知した場合に、送信側から再度同一シリアルデー
タを伝送し、受信側で伝送されたシリアルデータと直前
のシリアルデータとを比較し、同一であれば通信エラー
がなかったことを送信側に通知し、同一でなければ通信
エラーがあったことを送信側に通知し、再度同一シリア
ルデータを伝送することを繰り返すシリアルデータ通信
装置のエラーチェック方法としたものである。
Further, the present invention is a serial data communication device for transmitting the same serial data again from the transmission means when the transmitting side receives the communication error. Alternatively, when the transmitting side is notified that a communication error has occurred, the same serial data is transmitted again from the transmitting side, and the serial data transmitted on the receiving side is compared with the immediately preceding serial data. An error check method for a serial data communication device that notifies the transmitting side that there was no communication error, notifies the transmitting side that there was a communication error if it is not the same, and repeatedly transmits the same serial data again Things.

【0010】このような構成または方法により、1回の
通信で同一データを2度伝送して受信側で比較して通信
データにエラーがあった場合だけ、即ち1度目と2度目
の伝送データが一致しなかったときだけ、通信エラー信
号を送信側に返して通信データの再転送を行い、再転送
時には1度だけデータを伝送し、最新の2つのデータで
比較を行い、この最新の2つのデータが一致するまで通
信データの再転送を行うようになり、エラーチェックお
よびシリアルデータ通信を短時間で実現できるようにな
る。
According to such a configuration or method, the same data is transmitted twice in one communication and compared on the receiving side only when there is an error in the communication data, that is, the first and second transmission data are not transmitted. Only when they do not match, a communication error signal is returned to the transmitting side to retransmit the communication data. At the time of retransmission, the data is transmitted only once, and the latest two data are compared. The communication data is re-transferred until the data matches, and error checking and serial data communication can be realized in a short time.

【0011】さらに、本発明は、送信側と受信側との通
信をクロック同期式シリアルデータ通信とし、クロック
同期用信号線,シリアルデータ通信用信号線,返信信号
用信号線の3本の信号を具備したシリアルデータ通信装
置としたものである。
Further, according to the present invention, the communication between the transmission side and the reception side is clock-synchronized serial data communication, and three signals of a clock synchronization signal line, a serial data communication signal line, and a return signal signal line are transmitted. This is a serial data communication device provided.

【0012】このような構成により、使用する信号は通
信用同期クロック(以下CLK)、双方向データ(以下
DATA)、返信信号用信号(以下DIR)の3種類で
あり、DIRは通信エラー信号としても使用するため
に、通信エラーチェック用の特別の信号線を設ける必要
がなくなる。
With such a configuration, three types of signals are used: a communication synchronous clock (hereinafter, CLK), bidirectional data (hereinafter, DATA), and a return signal (hereinafter, DIR). DIR is a communication error signal. Therefore, it is not necessary to provide a special signal line for checking a communication error.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施例を図面を用
いて説明する。なお、本実施例ではCLK,DIR信号
を出力する側をマスタ、CLK,DIR信号を受信する
側をスレーブとし、以下マスタ、スレーブにて説明す
る。また、マスターからデータの送信時にはDIRを
“H”、受信時にはDIRを“L”としている。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, the side that outputs the CLK and DIR signals is a master, and the side that receives the CLK and DIR signals is a slave. Hereinafter, the master and the slave will be described. DIR is set to "H" when data is transmitted from the master, and DIR is set to "L" when receiving data.

【0014】図1は、スレーブ2をハードウェアで、マ
スタ1をソフトウェアで実現した場合のシリアルデータ
通信装置のブロック図を示し、図2は、マスタ1側の動
作を示すフローチャートを示し、図3は、マスタ1のシ
リアルデータ受信時のタイムチャートを示し、図4は、
マスタ1のシリアルデータ送信時のタイムチャートを示
す。
FIG. 1 is a block diagram of a serial data communication apparatus when the slave 2 is realized by hardware and the master 1 is realized by software. FIG. 2 is a flowchart showing the operation of the master 1, and FIG. Shows a time chart when the master 1 receives serial data, and FIG.
4 shows a time chart when the master 1 transmits serial data.

【0015】以下、図2乃至図4を用いてマスタ1のシ
リアルデータ送受信時のソフトウェア動作を説明する。
マスタ1がシリアルデータを受信する場合には、図3に
示すように、まずスレーブ2から転送データがあること
を示すスタートビット“H”をDATAに出力する(図
2のステップ1のYES)。このDATAの“H”をマ
スタ1が認識してCLKを出力する(図2のステップ
2)が、スレーブ2はCLKの立ち下がりに同期してデ
ータをMSB(D7)より順次出力する。
The software operation of the master 1 when transmitting and receiving serial data will be described below with reference to FIGS.
When the master 1 receives serial data, as shown in FIG. 3, first, the slave 2 outputs a start bit “H” indicating that there is transfer data to DATA (YES in step 1 of FIG. 2). The master 1 recognizes this "H" of DATA and outputs CLK (step 2 in FIG. 2), but the slave 2 sequentially outputs data from the MSB (D7) in synchronization with the fall of CLK.

【0016】マスタ1は、CLKの立ち上がりでデータ
を取り込む(図2のステップ3)。そして、LSB(D
0)をスレーブ2が出力した後、マスタ1はCLKを立
ち上げDIRを1度だけ“L”→“H”と変化させる
(図2のステップ4)。スレーブ2では、このDIRの
立ち上がりで通信エラー無しの“L”をDATA信号線
より出力する。マスタ1ではこの“L”を認識した後
(図2のステップ5)、CLKを立ち下げる。このCL
Kの立ち下がりでDATAにスタートビット“H”が出
力され1度目の送信が終了し2度目の送信が始まる。
The master 1 takes in data at the rise of CLK (step 3 in FIG. 2). And LSB (D
After the slave 2 outputs 0), the master 1 raises the CLK and changes the DIR from "L" to "H" only once (step 4 in FIG. 2). At the rising edge of the DIR, the slave 2 outputs "L" indicating no communication error from the DATA signal line. After recognizing this "L" (step 5 in FIG. 2), the master 1 lowers the CLK. This CL
At the falling edge of K, a start bit “H” is output to DATA, the first transmission ends, and the second transmission starts.

【0017】2度目の送信も1度目と同じ様に行われ、
2度目の送信の終了時に再度スタートビット“H”がD
ATA信号に出力される。この時、マスタでは2度送信
されたデータを比較し(図2のステップ6)、通信エラ
ーがなければ(図2のステップ7のYES)、3度目の
送信のCLKを出力せずにDIRを“L”→“H”→
“L”と変化させ通信を終了させる(図2のステップ
8)。そして、通信エラーがあれば(図2のステップ7
のNO)、再度CLKを出力して2度目と同様に通信を
行い、通信エラーがなくなるまで何度でも通信を行う。
The second transmission is performed in the same manner as the first transmission,
At the end of the second transmission, the start bit “H”
Output to the ATA signal. At this time, the master compares the data transmitted twice (step 6 in FIG. 2), and if there is no communication error (YES in step 7 in FIG. 2), the DIR is output without outputting the third transmission CLK. “L” → “H” →
The communication is ended by changing to "L" (step 8 in FIG. 2). If there is a communication error (step 7 in FIG. 2)
NO), CLK is output again, communication is performed in the same manner as the second time, and communication is performed any number of times until a communication error is eliminated.

【0018】次に、マスタ1がシリアルデータを送信す
る場合には、図4に示すように、マスタ1からシリアル
データを転送するためにDIRを“H”とする(図2の
ステップ9)。このDIRの立ち上がりにてスレーブ2
はデータ受信状態に入る。そして、マスタ1はCLKを
出力するが、このCLKの立ち上がりに同期してデータ
をMSB(D7)より出力する(図2のステップ1
0)。
Next, when the master 1 transmits serial data, as shown in FIG. 4, the DIR is set to "H" to transfer the serial data from the master 1 (step 9 in FIG. 2). Slave 2 at the rise of this DIR
Enters the data reception state. Then, the master 1 outputs the CLK, and outputs the data from the MSB (D7) in synchronization with the rise of the CLK (step 1 in FIG. 2).
0).

【0019】スレーブ2はCLKの立ち下がりでデータ
を取り込む。そして、LSB(D0)をスレーブ2が取
り込んだ後、CLKが“H”の時にDIRを“H”→
“L”と変化させる(図2のステップ11)。この、D
IRの“L”の期間にスレーブ2は転送データが1度し
か転送されていない信号“H”をDATA信号線から出
力してマスタ1に伝える。マスタ1ではこの時“H”を
認識してDIRを“L”→“H”と変化させ、さらにC
LKを出力して2度目のデータ転送を行う。
The slave 2 takes in data at the falling edge of CLK. Then, after the slave 2 captures the LSB (D0), the DIR changes from “H” to “H” when CLK is “H”.
It is changed to “L” (step 11 in FIG. 2). This D
During the “L” period of the IR, the slave 2 outputs a signal “H” to which the transfer data has been transferred only once from the DATA signal line and transmits it to the master 1. At this time, the master 1 recognizes "H" and changes the DIR from "L" to "H".
LK is output to perform the second data transfer.

【0020】1度目と同様にデータを転送し、LSB
(D0)の転送が終了した時点で再びCLKが“H”の
期間にDIRを“L”に変化させる(図2のステップ1
1)。この時、スレーブ2は比較部2aで1度目と2度
目のデータを比較して通信エラー無しの“L”(通信エ
ラーがある時は“H”)をDATA信号線より出力する
(図2のステップ12)。マスタ1は“L”を認識する
とCLKを立ち下げて通信を終了する。マスタ1が
“H”を認識すると2度目のデータ転送と同様に3度目
のデータ転送を行い、通信エラーがなくなるまで何度で
も通信を行う。
Data is transferred in the same manner as the first
When the transfer of (D0) is completed, DIR is changed to "L" again while CLK is at "H" (step 1 in FIG. 2).
1). At this time, the slave 2 compares the first and second data in the comparator 2a and outputs "L" without communication error ("H" when there is a communication error) from the DATA signal line (FIG. 2). Step 12). When the master 1 recognizes "L", it lowers the CLK and ends the communication. When the master 1 recognizes "H", the third data transfer is performed in the same manner as the second data transfer, and communication is performed any number of times until a communication error is eliminated.

【0021】本実施例では、マスタ1よりCLK,DI
R信号を出力しているため、データ受信時のスレーブ2
でのエラーチェックはCLKの入力数のみのチェックと
なるが、マスタ1でデータの比較によるエラーチェック
が行える。また、データ送信時にはスレーブ2でCLK
の入力数、データの比較によるエラーチェックが行え
る。
In this embodiment, the master 1 outputs CLK, DI
Since the R signal is output, the slave 2 at the time of data reception
Is a check for only the number of inputs of CLK, but the master 1 can perform an error check by comparing data. During data transmission, the slave 2 sets the CLK
Error checking can be performed by comparing the number of inputs and data.

【0022】本実施例の構成により、1回の通信で2度
同一シリアルデータを伝送して受信側で比較し、この2
つのシリアルデータが一致しなかったときには受信側か
ら送信側に通信エラーがあったことを通知し、送信側が
通信データにエラーがあったことを認識すると再度同一
データを1度だけ伝送し、受信側で最新の2つのデータ
で比較を行い、同じ様に結果を送信側に返すようにな
る。このような手順により、通信データにエラーがあっ
たときのみ再転送をするために通信時間を短くでき、ま
た通信データにエラーがなくなるまで再転送するために
エラーフリーのデータ通信が可能となる。
According to the configuration of this embodiment, the same serial data is transmitted twice in one communication and compared on the receiving side.
If the two serial data do not match, the receiving side notifies the transmitting side that there is a communication error, and if the transmitting side recognizes that there is an error in the communication data, the same data is transmitted once again, and the receiving side Then, the latest two data are compared, and the result is returned to the transmission side in the same manner. According to such a procedure, the communication time can be shortened to perform retransmission only when there is an error in the communication data, and error-free data communication can be performed to retransmit the communication data until there is no error.

【0023】また、本実施例の構成により、通信エラー
の通知に特別の信号線を設けず3線式としているために
信号線の数が少なくコストを抑えることができる。
Further, according to the configuration of the present embodiment, since a special signal line is not provided for notification of a communication error and a three-wire system is used, the number of signal lines is small and cost can be suppressed.

【0024】よって、シリアルデータ通信のエラーチェ
ックが十分にでき、エラーチェックの回路規模が大きく
なく、エラーチェックやシリアルデータ通信を短時間で
行えるシリアルデータ通信装置またはシリアルデータ通
信装置のエラーチェック方法となる。
Therefore, the error check of the serial data communication can be sufficiently performed, the circuit scale of the error check is not large, and the error check and the error check method of the serial data communication device can be performed in a short time. Become.

【0025】なお、本実施例ではデータを8ビット長と
しMSBより出力しているが、データ長は何ビットでも
よく、LSBからの出力でもよい。また、本実施例で
は、図1に示すように、マスタ1をソフトウェアでスレ
ーブ2をハードウェアで実現した場合のブロック図を示
したが、マスタ、スレーブともにハードウェアで実現し
てもよく、マスタ、スレーブともにソフトウェアで実現
してもよいし、マスタをハードウェア、スレーブをソフ
トウェアで実現してもよい。
In this embodiment, the data is 8 bits long and is output from the MSB. However, the data length may be any number of bits and may be output from the LSB. Further, in this embodiment, as shown in FIG. 1, a block diagram in the case where the master 1 is realized by software and the slave 2 is realized by hardware is shown. However, both the master and the slave may be realized by hardware. The slave may be realized by software, the master may be realized by hardware, and the slave may be realized by software.

【0026】[0026]

【発明の効果】以上説明したように、本発明の構成また
は方法によれば、通信エラーが発生した場合はデータの
再転送を行うためエラーフリーの通信を行うことがで
き、通信エラーの通知に時間がかからないため通信速度
を落とすこともない。また、ハードウェアでもソフトウ
ェアでも実現可能であり、使用する信号線は3本でよ
く、通信エラーチェク用の特別の信号線を設ける必要が
ないため実現する際のコストを抑えることができる。
As described above, according to the configuration or method of the present invention, when a communication error occurs, error-free communication can be performed because data is retransmitted. Since it does not take much time, the communication speed is not reduced. Further, it can be realized by hardware or software, and only three signal lines may be used, and it is not necessary to provide a special signal line for communication error checking, so that the cost for realizing the method can be suppressed.

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

【図1】 本発明のシリアルデータ通信装置のブロック
FIG. 1 is a block diagram of a serial data communication device of the present invention.

【図2】 本発明のシリアルデータ通信装置のマスタ側
のフローチャート
FIG. 2 is a flowchart on the master side of the serial data communication device of the present invention.

【図3】 本発明のシリアルデータ通信装置のマスタ側
のデータ受信時のタイムチャート
FIG. 3 is a time chart at the time of data reception on the master side of the serial data communication device of the present invention.

【図4】 本発明のシリアルデータ通信装置のマスタ側
のデータ送信時のタイムチャート
FIG. 4 is a time chart at the time of data transmission on the master side of the serial data communication device of the present invention.

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

1:マスタ 2:スレーブ 2a:比較部 1: Master 2: Slave 2a: Comparison unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】送信側と受信側との間でシリアルデータ通
信を行うシリアルデータ通信装置において、前記送信側
に受信側へ同一シリアルデータを2度伝送する伝送手段
を設け、前記受信側に前記伝送手段から伝送された2つ
のシリアルデータを比較する比較手段と、該比較手段で
同一と判定すれば通信エラーがなかったことを返信し、
同一と判定しなければ通信エラーがあったことを返信す
る返信手段とを設けたことを特徴とするシリアルデータ
通信装置。
1. A serial data communication device for performing serial data communication between a transmission side and a reception side, wherein said transmission side is provided with transmission means for transmitting the same serial data twice to a reception side, and said transmission side is provided with said transmission side. Comparing means for comparing the two serial data transmitted from the transmitting means, and if the comparing means determines that they are the same, a reply that there is no communication error is returned;
A serial data communication device comprising: a reply unit for returning that there is a communication error if not determined to be the same.
【請求項2】前記伝送手段は、前記送信側が前記返信手
段から通信エラーがあったことを受信した場合に、再度
同一シリアルデータを伝送することを特徴とする請求項
1に記載のシリアルデータ通信装置。
2. The serial data communication according to claim 1, wherein said transmission means transmits the same serial data again when said transmission side receives a communication error from said reply means. apparatus.
【請求項3】前記送信側と受信側との通信をクロック同
期式シリアルデータ通信とし、クロック同期用信号線,
シリアルデータ通信用信号線,返信信号用信号線の3本
の信号を具備することを特徴とする請求項1に記載のシ
リアルデータ通信装置。
3. The communication between the transmission side and the reception side is clock-synchronized serial data communication, and a clock synchronization signal line,
2. The serial data communication device according to claim 1, comprising three signals of a serial data communication signal line and a reply signal signal line.
【請求項4】送信側から受信側にシリアルデータ通信を
行う際のエラーチェック方法において、送信側から受信
側に同一シリアルデータを2度伝送し、前記受信側で伝
送された2つのシリアルデータを比較し、同一であれば
通信エラーがなかったことを送信側に通知し、同一でな
ければ通信エラーがあったことを送信側に通知すること
を特徴とするシリアルデータ通信装置のエラーチェック
方法。
4. An error check method for performing serial data communication from a transmitting side to a receiving side, wherein the same serial data is transmitted twice from the transmitting side to the receiving side, and the two serial data transmitted from the receiving side are transmitted. A method for checking errors in a serial data communication device, comprising: comparing, if they are identical, notifying the transmitting side that there was no communication error; and if not, notifying the transmitting side that there has been a communication error.
【請求項5】前記通信エラーがあったことを送信側に通
知した場合に、前記送信側から再度同一シリアルデータ
を伝送し、前記受信側で該伝送されたシリアルデータと
直前のシリアルデータとを比較し、同一であれば通信エ
ラーがなかったことを送信側に通知し、同一でなければ
通信エラーがあったことを送信側に通知し、再度同一シ
リアルデータを伝送することを繰り返すことを特徴とす
る請求項4に記載のシリアルデータ通信装置のエラーチ
ェック方法。
5. When the transmitting side is notified that the communication error has occurred, the transmitting side transmits the same serial data again, and the receiving side compares the transmitted serial data with the immediately preceding serial data. If they are the same, the transmission side is notified that there is no communication error if they are not the same, the transmission side is notified that there is a communication error if they are not the same, and transmission of the same serial data is repeated again. The error checking method for a serial data communication device according to claim 4, wherein
JP08891798A 1998-04-01 1998-04-01 Serial data communication device and error checking method for serial data communication device Expired - Fee Related JP3488378B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08891798A JP3488378B2 (en) 1998-04-01 1998-04-01 Serial data communication device and error checking method for serial data communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08891798A JP3488378B2 (en) 1998-04-01 1998-04-01 Serial data communication device and error checking method for serial data communication device

Publications (2)

Publication Number Publication Date
JPH11289318A true JPH11289318A (en) 1999-10-19
JP3488378B2 JP3488378B2 (en) 2004-01-19

Family

ID=13956286

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08891798A Expired - Fee Related JP3488378B2 (en) 1998-04-01 1998-04-01 Serial data communication device and error checking method for serial data communication device

Country Status (1)

Country Link
JP (1) JP3488378B2 (en)

Also Published As

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

Similar Documents

Publication Publication Date Title
US7010612B1 (en) Universal serializer/deserializer
US4070648A (en) Computer to computer communication system
US6275526B1 (en) Serial data communication between integrated circuits
US8010860B2 (en) Method and architecture to prevent corrupt data propagation from a PCI express retry buffer
US5241549A (en) Data communications system
JPH11289318A (en) Serial data communication equipment and error check method therefor
US5928375A (en) Method for enhancing data transmission in parity based data processing systems
JPS5853249A (en) Data transmitter and receiver
JPH1131084A (en) Parity check circuit
JPH0314259B2 (en)
US6587988B1 (en) Dynamic parity inversion for I/O interconnects
JPH05316125A (en) Serial multiplex communication system
JPH04267631A (en) Parity bit addition system
JPS63314934A (en) Data transfer system
JP2874983B2 (en) Communication device
JP2555582B2 (en) CMI code error detection circuit
JPH02216522A (en) Printer with data transmission function
JPS5918897B2 (en) Transmission result determination device at transmitting station
JPS60100844A (en) Parallel communication controller
US20070204090A1 (en) Method and apparatus for routing of control lines
JP2000216759A (en) System and method for transmitting data
JPS63228837A (en) Data transmission/reception system
JPH06244822A (en) Data communication system
JPH02240753A (en) Asynchronous communication ic
JPH05300199A (en) Serial data transfer equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071031

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees