JPH04227131A - Transmission/reception test circuit - Google Patents

Transmission/reception test circuit

Info

Publication number
JPH04227131A
JPH04227131A JP2417180A JP41718090A JPH04227131A JP H04227131 A JPH04227131 A JP H04227131A JP 2417180 A JP2417180 A JP 2417180A JP 41718090 A JP41718090 A JP 41718090A JP H04227131 A JPH04227131 A JP H04227131A
Authority
JP
Japan
Prior art keywords
transmission
test
reception
section
transmitting
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
JP2417180A
Other languages
Japanese (ja)
Inventor
Shoji Taniguchi
章二 谷口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2417180A priority Critical patent/JPH04227131A/en
Publication of JPH04227131A publication Critical patent/JPH04227131A/en
Pending legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

PURPOSE:To suppress the increment of software in a central arithmetic processing part as far as possible and to accelerate the self-diagnosis of a transmission/reception test in a transmission/reception test circuit for an LSI or device which performs the transmission/reception of serial data, etc. CONSTITUTION:In the transmission/reception test circuit which performs a test for the transmission/reception operation of data on another device by one device equipped with a transmission part 2 and a reception part 3 under the control of the central arithmetic processing part 1, a mode switching part 4 is provided which forms a test looping back circuit 5 by connecting the transmission part 2 to the reception part 3 when the modes of the transmission part 2 and the reception part 3 are switched to test modes, and also, instructs the transmission/reception operation of the data for test by outputting a control signal to the transmission part 2 and the reception part 3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はシリアル・データを送受
信するLSI又は装置等の送受信試験回路に関し、特に
送受信する機能を自立的に試験することができる送受信
試験回路に関する。近年、LSI等の素子又は装置等は
他の素子・装置等との間でシリアル・データを送信及び
受信してシステムを構成するものがある。このシリアル
・データの送受信部の機能が正常に動作するかを確かめ
るためには、実際にデータの送信動作を行い、送信シリ
アル・ポートから期待されたデータが送信されているか
を検査し、また、受信シリアル・ポートに受信データを
入力し、期待されたデータが受信部より読み出せるかを
検査することが必要である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmitting/receiving testing circuit for an LSI or device that transmits and receives serial data, and more particularly to a transmitting/receiving testing circuit that can autonomously test transmitting and receiving functions. In recent years, some elements or devices such as LSIs configure systems by transmitting and receiving serial data to and from other elements and devices. In order to check whether the function of this serial data transmitting/receiving section operates normally, it is necessary to actually perform a data transmitting operation and check whether the expected data is being transmitted from the transmitting serial port. It is necessary to input received data to the receive serial port and check whether the expected data can be read from the receiver.

【0002】0002

【従来の技術】従来、この種の送受信試験回路を図6〜
図9に基づいて説明する。同図において従来の送受信試
験回路は、CPU1の制御に基づいて送信部2及び受信
部3が他の装置との間でシリアル・データを送受信し、
試験モードの場合にCPU1によりモード切換部4を制
御して試験ループバック回路5を形成し、送信部2から
試験ループバック回路5を介してテスト・データをシリ
アル・データとして受信部3に送信し、この受信された
テスト・データをCPU1で検査して送受信の適否を判
断する構成である。
[Prior Art] Conventionally, this type of transmitting/receiving test circuit is shown in FIGS.
This will be explained based on FIG. In the figure, the conventional transmitting/receiving test circuit has a transmitting section 2 and a receiving section 3 transmitting and receiving serial data to and from other devices under the control of a CPU 1.
In the test mode, the CPU 1 controls the mode switching section 4 to form a test loopback circuit 5, and transmits test data as serial data from the transmitting section 2 to the receiving section 3 via the test loopback circuit 5. This received test data is inspected by the CPU 1 to determine whether transmission/reception is appropriate.

