JP2001051912A - Serial data transfer system and abnormality detecting method - Google Patents

Serial data transfer system and abnormality detecting method

Info

Publication number
JP2001051912A
JP2001051912A JP11228274A JP22827499A JP2001051912A JP 2001051912 A JP2001051912 A JP 2001051912A JP 11228274 A JP11228274 A JP 11228274A JP 22827499 A JP22827499 A JP 22827499A JP 2001051912 A JP2001051912 A JP 2001051912A
Authority
JP
Japan
Prior art keywords
test
signal line
data
processing circuit
data transfer
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
JP11228274A
Other languages
Japanese (ja)
Other versions
JP3600480B2 (en
Inventor
一 ▲高▼地
Hajime Takachi
Yuichi Goto
裕一 後藤
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP22827499A priority Critical patent/JP3600480B2/en
Publication of JP2001051912A publication Critical patent/JP2001051912A/en
Application granted granted Critical
Publication of JP3600480B2 publication Critical patent/JP3600480B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent burden to a CPU or processing program and to enable even a processing circuit, in which the CPU does not exist, to detect abnormality in serial data transfer. SOLUTION: This system is provided with first and second processing circuits 100 and 200 respectively having receiving means 120 and 220 and transmitting means 110 and 220 as serial data transfer means. In this case, when performing data transfer between the transmitting means 110 of the first processing circuit 100 and the receiving means 220 of the second processing circuit 200 and between the transmitting means 210 of the second processing circuit 200 and the receiving means, 120 of the first processing circuit 100, test data transmitted from one processing circuit to be a test mode transmission side are turned with the other processing circuit to be a test mode receiving side, circulated through all signal lines and returned to one processing circuit to be the test mode transmitting side later. Thus, concerning the presence/absence of abnormality on the signal line, abnormality can be automatically detected while maintaining the direction of input/output on the signal line at the time of ordinary operation without increasing the number of signal lines or number of parts and without increasing the load of the CPU or processing program.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はシリアルデータ転送
システムおよびその異常検出方法に関し、特に、複数の
半導体集積回路の間のシリアルデータ転送における不具
合を自動検出するシリアルデータ転送システムおよびそ
の異常検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data transfer system and a method for detecting an abnormality thereof, and more particularly, to a serial data transfer system for automatically detecting a failure in serial data transfer between a plurality of semiconductor integrated circuits and a method for detecting the abnormality. .

【0002】[0002]

【従来の技術】各種の機器において、複数の処理回路,
複数の回路基板,複数の半導体集積回路などが存在して
いて、それらの間でデータ転送を行う場合には、シリア
ルデータ転送手段を使用することで配線数を削減できる
という有利がある。
2. Description of the Related Art In various devices, a plurality of processing circuits,
When there are a plurality of circuit boards, a plurality of semiconductor integrated circuits, and the like, and data is transferred between them, there is an advantage that the number of wirings can be reduced by using a serial data transfer unit.

【0003】ここで、ASICなどの処理回路がそれぞ
れ別基板上に搭載され、基板間の接続にシリアルデータ
転送を使用する場合、基板単位でそれぞれクロックに同
期してASICが動作しているケースがある。このよう
な場合には送信側は自分のクロックでデータを出力し、
受信側も自分のクロックでデータを受信する。データに
は最初にスタートビットを送り、タイミングを合わせ
る。また長時間転送を連続させると送信側と受信側との
クロックのずれが蓄積される可能性があるで、データを
8ビットなどに区切り、ストップビットを最後につけ
る。そして次のデータも最初にスタートビットを付ける
ようにする。
Here, when processing circuits such as an ASIC are mounted on separate substrates, and serial data transfer is used for connection between the substrates, there is a case where the ASIC operates in synchronization with a clock for each substrate. is there. In such a case, the transmitting side outputs data with its own clock,
The receiving side also receives data with its own clock. A start bit is first sent to the data, and the timing is adjusted. In addition, if the transfer is continued for a long time, there is a possibility that a difference in clock between the transmitting side and the receiving side may be accumulated. Then, the next data is also provided with a start bit first.

【0004】また、従来からデータ転送に関する異常検
出回路として、もっとも多く使用される方法は、送信側
がテストデータを受信側に送り、受信側はそのテストデ
ータを一旦レジスタに格納、あるいは信号処理を施し、
格納したデータあるいは信号処理を施したデータを再び
送信側に送り返すものがある。送信側では送り返された
データを検証し、送受信に異常があったかを検出する。
Conventionally, the most frequently used method for detecting an abnormality related to data transfer is that the transmitting side sends test data to the receiving side, and the receiving side temporarily stores the test data in a register or performs signal processing. ,
In some cases, the stored data or the signal-processed data is sent back to the transmitting side. The transmitting side verifies the returned data and detects whether there is an error in transmission and reception.

【0005】しかし、シリアルデータ転送で送受信エラ
ーが発生した場合、 プロトコル(データのレートも含む)上の問題なの
か、 配線(結線)上の物理的な異常なのか、を特定するの
が困難であり、多大な時間を費やすことが多かった。
However, when a transmission / reception error occurs during serial data transfer, it is difficult to determine whether the problem is a protocol (including data rate) problem or a physical abnormality in wiring (connection). Yes, they often spend a lot of time.

【0006】すなわち、送受信に問題が発生したことが
だけが判明している場合、 ・問題がソフトなのかハードなのか、 ・クロック等のラッチするための信号の微妙なずれなの
か、 ・シリアルデータのプロトコルの問題なのか、問題点を
絞り込む(切り分けを行う)のに悪戦苦闘することにな
る。
That is, if it is only known that a problem has occurred in transmission / reception, the problem is: whether the problem is soft or hard, whether the problem is a slight deviation of a signal for latching a clock, etc., serial data. This is a problem with the protocol, and struggling to narrow down (isolate) the problem.

【0007】そしていろいろな方面から検討した結果、
配線が切れていた、部品定数に間違いがあり信号が相手
ASICまで正しく転送されていなかった、といったハ
ードウェアに原因があるという結果がでることが多々あ
る。
As a result of various studies,
In many cases, the result is caused by hardware such as a broken wire, an incorrect component number, and a signal not correctly transferred to the partner ASIC.

【0008】[0008]

【発明が解決しようとする課題】以上のようなシリアル
データ転送の検査に関し、特開昭60−45858号公
報には、2つの処理回路において、一方から送信したデ
ータを受信側の回路で受信してしまわずに途中で折り返
すように制御して、送信側で異常の検出を行うものが示
されている。
As for the inspection of serial data transfer as described above, Japanese Unexamined Patent Publication No. 60-45858 discloses that in two processing circuits, data transmitted from one of them is received by a circuit on the receiving side. In this case, control is performed so as to return to the middle of the data without causing the error to be detected on the transmission side.

【0009】この技術によれば、送信側で異常検知がで
きるものの、シリアルデータ転送に使用する各線の受信
側で折り返しの制御をおこなうようにすると共に、送信
側では各線に対してテストデータを送信すると共に、テ
ストデータの受信と検査とを行う必要がある。すなわ
ち、通信要求信号の信号線,通信許可信号の信号線,デ
ータの信号線の各線について両方の処理回路で行うた
め、CPUや処理プログラムの負担も大きくなる。
According to this technique, although an abnormality can be detected on the transmission side, return control is performed on the reception side of each line used for serial data transfer, and test data is transmitted to each line on the transmission side. In addition, it is necessary to receive and inspect the test data. In other words, since each of the signal lines for the communication request signal, the signal line for the communication permission signal, and the signal line for the data is performed by both processing circuits, the load on the CPU and the processing program increases.

【0010】このため、CPUが存在していない処理回
路(半導体集積回路)では別途CPUを設ける必要があ
り、また、CPUが存在する処理回路でもその負担が大
きくなるという問題を有している。
[0010] For this reason, a processing circuit (semiconductor integrated circuit) without a CPU requires a separate CPU, and the processing circuit with a CPU also has a problem that the load is increased.

【0011】したがって、本発明は以上の課題に鑑みて
なされたものであって、CPUや処理プログラムに負担
をかけず、また、CPUが存在しない処理回路でもシリ
アルデータ転送の異常検知を実現可能なシリアルデータ
転送システムおよびその異常検出方法を実現することを
目的とする。
Accordingly, the present invention has been made in view of the above problems, and does not impose a burden on a CPU or a processing program, and can realize abnormality detection of serial data transfer even in a processing circuit having no CPU. It is an object of the present invention to realize a serial data transfer system and an abnormality detection method thereof.

【0012】[0012]

【課題を解決するための手段】以上の課題を解決する本
発明は以下に説明するものである。 (1)請求項1記載の発明は、シリアルデータ転送手段
として受信手段と送信手段とをそれぞれ有する第1の処
理回路および第2の処理回路を備え、前記第1の処理回
路の送信手段と前記第2の処理回路の受信手段との間、
および、前記第2の処理回路の送信手段と前記第1の処
理回路の受信手段と間でデータ転送をおこなうシリアル
データ転送システムにおいて、テストモード送信側とな
る一方の処理回路に、送信手段からのテストデータを通
信要求信号の信号線から送信させ、受信データの信号線
で受信したテストデータを前記受信手段に導く第1切替
手段と、通信許可信号の信号線からのテストデータを送
信データの信号線に折り返し、通信要求信号の信号線か
らのテストデータを通信許可信号の信号線に折り返す第
2切替手段と、各信号線を循環して受信したテストデー
タにより異常検出を行う検出手段と、を設け、テストモ
ード受信側となる他方の処理回路に、通信要求信号の信
号線からのテストデータを通信許可信号の信号線に折り
返し、受信データの信号線からのテストデータを通信要
求信号の信号線に折り返し、通信許可信号の信号線から
のテストデータを送信データの信号線に折り返す第3切
替手段、を設ける、ことを特徴とするシリアルデータ転
送システムである。
SUMMARY OF THE INVENTION The present invention for solving the above problems is described below. (1) The invention according to claim 1 comprises a first processing circuit and a second processing circuit each having a receiving means and a transmitting means as serial data transfer means, wherein the transmitting means of the first processing circuit and the Between the receiving means of the second processing circuit,
Also, in a serial data transfer system for performing data transfer between the transmitting means of the second processing circuit and the receiving means of the first processing circuit, one of the processing circuits on the test mode transmitting side receives the signal from the transmitting means. First switching means for transmitting test data from the signal line of the communication request signal and guiding the test data received on the signal line of the received data to the receiving means; and transmitting the test data from the signal line of the communication permission signal to the transmission data signal. A second switching unit that returns the test data from the signal line of the communication request signal to a signal line of the communication permission signal, and a detection unit that detects an abnormality based on the test data circulated through each signal line. The test data from the signal line of the communication request signal is returned to the signal line of the communication enable signal in the other processing circuit on the test mode receiving side, and the received data is A third switching means for returning test data from the signal line to a communication request signal signal line and returning test data from the communication permission signal signal line to a transmission data signal line; System.

【0013】この発明では、テストモード送信側となる
一方の処理回路から送信されたテストデータは、テスト
モード受信側となる他方の処理回路との間で折り返さ
れ、全ての信号線を経由して循環してからテストモード
送信側となる一方の処理回路に戻る。
According to the present invention, the test data transmitted from one processing circuit on the test mode transmitting side is looped back with the other processing circuit on the test mode receiving side, and is passed through all signal lines. After the circulation, the process returns to one of the processing circuits on the test mode transmitting side.

【0014】これにより、2本以上の信号線を必要とす
るシリアルデータ転送手段を有する二つの信号処理回路
のデータ転送において、その信号線上に異常があるかを
信号線数や部品点数を増やさず、CPUや処理プログラ
ムの負荷を増加させず、また通常動作時の信号線の入出
力の方向を維持したまま、異常を自動検出できる。
Thus, in data transfer of two signal processing circuits having serial data transfer means requiring two or more signal lines, it is determined whether or not there is an abnormality on the signal line without increasing the number of signal lines or the number of parts. Abnormality can be automatically detected without increasing the load on the CPU or the processing program and maintaining the input / output direction of the signal line during normal operation.

【0015】このため、CPUや処理プログラムに負担
をかけず、また、CPUが存在しない処理回路でも容易
にシリアルデータ転送の異常検知が実現可能になる。た
とえば、処理回路をASIC等の集積回路とした場合、
集積回路自体に比較的簡単なテスト回路を搭載すること
で、製品本体のコストアップや部品点数増加はない。
Therefore, no burden is placed on the CPU and the processing program, and abnormality detection of serial data transfer can be easily realized even in a processing circuit having no CPU. For example, when the processing circuit is an integrated circuit such as an ASIC,
By mounting a relatively simple test circuit on the integrated circuit itself, the cost of the product itself and the number of components are not increased.

【0016】なお、前記検出手段は、送信したテストデ
ータと受信したテストデータとの比較により異常検出を
行う。また、前記検出手段は、テストデータを送信して
から、テストデータを受信するまでの時間間隔により異
常検出を行う。
The detecting means detects an abnormality by comparing the transmitted test data with the received test data. Further, the detection means performs abnormality detection at a time interval from the transmission of the test data to the reception of the test data.

【0017】また、テストモードに設定するモード設定
手段と、テストモードに設定されているかを判別するモ
ード判別手段を備え、前記モード判別手段の判別結果に
より、前記第1切替手段,前記第2切替手段および前記
第3切替手段の信号伝達状態が切り替わる、ようにする
ことが可能である。
The apparatus further comprises mode setting means for setting a test mode, and mode discriminating means for discriminating whether or not the test mode has been set. Means and the signal transmission state of the third switching means can be switched.

【0018】また、前記モード設定手段は、システムの
電源投入時から一定時間はテストモードの設定を行う、
ことが望ましい。また、前記モード設定手段は、前記検
出手段により異常が検出されなかった場合に、テストモ
ード送信側とテストモード受信側を入れ替える、ことが
望ましい。
The mode setting means sets a test mode for a certain period of time after the system is turned on.
It is desirable. Further, it is preferable that the mode setting means switches between a test mode transmitting side and a test mode receiving side when no abnormality is detected by the detecting means.

【0019】また、時間計測手段を備え、前記モード設
定手段は、前記時間計測手段の計測結果に基づいて、テ
ストモード送信側とテストモード受信側を入れ替える、
ことが望ましい。
[0019] Further, there is provided time measuring means, wherein the mode setting means switches between a test mode transmitting side and a test mode receiving side based on the measurement result of the time measuring means.
It is desirable.

【0020】(2)請求項8記載の発明は、シリアルデ
ータ転送手段として受信手段と送信手段とをそれぞれ有
する第1の処理回路および第2の処理回路を備え、前記
第1の処理回路の送信手段と前記第2の処理回路の受信
手段との間、および、前記第2の処理回路の送信手段と
前記第1の処理回路の受信手段と間でデータ転送をおこ
なうシリアルデータ転送システムでの異常を検出する異
常検出方法であって、いずれか一方の処理回路をテスト
モード送信側、他方の処理回路をテストモード受信側と
設定し、テストモード送信側では送信手段からのテスト
データを通信要求信号の信号線から送信させ、テストモ
ード受信側では通信要求信号の信号線からのテストデー
タを通信許可信号の信号線に折り返し、テストモード送
信側では通信許可信号の信号線からのテストデータをデ
ータの信号線に折り返し、テストモード受信側ではデー
タの信号線からのテストデータを通信要求信号の信号線
に折り返し、テストモード送信側では通信要求信号の信
号線からのテストデータを通信許可信号の信号線に折り
返し、テストモード受信側では通信許可信号の信号線か
らのテストデータをデータの信号線に折り返し、テスト
モード送信側でデータの信号線で受信したテストデータ
を受信手段に導くと共に、送信したテストデータと受信
したテストデータとの比較により異常検出を行う、こと
を特徴とするシリアルデータ転送システムの異常検出方
法である。
(2) The invention according to claim 8 is provided with a first processing circuit and a second processing circuit each having a receiving means and a transmitting means as serial data transfer means, and transmitting the first processing circuit. Abnormality in the serial data transfer system for performing data transfer between the means and the receiving means of the second processing circuit and between the transmitting means of the second processing circuit and the receiving means of the first processing circuit. A method for setting one of the processing circuits as a test mode transmitting side and setting the other processing circuit as a test mode receiving side, and the test mode transmitting side transmits test data from the transmitting means to a communication request signal. The test mode receiving side returns test data from the communication request signal signal line to the communication permission signal signal line, and the test mode transmission side transmits communication. The test data from the test mode receiving side is folded back to the communication request signal signal line, and the test mode transmitting side is folded to the communication request signal signal line. The test data from the test mode is returned to the signal line of the communication permission signal, the test mode receiving side returns the test data from the signal line of the communication permission signal to the data signal line, and the test mode transmitting side receives the data on the data signal line. An abnormality detection method for a serial data transfer system, wherein data is guided to a receiving unit and abnormality is detected by comparing transmitted test data with received test data.

【0021】この発明では、テストモード送信側となる
一方の処理回路から送信されたテストデータは、テスト
モード受信側となる他方の処理回路との間で折り返さ
れ、全ての信号線を経由して循環してからテストモード
送信側となる一方の処理回路に戻る。
According to the present invention, the test data transmitted from one processing circuit on the test mode transmitting side is looped back to the other processing circuit on the test mode receiving side, and is passed through all signal lines. After the circulation, the process returns to one of the processing circuits on the test mode transmitting side.

【0022】これにより、2本以上の信号線を必要とす
るシリアルデータ転送手段を有する二つの信号処理回路
のデータ転送において、その信号線上に異常があるかを
信号線数や部品点数を増やさず、CPUや処理プログラ
ムの負荷を増加させず、また通常動作時の信号線の入出
力の方向を維持したまま、異常を自動検出できる。
Thus, in data transfer of two signal processing circuits having serial data transfer means requiring two or more signal lines, it is possible to determine whether there is an abnormality on the signal line without increasing the number of signal lines or the number of parts. Abnormality can be automatically detected without increasing the load on the CPU or the processing program and maintaining the input / output direction of the signal line during normal operation.

【0023】このため、CPUや処理プログラムに負担
をかけず、また、CPUが存在しない処理回路でも容易
にシリアルデータ転送の異常検知が実現可能になる。
For this reason, no burden is imposed on the CPU and the processing program, and an abnormality in serial data transfer can be easily detected even in a processing circuit having no CPU.

【0024】[0024]

【発明の実施の形態】以下に、本発明の実施の形態例を
詳細に説明する。図1は本発明の実施の形態例のシリア
ルデータ転送システムの基本的な詳細構成を示すブロッ
ク図である。また、図2はシリアルデータ転送システム
の基本的な概略構成を示すブロック図である。
Embodiments of the present invention will be described below in detail. FIG. 1 is a block diagram showing a basic detailed configuration of a serial data transfer system according to an embodiment of the present invention. FIG. 2 is a block diagram showing a basic schematic configuration of the serial data transfer system.

【0025】ここでは、シリアルデータ転送回路100
とシリアルデータ転送回路200とから構成されるシリ
アルデータ転送システムの一例を示す。まず、図2によ
り、全体の概略構成を説明する。
Here, the serial data transfer circuit 100
1 shows an example of a serial data transfer system including a serial data transfer circuit 200 and a serial data transfer circuit 200. First, the overall schematic configuration will be described with reference to FIG.

【0026】本実施の形態例では、シリアルデータ転送
回路100とシリアルデータ転送回路200とは略同一
の回路構成になっており、シリアルデータ転送回路10
0、シリアルデータ転送回路200は、それぞれ独立し
た処理回路であり、ASIC等の半導体集積回路などで
構成される。そして、それぞれ、データ送信を行う送信
手段110,210、データ受信を行う受信手段12
0,220、送受信以外の各種の機能を実現するための
別機能回路190,290を備えている。
In this embodiment, the serial data transfer circuit 100 and the serial data transfer circuit 200 have substantially the same circuit configuration.
0, the serial data transfer circuit 200 is an independent processing circuit, and is configured by a semiconductor integrated circuit such as an ASIC. The transmitting means 110 and 210 for transmitting data and the receiving means 12 for receiving data, respectively.
0, 220, and separate function circuits 190, 290 for realizing various functions other than transmission and reception.

【0027】つぎに、図1を参照して送受信に関する詳
細な回路構成を説明する。この図1では、シリアルデー
タ転送回路100とシリアルデータ転送回路200とは
同一の回路構成になっている場合を示している。なお、
シリアルデータ転送回路100、シリアルデータ転送回
路200は、それぞれ独立した処理回路であり、ASI
C等の半導体集積回路などで構成される。
Next, a detailed circuit configuration relating to transmission and reception will be described with reference to FIG. FIG. 1 shows a case where the serial data transfer circuit 100 and the serial data transfer circuit 200 have the same circuit configuration. In addition,
The serial data transfer circuit 100 and the serial data transfer circuit 200 are independent processing circuits.
It is composed of a semiconductor integrated circuit such as C.

【0028】まず、シリアルデータ転送回路100の内
部構成について説明する。なお、シリアルデータ転送回
路200については、シリアルデータ転送回路100と
同一構成であるので詳細説明は省略する。
First, the internal configuration of the serial data transfer circuit 100 will be described. Since the serial data transfer circuit 200 has the same configuration as the serial data transfer circuit 100, detailed description will be omitted.

【0029】なお、この実施の形態例の説明では、シリ
アルデータ転送回路100がテストモード送信側となる
一方の処理回路、シリアルデータ転送回路200がテス
トモード受信側となる他方の処理回路、となっている場
合を例にして説明を行う。
In the description of this embodiment, the serial data transfer circuit 100 is one processing circuit on the test mode transmitting side, and the serial data transfer circuit 200 is the other processing circuit on the test mode receiving side. The description will be made by taking the case of the case as an example.

【0030】送信手段110は、通常時には通信要求信
号(RTS)をSREQ端子より送信し、これに対する通信許
可信号(CTS)をSACK端子で相手側より受信した場合
に、送信データ(TxD)をSDATA端子より送信するもので
ある。なお、本実施の形態例の特徴として、テストモー
ド時には送信手段110内のテストデータ送信部111
よりテストデータの送信を行う。
Normally, the transmitting means 110 transmits a communication request signal (RTS) from the SREQ terminal, and transmits a transmission data (TxD) to the SDATA terminal when a communication permission signal (CTS) corresponding thereto is received from the other side at the SACK terminal. It is transmitted from the terminal. A feature of this embodiment is that the test data transmitting unit 111 in the transmitting unit 110 is in the test mode.
More test data is transmitted.

【0031】受信手段120は、通常時には通信要求信
号(RTS)をMREQ端子で受信した場合にこれに対する通
信許可信号(CTS)をMACK端子より送信し、相手側から
の送信データを受信データ(RxD)としてMDATA端子で受
信するものである。なお、本実施の形態例の特徴とし
て、テストモード時には受信手段120内のテストデー
タ比較部121で受信したテストデータの比較を行う。
Normally, when the communication request signal (RTS) is received at the MREQ terminal, the receiving means 120 transmits a communication permission signal (CTS) corresponding to the communication request signal (RTS) from the MACK terminal, and transmits the transmission data from the other party to the reception data (RxD ) Is received at the MDATA terminal. Note that as a feature of the present embodiment, in the test mode, the test data received by the test data comparison unit 121 in the receiving unit 120 is compared.

【0032】131はテストモードの設定とテストモー
ド送信側かテストモード受信側かを処理回路に知らせる
ためのモード信号を受けて、その結果を送信手段110
と受信手段120とに伝達する論理回路である。なお、
この実施の形態例では、テストA=Lで通常モード,テ
ストA=Hでテストモードになり、テストA=H,テス
トB=Hでテストモード送信側,テストA=H,テスト
B=Lでテストモード受信側になる。
A receiving unit 131 receives a mode signal for setting the test mode and informing the processing circuit whether the test mode is on the transmitting side or on the receiving side of the test mode.
And a receiving circuit 120. In addition,
In this embodiment, when the test A = L, the normal mode is set, and when the test A = H, the test mode is set. When the test A = H and the test B = H, the test mode is transmitted. When the test A = H and the test B = L, the test mode is set. Become a test mode receiver.

【0033】141は第1切替手段としてのセレクタで
あり、テストモード時のテストモード送信側では送信手
段110からのテストデータを通信要求信号(RTS)送
出用のSREQ端子に接続された信号線から送信させ、受信
データ(RxD)用の信号線で受信したテストデータを受
信手段120に導く。
Reference numeral 141 denotes a selector as first switching means. On the test mode transmitting side in the test mode, test data from the transmitting means 110 is transmitted from a signal line connected to a SREQ terminal for transmitting a communication request signal (RTS). The test data transmitted through the reception data (RxD) signal line is guided to the reception unit 120.

【0034】142は第1切替手段としてのセレクタで
あり、テストモード時にはセレクタ141を通過した送
信手段110からのテストデータを通信要求信号(RT
S)送出用のSREQ端子に接続された信号線から送信さ
せ、通常時は送信手段110からの通信要求信号(RT
S)をSREQ端子に接続された信号線から送信させる。
Reference numeral 142 denotes a selector as first switching means. In the test mode, test data from the transmission means 110 passing through the selector 141 is transmitted to a communication request signal (RT
S) The signal is transmitted from the signal line connected to the SREQ terminal for transmission, and the communication request signal (RT
S) is transmitted from the signal line connected to the SREQ terminal.

【0035】143は第2切替手段としてのセレクタで
あり、テストモード時には相手の処理回路からの通信許
可信号(CTS)受信用のSACK端子に接続された信号線で
受信されて振り分け用の論理回路162を通過したテス
トデータを、通常時には送信手段110からの送信デー
タ(TxD)を、送信データ(TxD)用のSDATA端子に接続
された信号線から送信させる。この場合、論理回路16
2とセレクタ143が折り返し手段を構成している。
Reference numeral 143 denotes a selector as second switching means. In the test mode, a logic circuit for receiving and distributing a signal received from a signal processing circuit connected to the SACK terminal for receiving a communication enable signal (CTS) from the other processing circuit. The test data that has passed through 162 and the transmission data (TxD) from the transmission unit 110 are transmitted from the signal line connected to the SDATA terminal for the transmission data (TxD) at normal times. In this case, the logic circuit 16
2 and the selector 143 constitute a folding means.

【0036】144は第2切替手段としてのセレクタで
あり、テストモード時には相手の処理回路からの通信要
求信号(RTS)受信用のMREQ端子に接続された信号線で
受信されて振り分け用の論理回路164を通過したテス
トデータを、通常時には受信手段120からの通信許可
信号(CTS)を、通信許可信号(CTS)用のMACK端子に接
続された信号線から送信させる。この場合、論理回路1
64とセレクタ144が折り返し手段を構成している。
Reference numeral 144 denotes a selector as second switching means. In the test mode, a logic circuit for receiving and allocating a communication request signal (RTS) from the other processing circuit via a signal line connected to the MREQ terminal for receiving the signal is used. The test data that has passed through 164 is normally transmitted with a communication permission signal (CTS) from the receiving means 120 from a signal line connected to the MACK terminal for the communication permission signal (CTS). In this case, the logic circuit 1
The selector 64 and the selector 144 constitute a folding means.

【0037】161と162とはテストモード時のテス
トデータと通常時の通信許可信号とを振り分ける論理回
路である。163と164とはテストモード時のテスト
データと通常時の通信要求信号とを振り分ける論理回路
である。151〜156は各端子を通過するデータを増
幅するバッファアンプである。
Reference numerals 161 and 162 denote logic circuits for distributing test data in a test mode and a communication permission signal in a normal state. 163 and 164 are logic circuits for distributing test data in a test mode and a communication request signal in a normal state. Reference numerals 151 to 156 denote buffer amplifiers that amplify data passing through each terminal.

【0038】また、テストモード受信側に設定されたシ
リアルデータ転送回路200の各セレクタは、請求項に
おける第3切替手段を構成している。なお、以上の各セ
レクタは、印加されるテストAまたはテストBがHの場
合にはH側の入力が出力され、印加されるテストAまた
はテストBがLの場合にはHとは逆の側の入力が出力さ
れるように構成されている。
Each selector of the serial data transfer circuit 200 set on the test mode receiving side constitutes a third switching means. Each of the above selectors outputs an input on the H side when the applied test A or test B is H, and outputs the input on the opposite side to H when the applied test A or test B is L. Is configured to be output.

【0039】以下、図1のシリアルデータ転送システム
のエラー検出についての動作説明を行う。ここでは、シ
リアルデータ転送回路100にはテストA=H,テスト
B=Hが印加されることでテストモード送信側に設定さ
れ、シリアルデータ転送回路200にはテストA=H,
テストB=Lが印加されることでテストモード受信側に
設定された場合を考える。
The operation of the serial data transfer system of FIG. 1 for error detection will be described below. Here, test A = H and test B = H are applied to the serial data transfer circuit 100 to set the test mode transmitting side, and the serial data transfer circuit 200 sets the test A = H,
It is assumed that the test mode is set to the test mode receiving side by applying the test B = L.

【0040】この場合、アンド論理の論理回路131に
は両入力にHが印加されるため、その出力はHになる。
そして、この論理回路131の出力Hがテストデータ送
信部111に印加されるため、テストデータ送信部11
1はテストデータを出力する。また、この論理回路13
1の出力Hがテストデータ比較部121に印加されるた
め、テストデータ比較部121はテストデータを受信し
た場合には比較を行う準備をしている。
In this case, since H is applied to both inputs to the AND logic circuit 131, its output becomes H.
Since the output H of the logic circuit 131 is applied to the test data transmission unit 111, the test data transmission unit 11
1 outputs test data. The logic circuit 13
Since the output H of 1 is applied to the test data comparing unit 121, the test data comparing unit 121 is preparing to perform the comparison when receiving the test data.

【0041】テストデータ送信部111からのテストデ
ータは、通常の送信データと同様に送信手段110デー
タ端子から出力される。このテストデータは、セレクタ
141とセレクタ142とを通過し(図3ア)、通信要
求信号送出用のSREQ端子に接続された信号線を経由して
シリアルデータ転送回路200に向かう(図3イ)。
The test data from the test data transmitting section 111 is output from the data terminal of the transmitting means 110 in the same manner as normal transmission data. This test data passes through the selector 141 and the selector 142 (FIG. 3A), and goes to the serial data transfer circuit 200 via a signal line connected to the SREQ terminal for transmitting a communication request signal (FIG. 3A). .

【0042】シリアルデータ転送回路100からの通信
要求信号受信用のMREQ端子に接続された信号線で受信さ
れたテストデータは、アクティブになっている振り分け
用の論理回路264を通過し、セレクタ244で折り返
されて(図3ウ)、通信許可信号用のMACK端子に接続さ
れた信号線から再びシリアルデータ転送回路100に向
けて送信される(図3エ)。
The test data received on the signal line connected to the MREQ terminal for receiving the communication request signal from the serial data transfer circuit 100 passes through the active distribution logic circuit 264, and is transmitted to the selector 244. The signal is looped back (FIG. 3C) and transmitted again to the serial data transfer circuit 100 from the signal line connected to the communication permission signal MACK terminal (FIG. 3D).

【0043】シリアルデータ転送回路200からの通信
許可信号受信用のSACK端子に接続された信号線で受信さ
れたテストデータは、アクティブになっている振り分け
用の論理回路162を通過し、セレクタ143で折り返
されて(図3オ)、送信データ用のSDATA端子に接続さ
れた信号線から再びシリアルデータ転送回路200に向
けて送信される(図3カ)。
The test data received from the serial data transfer circuit 200 through the signal line connected to the SACK terminal for receiving the communication permission signal passes through the active distribution logic circuit 162, and is supplied to the selector 143. It is folded back (FIG. 3E) and transmitted again from the signal line connected to the transmission data SDATA terminal to the serial data transfer circuit 200 (FIG. 3F).

【0044】シリアルデータ転送回路100からの送信
データ用のMDATA端子に接続された信号線で受信された
テストデータは、セレクタ241とセレクタ242とで
折り返されて(図3キ)、通信要求信号用のSREQ端子に
接続された信号線から再びシリアルデータ転送回路10
0に向けて送信される(図3ク)。
The test data received from the serial data transfer circuit 100 via the signal line connected to the transmission data MDATA terminal is turned back by the selector 241 and the selector 242 (FIG. 3G), and the communication request signal is transmitted. From the signal line connected to the SREQ terminal of the serial data transfer circuit 10 again.
0 is transmitted (FIG. 3C).

【0045】シリアルデータ転送回路200からの通信
要求信号受信用のMREQ端子に接続された信号線で受信さ
れたテストデータは、アクティブになっている振り分け
用の論理回路164を通過し、セレクタ144で折り返
されて(図3ケ)、通信許可信号用のMACK端子に接続さ
れた信号線から再びシリアルデータ転送回路200に向
けて送信される(図3コ)。
The test data received by the signal line connected to the MREQ terminal for receiving the communication request signal from the serial data transfer circuit 200 passes through the active distribution logic circuit 164, and is output by the selector 144. It is looped back (FIG. 3) and transmitted again to the serial data transfer circuit 200 from the signal line connected to the communication permission signal MACK terminal (FIG. 3).

【0046】シリアルデータ転送回路100からの通信
許可信号受信用のSACK端子に接続された信号線で受信さ
れたテストデータは、アクティブになっている振り分け
用の論理回路262を通過し、セレクタ243で折り返
されて(図3サ)、送信データ用のSDATA端子に接続さ
れた信号線から再びシリアルデータ転送回路100に向
けて送信される(図3シ)。
The test data received from the serial data transfer circuit 100 through the signal line connected to the SACK terminal for receiving the communication permission signal passes through the active distribution logic circuit 262, and is supplied to the selector 243. The signal is looped back (FIG. 3C) and transmitted again from the signal line connected to the SDATA terminal for transmission data to the serial data transfer circuit 100 (FIG. 3C).

【0047】シリアルデータ転送回路200からの送信
データ用のMDATA端子に接続された信号線で受信された
テストデータは、セレクタ241は通過せず、受信手段
120のデータ端子で受信される(図3ス)。
The test data received from the serial data transfer circuit 200 via the signal line connected to the transmission data MDATA terminal does not pass through the selector 241 and is received at the data terminal of the receiving means 120 (FIG. 3). S).