【0003】次に、前記構成に基づく従来装置の動作に
ついて説明する。まず、CPU1によりシステム電源投
入に際して初期化のためのシステム全体のリセットを行
ない、送信データレジスタ(TDR)222に図9(A
)示す初期値が設定される。このCPU1は前記モード
切換部4のモードレジスタ(MR)41に(01)Hを
書込むことにより、ループバック指示LPBのビットを
「1」にする(ステップ10)。
Next, the operation of the conventional device based on the above configuration will be explained. First, when the system power is turned on, the CPU 1 resets the entire system for initialization, and the transmission data register (TDR) 222 is set as shown in FIG.
) is set. The CPU 1 writes (01)H to the mode register (MR) 41 of the mode switching section 4, thereby setting the bit of the loopback instruction LPB to "1" (step 10).

【0004】前記CPU1は受信制御レジスタ(RCR
)310の受信イネーブルRENにおけるビットを「1
」に書込み(ステップ11)、送信データレジスタ(T
DR)222に任意のデータの(‐‐)Hを書込む(ス
テップ12)。また前記CPU1は送信制御レジスタ(
TCR)210の送信イネーブルTENに(01)Hを
書込む(ステップ13)、前記送信制御レジスタ(TC
R)210及び送信データレジスタ(TDR)222へ
の書込みにより送信部2において送信シーケンスが開始
する。
[0004] The CPU 1 has a reception control register (RCR).
) 310 receive enable REN is set to “1”.
” (step 11) and transmit data register (T
(DR) 222 (--)H of arbitrary data is written (step 12). Further, the CPU 1 has a transmission control register (
Write (01)H to the transmission enable TEN of the transmission control register (TCR) 210 (step 13);
A transmission sequence is started in the transmission unit 2 by writing to the transmission data register (TDR) 210 and the transmission data register (TDR) 222.

【0005】この送信シーケンスは送信制御レジスタ(
TCR)210から送信制御部220に対してフレーム
部の開始フラグFLAGの送信要求がなされ送信データ
レジスタ(TDR)222に対して送信データの送出要
求、FCSの送出要求及び終了フラグFLAGの送出要
求が順次なされ、各送出されたフラグ、データ等をフレ
ーム組立部221で図9(B)に示すような送信フレー
ムを形成して送信する(ステップ14)。この送信が終
了したか否かを判断するためにCPU1は送信ステータ
スレジスタ(TSR)211から送信完了ステータスT
CPを読出し(ステップ15)、この読出した送信完了
ステータスTCPが完了の(01)Hであるか否かを判
断する(ステップ16)。
[0005] This transmission sequence is controlled by the transmission control register (
The TCR) 210 makes a request to send the start flag FLAG of the frame part to the transmission control unit 220, and sends a request to the send data register (TDR) 222 to send the send data, send the FCS, and send the end flag FLAG. The flags, data, etc. sent out are sequentially formed into a transmission frame as shown in FIG. 9(B) in the frame assembling unit 221 and transmitted (step 14). In order to determine whether or not this transmission has been completed, the CPU 1 reads the transmission completion status T from the transmission status register (TSR) 211.
CP is read (step 15), and it is determined whether the read transmission completion status TCP is (01)H, indicating completion (step 16).

【0006】前記CPU1が送信完了と判断した場合に
は、マルチプレクサ(MUX)42を介して試験用ルー
プバック回路5が形成され、受信部3が受信動作を開始
する(ステップ17)。この受信部3はフレーム検出部
320でデータを分離して受信データレジスタ(RDR
)312に書込む。CPU1は受信データレジスタ(R
DR)312からデータを読出し(ステップ18)、こ
の読出したデータと送信部2から送信されたデータとの
一致を判断する(ステップ19)。この判別でデータが
一致と判断された場合には受信ステータスレジスタ(R
SR)311から受信完了ステータスRCPを読出し(
ステップ20)、この受信完了ステータスRCPが完了
の(01)Hであるか否かを判断する(ステップ21)
。CPU1が受信完了と判断した場合には送受信動作が
正常であると判断する(ステップ22)。
[0006] When the CPU 1 determines that the transmission is complete, a test loopback circuit 5 is formed via a multiplexer (MUX) 42, and the receiving section 3 starts a receiving operation (step 17). This receiving section 3 separates data in a frame detecting section 320 and registers it in a received data register (RDR).
) 312. CPU1 receives data register (R
DR) 312 (step 18), and it is determined whether the read data matches the data transmitted from the transmitter 2 (step 19). If it is determined that the data match in this judgment, the reception status register (R
Read the reception completion status RCP from SR) 311 (
Step 20), determine whether this reception completion status RCP is (01)H, indicating completion (Step 21)
. If the CPU 1 determines that the reception is complete, it determines that the transmission and reception operation is normal (step 22).

【0007】また、前記ステップ16、ステップ19、
ステップ21においてCPU1が(01)H又は一致し
ないと判断した場合には送受信動作が異常であると判断
する(ステップ23)。
[0007] Also, the steps 16, 19,
If the CPU 1 determines (01)H or does not match in step 21, it determines that the transmission/reception operation is abnormal (step 23).

【0008】[0008]

【発明が解決しようとする課題】従来の送受信試験回路
は以上のように構成されていたことから、ハードウェア
による簡単なループバック回路とCPU側の複雑なソフ
トウェアにより自己診断機能を実現しなければならず、
CPUにおける試験動作のためのソフトウェアの負担が
大きくなり、ソフトウェアが膨大なものとなるという課
題を有していた。特に、大容量データを転送する必要性
から通信処理の高速化が必要となるが、複雑なソフトウ
ェアで試験処理を行なうことから高速な送受信試験の自
己診断ができないという課題を有していた。
[Problem to be Solved by the Invention] Since the conventional transmitting/receiving test circuit is configured as described above, it is necessary to realize a self-diagnosis function using a simple loopback circuit using hardware and complicated software on the CPU side. Not,
This poses a problem in that the burden of software for test operations on the CPU increases, resulting in an enormous amount of software. In particular, the need to transfer large amounts of data necessitates faster communication processing, but there has been a problem in that high-speed self-diagnosis of transmission and reception tests is not possible because the test processing is performed using complex software.

【0009】本発明は、前記課題を解消するためになさ
れたもので、中央演算処理部(CPU)におけるソフト
ウェアの増大を極力抑制すると共に、送受信試験の自己
診断を高速に行なうことができる送受信試験回路を提案
することを目的とする。
The present invention has been made to solve the above-mentioned problems, and is a transmitting/receiving test that can suppress the increase in software in the central processing unit (CPU) as much as possible, and can perform self-diagnosis of the transmitting/receiving test at high speed. The purpose is to propose circuits.

【0010】0010

【課題を解決するための手段】図1は本発明の原理説明
図を示す。同図において本発明に係る送受信試験回路は
、送信部(2)と受信部(3)とを備える一の装置から
他の装置に対して中央演算処理部1の制御に基づいて、
データの送受信動作について試験を行なう送受信試験回
路において、前記送受信(2)及び受信部(3)が試験
モードに切換えられた場合に、前記送信部(2)と受信
部(3)とを接続して試験ループバック回路5を形成す
ると共に、送信部(2)と受信部(3)に対して制御信
号を出力して試験用のデータの送受信動作を指示するモ
ード切換部(4)を備えるものである。
[Means for Solving the Problems] FIG. 1 shows a diagram illustrating the principle of the present invention. In the figure, the transmission/reception test circuit according to the present invention performs a test from one device including a transmitting section (2) and a receiving section (3) to another device based on the control of the central processing section 1.
In a transmission/reception test circuit that tests data transmission/reception operations, when the transmission/reception (2) and reception section (3) are switched to test mode, the transmission section (2) and reception section (3) are connected. A test loopback circuit 5 is formed with a mode switching section (4) that outputs a control signal to the transmitting section (2) and the receiving section (3) to instruct the transmitting/receiving operation of test data. It is.

【0011】[0011]

【作用】本発明においては、モード切換部4が中央演算
処理部1の制御に基づいて試験モードに移行し、モード
切換部4が送信部2及び受信部3を制御して試験モード
を実行することにより、中央演算処理部1のソフトウェ
アでは試験モードの設定のみを行ない、試験モードの送
受信ルーチンをソフトウェアで実行する必要がなくなり
、試験用のソフトウェア量を削減すると共に、試験時間
を短縮する。
[Operation] In the present invention, the mode switching section 4 shifts to the test mode based on the control of the central processing section 1, and the mode switching section 4 controls the transmitting section 2 and the receiving section 3 to execute the test mode. As a result, the software of the central processing unit 1 only sets the test mode, and there is no need to execute the transmitting/receiving routine of the test mode by software, reducing the amount of software for testing and shortening the testing time.

【0012】0012

【実施例】(a)本発明の一実施例 以下、本発明の一実施例を図2ないし図4に基づいて説
明する。この図2は本実施例装置の構成ブロック図、図
3は各レジスタの信号フォーマット構成図、図4は本実
施例の試験動作フローチャートを示す。
Embodiments (a) An embodiment of the present invention An embodiment of the present invention will be described below with reference to FIGS. 2 to 4. FIG. 2 is a block diagram of the configuration of the apparatus of this embodiment, FIG. 3 is a diagram of the signal format configuration of each register, and FIG. 4 is a flowchart of the test operation of this embodiment.

【0013】前記各図において本実施例に係る送受信試
験回路は、前記図6記載の従来装置と同様にCPU1、
送信部2、受信部3、モード切換部4及び試験ループバ
ック回路5を共通して備え、この構成に加え、前記受信
部3内に受信データの検査を行なう検査部33を設ける
と共に、モード切換部4のモードレジスタ(MR)41
から送信部2の送信制御レジスタ210及び受信部3の
受信制御レジスタ310に対して送受信のセット信号を
送出して制御する構成である。
In each of the above figures, the transmission/reception test circuit according to this embodiment has a CPU 1, a
A transmitting section 2, a receiving section 3, a mode switching section 4, and a test loopback circuit 5 are commonly provided, and in addition to this configuration, a testing section 33 for testing received data is provided in the receiving section 3, and a mode switching Mode register (MR) 41 of section 4
This configuration is configured to send a transmission/reception set signal to the transmission control register 210 of the transmitter 2 and the reception control register 310 of the receiver 3 to control them.

【0014】前記検査部33は、フレーム検出部320
により分離された受信データと送信データレジスタ(T
DR)212から出力される送信データの期待値とを比
較して一致・不一致を検出し、この検出結果に基づいて
受信ステータスレジスタ(RSR)311に自己診断ス
テータスCPLを書込む構成である。次に、前記構成に
基づく本実施例の動作について説明する。まず、前提と
してCPU1からリセット時に送信データレジスタ(T
DR)212に対して図9(A)に示すような初期値を
設定する。この初期値は通常動作時には無視され、送信
データレジスタ(TDR)212内の格納データは空と
見倣される。さらに、CPU1からモードレジスタ(M
R)41に試験指令のためのテスト指示TSTにおける
ビットに「1」を書込む(ステップ1)。
The inspection section 33 includes a frame detection section 320
The receive data and transmit data register (T
DR) 212 to detect a match or mismatch with the expected value of the transmission data, and write a self-diagnosis status CPL to the reception status register (RSR) 311 based on the detection result. Next, the operation of this embodiment based on the above configuration will be explained. First, as a premise, the transmission data register (T
DR) 212 is set to an initial value as shown in FIG. 9(A). This initial value is ignored during normal operation, and the data stored in the transmit data register (TDR) 212 is assumed to be empty. Furthermore, the mode register (M
R) Write "1" to the bit in the test instruction TST for the test command to 41 (step 1).

【0015】前記モードレジスタ(MR)41はテスト
指示TSTのビット「1」により、マルチプレクサ(M
UX)42及び検査部33に制御信号を出力すると共に
、送信制御レジスタ(TCR)210及び受信制御レジ
スタ(RCR)310の送信・受信の各イネーブルTE
N、RENのビットを「1」にセットする(ステップ2
)。前記制御信号が入力されたマルチプレクサ(MUX
)42により端子2を選択して試験ループバック回路5
を形成し、この試験ループバック回路5を介して送信部
2から受信部3に図9(B)に示すようなHDLC送信
フレームが送信されることとなる(ステップ2)。この
HDLC送信フレームは送信部2の送信シーケンスによ
り、送信制御部220からフレーム部に対して開始フラ
グFLAGの送信要求、送信データレジスタ(TDR)
212の送信データの送出要求、FCSの送出要求、終
了フラグFLAGの送出要求が順次出力されることによ
り形成される。
The mode register (MR) 41 is set to the multiplexer (M
UX) 42 and the inspection unit 33, and also outputs each enable TE for transmission and reception of the transmission control register (TCR) 210 and reception control register (RCR) 310.
Set the bits of N and REN to “1” (Step 2
). A multiplexer (MUX) to which the control signal is input
) 42 to select terminal 2 and test loopback circuit 5.
is formed, and an HDLC transmission frame as shown in FIG. 9(B) is transmitted from the transmitter 2 to the receiver 3 via the test loopback circuit 5 (step 2). This HDLC transmission frame is transmitted from the transmission control unit 220 to the frame unit by a transmission request for a start flag FLAG and a transmission data register (TDR) according to the transmission sequence of the transmission unit 2.
It is formed by sequentially outputting a request for transmitting data 212, a request for sending FCS, and a request for sending end flag FLAG.

【0016】ここで、CPU1は送信ステータスレジス
タ(TSR)211における送信完了ステータスTCP
を読出し、この読出した送信ステータスTCPが(01
)Hか否かを判断する(ステップ4)。前記ステップ4
で送信ステータスTCPが(01)Hと判断された場合
には、受信部3ではモードレジスタ(MR)41からの
制御により受信制御レジスタ(RCR)310における
受信イネーブルRENのビットが「1」にセットされて
受信可能状態となり、試験ループバック回路5を介して
送出されるHDLCフレームの送信データを受信する(
ステップ5)。この受信データはフレーム検出部320
で開始・終了の各フラグFLAG及びFCSが検出、検
査、削除され、データが受信データレジスタ(RDR)
312に一時的に格納される(ステップ5)。また、フ
レーム検出部320から出力される受信データは検査部
33に入力され、前記送信データレジスタ(TDR)2
12から入力される送信データである期待値と比較し、
受信データが総て期待値と一致した場合には受信ステー
タスレジスタ(RSR)311における自己診断ステー
タスCPLのビットを「1」とするセット信号を出力す
る(ステップ5)。従って、検査部33において受信デ
ータに異常がない場合にのみ、受信完了時に受信ステー
タスレジスタ(RSR)311の受信完了ステータスR
CP及び自己診断ステータスCPLのビットを共に「1
」にセットさせる(ステップ5)。
Here, the CPU 1 checks the transmission completion status TCP in the transmission status register (TSR) 211.
The read transmission status TCP is (01
)H or not (step 4). Said step 4
If the transmission status TCP is determined to be (01)H, the reception unit 3 sets the reception enable REN bit in the reception control register (RCR) 310 to “1” under control from the mode register (MR) 41. and becomes ready for reception, and receives the transmission data of the HDLC frame sent out via the test loopback circuit 5 (
Step 5). This received data is sent to the frame detection unit 320.
The start and end flags FLAG and FCS are detected, inspected, and deleted, and the data is stored in the receive data register (RDR).
312 (step 5). Further, the received data output from the frame detection section 320 is input to the inspection section 33, and the transmission data register (TDR) 2
Compare with the expected value which is the transmission data input from 12,
If all the received data match the expected values, a set signal is output that sets the self-diagnosis status CPL bit in the reception status register (RSR) 311 to "1" (step 5). Therefore, only when there is no abnormality in the received data in the inspection unit 33, the reception completion status R of the reception status register (RSR) 311 is set at the time of reception completion.
Both bits of CP and self-diagnosis status CPL are set to “1”.
” (Step 5).

【0017】さらにCPU1は受信ステータスレジスタ
(RSR)の受信完了ステータスRCP及び自己診断ス
テータスCPLを読出し(ステップ6)、この受信ステ
ータスレジスタ(RSR)が(03)Hであるか否かを
判断する(ステップ7)。この判断に基づいてCPU1
は受信ステータスレジスタ(RSR)が(03)Hかそ
れ以外の値かによって正常か異常が決定される(ステッ
プ8,9)。また、ステップ4で送信ステータスレジス
タ(TSR)211が(01)Hでない場合にもCPU
1が異常な送信動作と決定することとなる(ステップ9
)。
Further, the CPU 1 reads the reception completion status RCP and self-diagnosis status CPL from the reception status register (RSR) (step 6), and determines whether or not the reception status register (RSR) is (03)H. Step 7). Based on this judgment, CPU1
is determined to be normal or abnormal depending on whether the reception status register (RSR) is (03)H or another value (steps 8 and 9). Also, if the transmission status register (TSR) 211 is not (01)H in step 4, the CPU
1 is determined to be an abnormal transmission operation (step 9).
).

【0018】このように、CPU1が単にモード切換部
4に対してテスト指示TSTを指令するのみで、送・受
信部2,3がデータ送・受信を実行すると共に、受信部
3の検査部33で受信データの適否を判断することから
、CPU1におけるソフトウェア上の処理が極力少なく
なり、ソフトウェアの増大を抑制できると共に、試験動
作の高速化が図られることとなる。
In this manner, the CPU 1 simply issues the test instruction TST to the mode switching unit 4, and the transmitting/receiving units 2 and 3 execute data transmission/reception, and the testing unit 33 of the receiving unit 3 Since the suitability of the received data is judged by the CPU 1, the amount of software processing in the CPU 1 is minimized, the increase in software can be suppressed, and the speed of the test operation can be increased.

【0019】(b)本発明の他の実施例図5に他の実施
例の概略構成図を示す。同図において他の実施例装置は
、送信部2Aからの送信データは伝送線路7を介して他
の装置Bに伝送され、この他の装置Bの試験ループバッ
ク回路5Bにより伝送線路7を介して検査部4Aに受信
・検査される構成である。このように伝送線路7を介し
てテスト用のデータを送受信することにより、伝送線路
7の異常をも検査し試験することができることとなる。
(b) Another embodiment of the present invention FIG. 5 shows a schematic configuration diagram of another embodiment. In the other embodiment device in the same figure, the transmission data from the transmitter 2A is transmitted to another device B via the transmission line 7, and is transmitted via the transmission line 7 by the test loopback circuit 5B of this other device B. It is configured to be received and inspected by the inspection section 4A. By transmitting and receiving test data via the transmission line 7 in this manner, it becomes possible to inspect and test the transmission line 7 for abnormalities.

【0020】また、前記各実施例においてはいずれも検
査部33を受信部3内に設ける構成としたが、検査部3
3の機能をCPU1で実行させる構成とすることもでき
る。また、前記各実施例においては送信データレジスタ
(TDR)212から試験用の送信データをフレーム組
立部221を介して送出すると共に検査部33に対して
も送出する構成としたが、検査部33が試験用の送信デ
ータを予め保持してこの保持したデータを期待値として
比較する構成とすることもできる。
Furthermore, in each of the above embodiments, the inspection section 33 is provided in the receiving section 3, but the inspection section 3
It is also possible to have a configuration in which the function No. 3 is executed by the CPU 1. Further, in each of the above embodiments, the test transmission data is sent from the transmission data register (TDR) 212 via the frame assembly section 221 and also sent to the inspection section 33. It is also possible to have a configuration in which test transmission data is held in advance and this held data is compared as an expected value.

【0021】[0021]

【発明の効果】以上説明したように本発明においては、
モード切換部が中央演算処理部の制御に基づいて試験モ
ードに移行し、モード切換部が送信部及び受信部を制御
して試験モードを実行することにより、中央演算処理部
のソフトウェアでは試験モードの設定のみを行ない、試
験モードの送受信ルーチンをソフトウェアで実行する必
要がなくなり、試験用のソフトウェア量を削減すると共
に、試験時間を短縮する効果を有する。
[Effects of the Invention] As explained above, in the present invention,
The mode switching section shifts to the test mode based on the control of the central processing section, and the mode switching section controls the transmitting section and the receiving section to execute the test mode. Only the settings are performed, and there is no need to execute the transmission/reception routine in the test mode using software, which has the effect of reducing the amount of software for testing and shortening the testing time.

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

【図1】本発明の送受信試験回路の原理構成を説明する
ための、原理説明図である。
FIG. 1 is a principle explanatory diagram for explaining the principle configuration of a transmitting/receiving test circuit according to the present invention.

【図2】本発明の一実施例を説明するための、構成ブロ
ック図である。
FIG. 2 is a configuration block diagram for explaining one embodiment of the present invention.

【図3】図2記載実施例の各レジスタの信号フォーマッ
ト構成図である。
FIG. 3 is a signal format configuration diagram of each register in the embodiment shown in FIG. 2;

【図4】図2記載実施例の動作を説明するための、試験
動作フローチャートである。
FIG. 4 is a test operation flowchart for explaining the operation of the embodiment shown in FIG. 2;

【図5】本発明の他の実施例の概略構成ブロック図であ
る。
FIG. 5 is a schematic block diagram of another embodiment of the present invention.

【図6】従来の送受信試験回路の構成ブロック図である
FIG. 6 is a configuration block diagram of a conventional transmission/reception test circuit.

【図7】従来回路の各レジスタの信号フォーマット構成
図である。
FIG. 7 is a diagram illustrating a signal format configuration of each register in a conventional circuit.

【図8】従来の送受信試験回路の試験動作フローチャー
トである。
FIG. 8 is a test operation flowchart of a conventional transmission/reception test circuit.

【図9】一般的な送受信試験回路における送信データレ
ジスタの初期値及びHDLC送信フレームの構成である
FIG. 9 shows the initial value of a transmission data register and the configuration of an HDLC transmission frame in a general transmission/reception test circuit.

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

1…CPU(中央演算処理部) 2…送信部 3…受信部 4…モード切換部 5…試験ループバック回路 6…送受信ポート 7…伝送線路 21…送信バッファ 22…送信制御部 31…受信バッファ 32…受信制御部 33…検査部 41…モードレジスタ(モード制御部)42…マルチプ
レクサ(切換部)
1...CPU (Central Processing Unit) 2...Transmission unit 3...Reception unit 4...Mode switching unit 5...Test loopback circuit 6...Transmission/reception port 7...Transmission line 21...Transmission buffer 22...Transmission control unit 31...Reception buffer 32 ...Reception control section 33...Testing section 41...Mode register (mode control section) 42...Multiplexer (switching section)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  送信部(2)と受信部(3)とを備え
る一の装置から他の装置に対して中央演算処理部1の制
御に基づいて、データの送受信動作について試験を行な
う送受信試験回路において、前記送受信(2)及び受信
部(3)が試験モードに切換えられた場合に、前記送信
部(2)と受信部(3)とを接続して試験ループバック
回路5を形成すると共に、送信部(2)と受信部(3)
に対して制御信号を出力して試験用のデータの送受信動
作を指示するモード切換部(4)を備えることを特徴と
する送受信試験回路。
1. A transmission/reception test in which data transmission/reception operations are tested from one device comprising a transmitting section (2) and a receiving section (3) to another device under the control of a central processing section 1. In the circuit, when the transmitting/receiving section (2) and the receiving section (3) are switched to a test mode, the transmitting section (2) and the receiving section (3) are connected to form a test loopback circuit 5. , transmitter (2) and receiver (3)
1. A transmission/reception test circuit comprising a mode switching section (4) that outputs a control signal to instruct a transmission/reception operation of test data.
【請求項2】  前記請求項1記載の送受信試験回路に
おいて、前記モード切換部4の制御に基づいて、受信部
(3)で受信された試験用の受信データを送信部2から
送信された試験用のデータを期待値として比較し、当該
比較結果に基づいて受信データを検査する検査部33を
備えることを特徴とする送受信試験回路。
2. In the transmitting/receiving test circuit according to claim 1, based on the control of the mode switching section 4, test reception data received by the receiving section (3) is converted into test data transmitted from the transmitting section 2. 1. A transmission/reception test circuit comprising: a test section 33 that compares data for use as an expected value and tests received data based on the comparison result.
【請求項3】  前記請求項1又は2記載の送受信試験
回路において、前記送信部(2)から送信される試験用
のデータは試験ループバック回路5を経由することなく
、前記他の装置の通常送受信時に用いられる送信回路を
介して受信部(3)に送信されることを特徴とする送受
信試験回路。
3. In the transmitting/receiving test circuit according to claim 1 or 2, the test data transmitted from the transmitter (2) does not pass through the test loopback circuit 5, and is transmitted to the other device normally. A transmitting/receiving test circuit characterized in that the signal is transmitted to a receiving section (3) via a transmitting circuit used during transmitting and receiving.
【請求項4】  前記請求項1ないし3記載の送受信試
験回路において、前記送信部(2)及び受信部(3)が
試験モードに切換えられた場合に、送信部(2)の初期
化リセット時に試験モードの特定値を送信部(2)の送
信バッファ(21)にセットすることを特徴とする送受
信試験回路。
4. In the transmitting/receiving test circuit according to any one of claims 1 to 3, when the transmitting section (2) and the receiving section (3) are switched to a test mode, when the transmitting section (2) is initialized and reset; A transmission/reception test circuit characterized in that a specific value of a test mode is set in a transmission buffer (21) of a transmission section (2).
JP2417180A 1990-12-29 1990-12-29 Transmission/reception test circuit Pending JPH04227131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2417180A JPH04227131A (en) 1990-12-29 1990-12-29 Transmission/reception test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2417180A JPH04227131A (en) 1990-12-29 1990-12-29 Transmission/reception test circuit

Publications (1)

Publication Number Publication Date
JPH04227131A true JPH04227131A (en) 1992-08-17

Family

ID=18525309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2417180A Pending JPH04227131A (en) 1990-12-29 1990-12-29 Transmission/reception test circuit

Country Status (1)

Country Link
JP (1) JPH04227131A (en)

Similar Documents

Publication Publication Date Title
US4719626A (en) Diagnostic method and apparatus for channel control apparatus
CN114297134A (en) Chip architecture and signal integrity test method
US7006117B1 (en) Apparatus for testing digital display driver and method thereof
JPH04227131A (en) Transmission/reception test circuit
JP2710777B2 (en) Test circuit for intermediate control unit
JPH10133903A (en) Data transfer controller and loop back test system
JP3445443B2 (en) Communication control method
JP2776679B2 (en) Information processing system
JPS6175651A (en) Modulator-demodulator
KR0140302B1 (en) Apparatus for integrated testing the packet in the full electronic switching system and method thereof1 h 04 l 12/56
JP2979814B2 (en) Serial data transfer device
JPS6384344A (en) Checking system for abnormal frame processing
JP3549702B2 (en) Bus control circuit and test method thereof
KR100251709B1 (en) Method for testing communication channel in exchange system
JPH0417050A (en) One-chip microcomputer
KR100227904B1 (en) Apparatus and method of data determination for ecu of a vehicle
JPH03120932A (en) Reception data processing system
JPS6123263A (en) Test system
KR100262609B1 (en) A learning data monitoring device and method for vehicles
JPS61282940A (en) Control program inspection system using event table
JP2507969B2 (en) Parity error detection method test method
JPH0512063A (en) Logic circuit design device
JPS59221131A (en) Data transmission station
JP2001053748A (en) Inspection system for network device
KR900011224A (en) Control circuit of subscriber test equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000912