【0048】すなわち、シリアルデータ転送回路100
から送信されたテストデータが、シリアル転送に使用さ
れる全ての信号線を循環して再びシリアルデータ転送回
路100に戻ってくる。
That is, the serial data transfer circuit 100
The test data transmitted from the controller circulates through all signal lines used for serial transfer and returns to the serial data transfer circuit 100 again.

【0049】この時点で、テストデータ比較部121に
おいて、送信手段110から送信したテストデータと、
循環して受信手段120に届いたテストデータとの内容
の比較を行う。
At this point, the test data comparing unit 121 compares the test data transmitted from the transmitting unit 110 with
The contents are compared with the test data circulating and reaching the receiving means 120.

【0050】このようにして比較を行った結果、送信し
たテストデータと受信したテストデータとが一致すれば
信号線は正常である(異常なし)と判定する。この場合
には、テストモードを終了して通常モードに移行すれば
よい。
As a result of the comparison, if the transmitted test data matches the received test data, it is determined that the signal line is normal (no abnormality). In this case, the test mode may be ended and shifted to the normal mode.

【0051】また、比較結果が一致しなければ、いずれ
かの信号線に異常有りと判定する。なお、異常有りの場
合には、その結果をシステムのCPUや表示手段などに
伝達することが望ましい。
If the comparison results do not match, it is determined that any of the signal lines is abnormal. In the case where there is an abnormality, it is desirable to transmit the result to a CPU or a display unit of the system.

【0052】また、シリアルデータ転送回路100内に
時間計測手段(図示せず)を備えておいて、テストデー
タを送信してから、テストデータを受信するまでの時間
間隔の値により異常検出を行うことも可能である。これ
により、未結線を検出できる。なお、比較結果が一致し
ない場合の異常とテストデータが戻ってこない異常とを
区別してCPUや表示手段に伝達することが望ましい。
Further, a time measuring means (not shown) is provided in the serial data transfer circuit 100, and abnormality is detected based on a value of a time interval from transmission of test data to reception of the test data. It is also possible. As a result, an unconnected state can be detected. It is desirable that the abnormality when the comparison result does not match and the abnormality in which the test data does not return be distinguished and transmitted to the CPU or the display means.

【0053】これにより、2本以上の信号線を必要とす
るシリアルデータ転送手段を有する二つの信号処理回路
のデータ転送において、その信号線上に異常があるかを
信号線数や部品点数を増やさず、CPUや処理プログラ
ムの負荷を増加させず、また通常動作時の信号線の入出
力の方向を維持したまま、異常を自動検出できる。
Thus, in data transfer of two signal processing circuits having serial data transfer means requiring two or more signal lines, it is determined whether or not there is an abnormality on the signal line without increasing the number of signal lines or the number of parts. Abnormality can be automatically detected without increasing the load on the CPU or the processing program and maintaining the input / output direction of the signal line during normal operation.

【0054】このため、CPUや処理プログラムに負担
をかけず、また、CPUが存在しない処理回路でも容易
にシリアルデータ転送の異常検知が実現可能になる。た
とえば、処理回路をASIC等の集積回路とした場合、
集積回路自体に比較的簡単なテスト回路を搭載すること
で、製品本体のコストアップや部品点数増加はない。
For this reason, it is possible to easily detect an abnormality in serial data transfer without imposing a burden on the CPU or the processing program, and even in a processing circuit having no CPU. For example, when the processing circuit is an integrated circuit such as an ASIC,
By mounting a relatively simple test circuit on the integrated circuit itself, the cost of the product itself and the number of components are not increased.

【0055】なお、テストデータとしては、図4に示す
ようなスタートビットとストップビットを備えた1バイ
トデータ、あるいは、ブロック転送(1バイトデータを
数バイトと順番に連続して転送し、この場合は最初の1
バイト目にテストデータであることを示す情報にする)
として、受信したテストデータをテストデータ比較部1
21において偶発的な一致により異常なしとの判断がく
だされないようにすることが望ましい。
As test data, 1-byte data having a start bit and a stop bit as shown in FIG. 4 or block transfer (1 byte data is successively transferred to several bytes in order, in this case, Is the first one
(Information indicating test data in byte)
The test data received by the test data comparing unit 1
It is desirable that the judgment that there is no abnormality be given by accidental matching at 21.

【0056】また、テストAとテストBとを切り替え
て、テストモード送信側とテストモード受信側とを逆に
することも可能である。また、各シリアルデータ転送回
路間の配線数が奇数の場合は、シリアルデータ転送回路
100が送信側になり1往復チェックし、その後シリア
ルデータ転送回路200が送信側になり1往復チェック
すればよい。これにより、2重にチェックする配線が存
在することになるが、奇数の信号線についてもテストが
可能になる。
It is also possible to switch between test A and test B so that the test mode transmitting side and the test mode receiving side are reversed. When the number of wires between the serial data transfer circuits is odd, the serial data transfer circuit 100 may be on the transmission side and perform one round trip check, and then the serial data transfer circuit 200 may be on the transmission side and perform one round trip check. As a result, although there are wirings to be double-checked, a test can be performed on an odd number of signal lines.

【0057】また、いずれか一方からのテストにより異
常が検出されなかった場合に、テストモード送信側とテ
ストモード受信側を入れ替える、ことも望ましい。さら
に、時間計測手段を備え、前記モード設定手段は、前記
時間計測手段の計測結果に基づいて、テストモード送信
側とテストモード受信側を入れ替える、ことも望まし
い。これらの場合、テストモード送信側になる場合に
は、時間計測に一定のマージンを持たせることが望まし
い。
It is also desirable to replace the test mode transmitting side with the test mode receiving side when no abnormality is detected in any one of the tests. Further, it is preferable that the apparatus further comprises a time measuring means, and wherein the mode setting means interchanges the test mode transmitting side and the test mode receiving side based on the measurement result of the time measuring means. In these cases, when the transmission side is the test mode transmission side, it is desirable to give a certain margin to the time measurement.

【0058】なお、以上の動作で、システムの電源投入
時から一定時間はテストモードの設定を行う、ことが望
ましい。これにより、電源投入のたびに自動的に信号線
のテストが可能になる。そして、一定時間経過後に通常
モードに移行させる。
In the above operation, it is desirable to set the test mode for a certain period of time after the system is turned on. This makes it possible to automatically test the signal lines each time the power is turned on. After a lapse of a certain time, the mode is shifted to the normal mode.

【0059】また、シリアルデータ転送回路100とシ
リアルデータ転送回路200とで電源投入のタイミング
が異なる場合には、テストモード送信側でマージンを考
えて、一定時間経過後にテストデータの送信を開始する
ことが望ましい。
When the power-on timing is different between the serial data transfer circuit 100 and the serial data transfer circuit 200, the test mode transmission side should start the test data transmission after a lapse of a certain time in consideration of a margin. Is desirable.

【0060】なお、以上の各場合に、時間計測手段を持
たない場合には、外部に切替指示手段を設けることで対
処することができる。また、以上の各場合に、信号線の
配線が交差していてテストデータ送信部111からの送
信データがテストデータ比較部121に届いてしまう場
合には、異常を検知することができない。このような異
常を検知するためには、テストデータを1往復ずつ順番
にチェックできるような形のセレクタを設ければよい。
この場合には、1往復で異常がなければ、次の1往復、
あるいは最初の1往復と次の1往復とを加えた2往復、
というようにすればよい。
In each of the above cases, when the time measuring means is not provided, it can be dealt with by providing a switching instruction means externally. In each of the above cases, if the transmission lines from the test data transmission unit 111 reach the test data comparison unit 121 due to the intersection of the signal lines, an abnormality cannot be detected. In order to detect such an abnormality, it is sufficient to provide a selector capable of sequentially checking the test data one by one.
In this case, if there is no abnormality in one round trip, the next one round trip,
Or two reciprocations, the first one reciprocation and the next one reciprocation,
What should I do?

【0061】以上のような本実施の形態例により、各種
の機器において、複数の処理回路,複数の回路基板,複
数の半導体集積回路などが存在していて、それらの間で
データ転送を行う場合に、配線上のさまざまな検証が可
能になる。
According to the present embodiment as described above, in a case where a plurality of processing circuits, a plurality of circuit boards, a plurality of semiconductor integrated circuits, and the like exist in various devices and data transfer is performed between them. In addition, various verifications on wiring become possible.

【0062】配線が切れている この場合、送信側からのテストデータがいっまで経って
も、送信側のテストデータ比較部に送られてこないこと
になる。受信する際にはスタートビットを検出してから
データを読み取るので、スタートビットがなければ、配
線が切れているなどの配線ミスがあることになる。
In this case, even if the test data from the transmitting side has passed through, the test data is not sent to the test data comparing section on the transmitting side. When receiving, the data is read after detecting the start bit, and if there is no start bit, there is a wiring error such as a broken wire.

【0063】配線が交差している この場合、図1の回路であるとテストモード送信側から
のテストデータはテストデータ比較部121に戻ってく
ることになる。よって上述したように1往復ずつチェッ
クするセレクタを設けることにより交差しているという
異常も検出可能になる。
In this case, the test data from the test mode transmitting side returns to the test data comparing unit 121 in the circuit of FIG. Therefore, as described above, by providing the selector for checking one reciprocation at a time, it is possible to detect the abnormality of the intersection.

【0064】配線上の部品定数ミス たとえば、コンデンサの定数を間違え、信号波形が読み
取れないほど鈍ってしまっている(信号劣化)場合、テ
ストモード送信側が自分自身で出力したテストデータを
読み取れなくなり、テストデータ比較部121でエラー
となる。逆に、テストデータ比較部121で一致が確認
できれば、配線上の部品定数は送受信に関して問題ない
範囲であると判断することができる。
For example, if the capacitor constant is incorrect and the signal waveform is dull enough to be unreadable (signal degradation), the test mode transmitting side cannot read the test data output by itself, and An error occurs in the data comparison unit 121. Conversely, if the test data comparison unit 121 confirms a match, it can be determined that the component constants on the wiring are within a range in which there is no problem with transmission and reception.

【0065】[0065]

【発明の効果】以上詳細に説明したように、以下のよう
な効果が得られる。本発明では、テストモード送信側と
なる一方の処理回路から送信されたテストデータは、テ
ストモード受信側となる他方の処理回路との間で折り返
され、全ての信号線を経由して循環してからテストモー
ド送信側となる一方の処理回路に戻る。
As described in detail above, the following effects can be obtained. In the present invention, the test data transmitted from one processing circuit serving as the test mode transmitting side is turned back between the other processing circuit serving as the test mode receiving side and circulated through all the signal lines. To return to one of the processing circuits on the test mode transmitting side.

【0066】これにより、2本以上の信号線を必要とす
るシリアルデータ転送手段を有する二つの信号処理回路
のデータ転送において、その信号線上に異常があるかを
信号線数や部品点数を増やさず、CPUや処理プログラ
ムの負荷を増加させず、また通常動作時の信号線の入出
力の方向を維持したまま、異常を自動検出できる。
Thus, in the data transfer of two signal processing circuits having serial data transfer means requiring two or more signal lines, it is determined whether or not there is an abnormality on the signal line without increasing the number of signal lines or the number of parts. Abnormality can be automatically detected without increasing the load on the CPU or the processing program and maintaining the input / output direction of the signal line during normal operation.

【0067】このため、CPUや処理プログラムに負担
をかけず、また、CPUが存在しない処理回路でも容易
にシリアルデータ転送の異常検知が実現可能になる。た
とえば、処理回路をASIC等の集積回路とした場合、
集積回路自体に比較的簡単なテスト回路を搭載すること
で、製品本体のコストアップや部品点数増加はない。
For this reason, no burden is imposed on the CPU or the processing program, and an abnormality in serial data transfer can be easily detected even in a processing circuit having no CPU. For example, when the processing circuit is an integrated circuit such as an ASIC,
By mounting a relatively simple test circuit on the integrated circuit itself, the cost of the product itself and the number of components are not increased.

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

【図1】本発明の実施の形態例のシリアルデータ転送シ
ステムの構成や接続状態を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a configuration and a connection state of a serial data transfer system according to an embodiment of the present invention.

【図2】本発明の実施の形態例のシリアルデータ転送シ
ステムの構成や接続状態を示す機能ブロック図である。
FIG. 2 is a functional block diagram illustrating a configuration and a connection state of a serial data transfer system according to an embodiment of the present invention.

【図3】本発明の実施の形態例のシリアルデータ転送シ
ステムの動作状態を示す機能ブロック図である。
FIG. 3 is a functional block diagram showing an operation state of the serial data transfer system according to the embodiment of the present invention.

【図4】本発明の実施の形態例で使用するテストデータ
の様子を模式的に示す説明図である。
FIG. 4 is an explanatory diagram schematically showing a state of test data used in the embodiment of the present invention.

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

100 シリアルデータ転送回路 110 送信手段 111 テストデータ送信部 120 受信手段 121 テストデータ比較部 200 シリアルデータ転送回路 210 送信手段 211 テストデータ送信部 220 受信手段 221 テストデータ比較部 REFERENCE SIGNS LIST 100 serial data transfer circuit 110 transmitting means 111 test data transmitting section 120 receiving means 121 test data comparing section 200 serial data transferring circuit 210 transmitting means 211 test data transmitting section 220 receiving means 221 test data comparing section

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B083 AA04 BB06 CC06 DD09 DD10 DD11 DD14 EE11 EE16 GG08 GG09 5K035 AA02 AA04 EE02 GG02 GG06 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B083 AA04 BB06 CC06 DD09 DD10 DD11 DD14 EE11 EE16 GG08 GG09 5K035 AA02 AA04 EE02 GG02 GG06

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 シリアルデータ転送手段として受信手段
と送信手段とをそれぞれ有する第1の処理回路および第
2の処理回路を備え、前記第1の処理回路の送信手段と
前記第2の処理回路の受信手段との間、および、前記第
2の処理回路の送信手段と前記第1の処理回路の受信手
段と間でデータ転送をおこなうシリアルデータ転送シス
テムにおいて、 テストモード送信側となる一方の処理回路に、 送信手段からのテストデータを通信要求信号の信号線か
ら送信させ、受信データの信号線で受信したテストデー
タを前記受信手段に導く第1切替手段と、 通信許可信号の信号線からのテストデータを送信データ
の信号線に折り返し、通信要求信号の信号線からのテス
トデータを通信許可信号の信号線に折り返す第2切替手
段と、 各信号線を循環して受信したテストデータにより異常検
出を行う検出手段と、を設け、 テストモード受信側となる他方の処理回路に、 通信要求信号の信号線からのテストデータを通信許可信
号の信号線に折り返し、受信データの信号線からのテス
トデータを通信要求信号の信号線に折り返し、通信許可
信号の信号線からのテストデータを送信データの信号線
に折り返す第3切替手段、を設ける、ことを特徴とする
シリアルデータ転送システム。
A first processing circuit and a second processing circuit each having a receiving means and a transmitting means as serial data transfer means, wherein a transmitting means of the first processing circuit and a second processing circuit of the second processing circuit are provided. In a serial data transfer system for performing data transfer between a receiving unit and a transmitting unit of the second processing circuit and a receiving unit of the first processing circuit, one of the processing circuits serving as a test mode transmitting side First switching means for transmitting test data from a transmission means through a signal line of a communication request signal, and leading test data received through a signal line of reception data to the reception means; and a test from a signal line of a communication permission signal. Second switching means for returning the data to the transmission data signal line and returning the test data from the communication request signal signal line to the communication permission signal signal line, and circulating through each signal line Detecting means for detecting an abnormality based on the received test data, and returning the test data from the signal line of the communication request signal to the signal line of the communication permission signal in the other processing circuit on the test mode receiving side, and receiving the test data. A serial switching means for returning test data from a data signal line to a communication request signal signal line and returning test data from a communication permission signal signal line to a transmission data signal line; Data transfer system.
【請求項2】 前記検出手段は、送信したテストデータ
と受信したテストデータとの比較により異常検出を行
う、ことを特徴とする請求項1記載のシリアルデータ転
送システム。
2. The serial data transfer system according to claim 1, wherein said detecting means detects an abnormality by comparing the transmitted test data with the received test data.
【請求項3】 前記検出手段は、テストデータを送信し
てから、テストデータを受信するまでの時間間隔により
異常検出を行う、ことを特徴とする請求項1または請求
項2のいずれかに記載のシリアルデータ転送システム。
3. The apparatus according to claim 1, wherein the detecting unit detects an abnormality based on a time interval from when the test data is transmitted to when the test data is received. Serial data transfer system.
【請求項4】 テストモードに設定するモード設定手段
と、 テストモードに設定されているかを判別するモード判別
手段を備え、 前記モード判別手段の判別結果により、前記第1切替手
段,前記第2切替手段および前記第3切替手段の信号伝
達状態が切り替わる、ことを特徴とする請求項1乃至請
求項3のいずれかに記載のシリアルデータ転送システ
ム。
4. A mode setting means for setting a test mode; and a mode discriminating means for discriminating whether the test mode is set. The first switching means and the second switching means according to a discrimination result of the mode discriminating means. 4. The serial data transfer system according to claim 1, wherein a signal transmission state of said means and said third switching means is switched.
【請求項5】 前記モード設定手段は、システムの電源
投入時から一定時間はテストモードの設定を行う、こと
を特徴とする請求項4記載のシリアルデータ転送システ
ム。
5. The serial data transfer system according to claim 4, wherein said mode setting means sets a test mode for a fixed time from when the power of the system is turned on.
【請求項6】 前記モード設定手段は、前記検出手段に
より異常が検出されなかった場合に、テストモード送信
側とテストモード受信側を入れ替える、ことを特徴とす
る請求項1乃至請求項5のいずれかに記載のシリアルデ
ータ転送システム。
6. The mode setting unit according to claim 1, wherein, when no abnormality is detected by the detection unit, the mode setting unit switches a test mode transmission side and a test mode reception side. A serial data transfer system as described in
【請求項7】 時間計測手段を備え、 前記モード設定手段は、前記時間計測手段の計測結果に
基づいて、テストモード送信側とテストモード受信側を
入れ替える、ことを特徴とする請求項1乃至請求項5の
いずれかに記載のシリアルデータ転送システム。
7. The apparatus according to claim 1, further comprising a time measuring unit, wherein the mode setting unit switches between a test mode transmitting side and a test mode receiving side based on a measurement result of the time measuring unit. Item 6. The serial data transfer system according to any one of Items 5.
【請求項8】 シリアルデータ転送手段として受信手段
と送信手段とをそれぞれ有する第1の処理回路および第
2の処理回路を備え、前記第1の処理回路の送信手段と
前記第2の処理回路の受信手段との間、および、前記第
2の処理回路の送信手段と前記第1の処理回路の受信手
段と間でデータ転送をおこなうシリアルデータ転送シス
テムでの異常を検出する異常検出方法であって、 いずれか一方の処理回路をテストモード送信側、他方の
処理回路をテストモード受信側と設定し、 テストモード送信側では送信手段からのテストデータを
通信要求信号の信号線から送信させ、 テストモード受信側では通信要求信号の信号線からのテ
ストデータを通信許可信号の信号線に折り返し、 テストモード送信側では通信許可信号の信号線からのテ
ストデータをデータの信号線に折り返し、 テストモード受信側ではデータの信号線からのテストデ
ータを通信要求信号の信号線に折り返し、 テストモード送信側では通信要求信号の信号線からのテ
ストデータを通信許可信号の信号線に折り返し、 テストモード受信側では通信許可信号の信号線からのテ
ストデータをデータの信号線に折り返し、 テストモード送信側でデータの信号線で受信したテスト
データを受信手段に導くと共に、送信したテストデータ
と受信したテストデータとの比較により異常検出を行
う、ことを特徴とするシリアルデータ転送システムの異
常検出方法。
8. A first processing circuit and a second processing circuit each having a receiving means and a transmitting means as serial data transfer means, wherein a transmitting means of the first processing circuit and a second processing circuit of the second processing circuit are provided. An abnormality detection method for detecting an abnormality in a serial data transfer system that performs data transfer between a receiving unit and a transmitting unit of the second processing circuit and a receiving unit of the first processing circuit. One of the processing circuits is set as a test mode transmission side, and the other processing circuit is set as a test mode reception side. The test mode transmission side transmits test data from the transmission means through a signal line of a communication request signal. On the receiving side, the test data from the signal line of the communication request signal is looped back to the signal line of the communication permission signal, and on the transmission side in the test mode, the test is performed from the signal line of the communication permission signal. Data is returned to the data signal line, the test mode receiving side returns the test data from the data signal line to the communication request signal signal line, and the test mode transmitting side transmits the test data from the communication request signal signal line. The test mode receiving side loops back the test data from the communication enable signal signal line to the data signal line, and the test mode transmitting side loops the test data received on the data signal line to the receiving means. An abnormality detection method for a serial data transfer system, wherein the abnormality is detected by comparing the transmitted test data with the received test data.
JP22827499A 1999-08-12 1999-08-12 Serial data transfer system and abnormality detection method Expired - Fee Related JP3600480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22827499A JP3600480B2 (en) 1999-08-12 1999-08-12 Serial data transfer system and abnormality detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22827499A JP3600480B2 (en) 1999-08-12 1999-08-12 Serial data transfer system and abnormality detection method

Publications (2)

Publication Number Publication Date
JP2001051912A true JP2001051912A (en) 2001-02-23
JP3600480B2 JP3600480B2 (en) 2004-12-15

Family

ID=16873920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22827499A Expired - Fee Related JP3600480B2 (en) 1999-08-12 1999-08-12 Serial data transfer system and abnormality detection method

Country Status (1)

Country Link
JP (1) JP3600480B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310389A (en) * 2007-06-12 2008-12-25 Omron Corp Io unit
JP4869234B2 (en) * 2005-08-26 2012-02-08 パナソニック株式会社 Signal source device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4869234B2 (en) * 2005-08-26 2012-02-08 パナソニック株式会社 Signal source device
JP2008310389A (en) * 2007-06-12 2008-12-25 Omron Corp Io unit

Also Published As

Publication number Publication date
JP3600480B2 (en) 2004-12-15

Similar Documents

Publication Publication Date Title
JPH10340212A (en) Method for separating failure on clock synchronous bus
JPS63275241A (en) Control link and method of transmission using the link
US5604754A (en) Validating the synchronization of lock step operated circuits
JP2001051912A (en) Serial data transfer system and abnormality detecting method
JP4953005B2 (en) Semiconductor test equipment
JP2000040040A (en) Data communication device and storage medium storing program
JP3473951B2 (en) Data processing device and system
EP2752768A1 (en) Error detection in a circuit module
JP2002366505A (en) Method and device for detecting mounting position
US6553519B1 (en) Method for detecting signal transfer errors in near real time in a digital system
JP2979814B2 (en) Serial data transfer device
KR930006894B1 (en) Signal terminal group matching circuit
JP3472891B2 (en) Control communication system
JP2002011927A (en) Imaging apparatus and optional unit and method for detecting abnormality of wiring
KR930006862B1 (en) Triple modular redundency method
KR930006863B1 (en) Supervising circuit for a receiving bus
JPH11338594A (en) Defective contact detecting circuit
KR950009583B1 (en) Method and device to acknowledge collision of data in msx computer network
JPH06274360A (en) Error check circuit
JP2001331384A (en) System and method for detecting inter-package communication fault
JPH02173852A (en) Bus diagnostic device
JP2919366B2 (en) Bus failure handling method
JP2746144B2 (en) Selective monitoring system
JPH0983548A (en) Collision detecting device
JP3488250B2 (en) Serial data communication method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040823

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040914

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040916

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees