JPH0427232A - Data transmitting/receiving circuit - Google Patents

Data transmitting/receiving circuit

Info

Publication number
JPH0427232A
JPH0427232A JP13139990A JP13139990A JPH0427232A JP H0427232 A JPH0427232 A JP H0427232A JP 13139990 A JP13139990 A JP 13139990A JP 13139990 A JP13139990 A JP 13139990A JP H0427232 A JPH0427232 A JP H0427232A
Authority
JP
Japan
Prior art keywords
data
output
signal
circuit
signal line
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
JP13139990A
Other languages
Japanese (ja)
Inventor
Naoki Tsumura
直樹 津村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP13139990A priority Critical patent/JPH0427232A/en
Publication of JPH0427232A publication Critical patent/JPH0427232A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bidirectional Digital Transmission (AREA)

Abstract

PURPOSE:To simultaneously receive data from the opposite party, while transmitting data by transmitting and receiving the data by one piece of signal line, and discriminating receiving data from the opposite party, when an output of transmitting data is H and L, respectively. CONSTITUTION:An output of a buffer 4b for outputting transmitting data by a serial signal is connected to a signal line through a resistance R1, and a transmission signal Sc and an output voltage VA of a reference voltage output circuit 4g are compared by a comparator 4e. When an output Sa of the buffer 4b is H, receiving data from the opposite party is discriminated. Simultaneously, the signal Sa and an output voltage VB of a circuit 4i are compared, and when the signal Sa of the buffer 4b is L, the receiving data from the opposite party is discriminated. The receiving data which are discriminated, respectively are fetched by AND circuits 4c, 4d and an OR circuit 4h. In such a way, while transmitting the data, data transmitted from the opposite party can be received simultaneously, therefore, both persons for executing a communication can send out data at an arbitrary timing. It is unnecessary to switch the circuit at the time of transmission and at the time of reception.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、通信する両者間を信号線で接続してシリアル
信号でデータ伝送するデータ送受信回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmitting/receiving circuit that connects communicating devices with a signal line and transmits data using serial signals.

[従来の技術] 近年、ICやLSIは集積度が上昇し、集積回路のチッ
プ自体の大きさよりも信号を入出力するピンの本数が、
部品の外形サイズに大きく影響するようになっている。
[Prior Art] In recent years, the degree of integration of ICs and LSIs has increased, and the number of pins for inputting and outputting signals has become larger than the size of the integrated circuit chip itself.
It has come to have a large effect on the external size of parts.

そこで、入出力信号のライン数を少なくしてピンの本数
を減少させることにより、部品を小形化することがよく
行なおれている。
Therefore, it is common practice to reduce the size of components by reducing the number of input/output signal lines and the number of pins.

[発明が解決しようとする課題] 信号数を少なくする方法として、複数ビットのパラレル
信号をシリアル信号に変換して入出力する方法が実用さ
れている。この方法は、複数ビットのデータを1本のラ
インで入出力できるが、入力と出力とで、2つの信号ラ
インが必要であった。
[Problems to be Solved by the Invention] As a method of reducing the number of signals, a method of converting a multi-bit parallel signal into a serial signal and inputting/outputting the signal has been put into practice. This method allows multiple bits of data to be input and output using one line, but requires two signal lines for input and output.

一方、1つの信号ラインをデータの入力時と出力時とで
切り換えることが考えられる。この場合、データの出力
タイミングと入力タイミングとを予め時分割的に設定し
ておく方法や、入出力を切り換えるための制御情報をや
り取りする方法などが知られている。
On the other hand, it is conceivable to switch one signal line between data input and output. In this case, there are known methods such as setting the data output timing and input timing in advance in a time-sharing manner, and exchanging control information for switching input and output.

しかしながら、上記入出力タイミンクを時分割的に設定
しておく方法は、任意のタイミングでデータを出力する
ことができないという問題がある。
However, the method of setting the input/output timing in a time-sharing manner has a problem in that data cannot be output at arbitrary timings.

一方、制御情報をやり取りする方法は、その制御情報の
入出力や情報内容判定のための別の回路が必要となり、
回路が複雑でコストが高くなるという問題があった。
On the other hand, the method of exchanging control information requires separate circuits for inputting and outputting the control information and determining the information content.
There was a problem that the circuit was complicated and the cost was high.

本発明は、以上の問題を解決し、任意のタイミングでデ
ータ送出できると共に回路構成の簡単なデータ送受信回
路を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and provide a data transmitting/receiving circuit that can transmit data at any timing and has a simple circuit configuration.

[課題を解決するための手段] このために、第1の発明では、1本の信号線でデータの
送受信を行なうようにして、その信号線と。
[Means for Solving the Problem] To this end, in the first invention, data is transmitted and received using one signal line, and the signal line and the data are transmitted and received.

送信データを2値シリアル信号で出力するデータ出力手
段の出力とは抵抗器を介して接続する一方、信号線の印
加電圧と1つの基準電圧とを比較することにより、デー
タ出力手段の出力がハイレベルときの相手先からの受信
データを判別すると共に、上記印加電圧と他の1つの基
準電圧とを比較することにより、上記出力がローレベル
ときの相手先からの受信データを判別して、それぞれ判
別した受信データを取すようにしている。
The output of the data output means that outputs the transmission data as a binary serial signal is connected through a resistor, and the output of the data output means is set to high by comparing the voltage applied to the signal line with one reference voltage. In addition to determining the data received from the other party when the output is at the low level, by comparing the applied voltage with another reference voltage, the data received from the other party when the output is at the low level is determined. The received data that has been determined is retrieved.

また、第2の発明では、上記データ出力手段の出力が、
ハイレベルのときとローレベルのときとで上記2@に変
化する基準電圧を発生させ、その基準電圧と信号の印加
電圧とを比較することにより相手先からの受信データを
判別して取り出すようにしている。
Further, in the second invention, the output of the data output means is
A reference voltage that changes to the above 2@ is generated when it is at a high level and when it is at a low level, and by comparing the reference voltage with the voltage applied to the signal, the received data from the other party is determined and retrieved. ing.

[作用] データ送信しながら同時に相手先から送信されるデータ
を受信することができるので、通信する両者は、任意の
タイミングでデータ送出できると共に、送信時と受信時
とで回路を切り換えたり制御情報をやり取りする必要が
ないので、回路構成が簡単になる。
[Function] Since it is possible to receive data sent from the other party at the same time as sending data, both parties can send data at any timing, and can switch circuits between sending and receiving, and control information. Since there is no need to exchange data, the circuit configuration becomes simpler.

[実施例] 以下、添付図面を参照しながら、本発明の実施例を詳細
に説明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明のデータ送受信回路を適用したマイク
ロコンピュータシステムのブロック構成図を示したもの
である。図において、LS Ilは、例えばCPUであ
り、IC2は、例えば外部に対してデータを入出力する
周辺回路である。LSI1のピンP1〜P、は、それぞ
れIC2のピンP、に、LSIIのピンP4は各IC2
のピンP6にそれぞれ接続されている。
FIG. 1 shows a block diagram of a microcomputer system to which the data transmitting/receiving circuit of the present invention is applied. In the figure, LS Il is, for example, a CPU, and IC2 is, for example, a peripheral circuit that inputs and outputs data to the outside. Pins P1 to P of LSI1 are connected to pin P of IC2, and pin P4 of LSI1 is connected to each IC2.
are connected to pins P6 of the respective terminals.

LS IIの内部には、データ処理回路3と3つのデー
タ送受信回路4とクロック信号出力口1115とが配設
されている。データ送受信回路4は、3つとも同一回路
であり、送受信信号はそれぞれピンP□〜P、を介して
入出力している。また、クロック信号出力回路5の出力
は各データ送受信回路4に入力されると共に、ピンP4
から出力されている。
Inside the LS II, a data processing circuit 3, three data transmitting/receiving circuits 4, and a clock signal output port 1115 are arranged. All three data transmitting/receiving circuits 4 are the same circuit, and transmitting/receiving signals are input/output via pins P□ to P, respectively. Further, the output of the clock signal output circuit 5 is input to each data transmitting/receiving circuit 4, and the output is input to the pin P4.
It is output from.

ICZ内には、LS II側と同一回路であるデータ送
受信回路4とデータ処理回路6とが配設されている。送
受信信号はそれぞれピンP5を介して入出力し、クロッ
ク信号がピンPGより入力されている。
A data transmitting/receiving circuit 4 and a data processing circuit 6, which are the same circuits as those on the LS II side, are arranged in the ICZ. Transmission and reception signals are respectively input and output via pin P5, and a clock signal is input from pin PG.

第2図は、対向する1対のデータ送受信回路4の回路構
成図を示したものである0図において、パラレル/シリ
アル変換回路4aは、パラレル信号である送信データS
Dをシリアル信号に変換するもので、バッファ4bは、
そのシリアル信号を2値の電圧信号として出力するもの
である。
FIG. 2 shows a circuit configuration diagram of a pair of opposing data transmitting/receiving circuits 4. In FIG.
Buffer 4b converts D into a serial signal.
The serial signal is output as a binary voltage signal.

その出力は、抵抗Hの一端とアンド回!Nt4cの一人
力とアンド回路4dの反転入力とに接続されている。抵
抗R1の他端は、LS IIの1つのピンP1とコンパ
レータ4eとコンパレータ4fのそれぞれの一人力とに
接続されている。
Its output is ANDed with one end of resistor H! It is connected to the single power of Nt4c and the inverting input of AND circuit 4d. The other end of the resistor R1 is connected to one pin P1 of LS II and each of the comparators 4e and 4f.

コンパレータ4eの他方の入力には、基準電圧出力回路
4gの出力が接続され、コンパレータ4eの出力は、ア
ンド回路4cの他方の入力に接続されている。そのアン
ド回路4cの出力は、オア回路4hの一人力に接続され
ている。コンパレータ4fの他方の入力には、基準電圧
出力回路41の出力が接続され、コンパレータ4fの出
力は、アンド回路4dの他方の入力に接続されている。
The output of the reference voltage output circuit 4g is connected to the other input of the comparator 4e, and the output of the comparator 4e is connected to the other input of the AND circuit 4c. The output of the AND circuit 4c is connected to one output of the OR circuit 4h. The output of the reference voltage output circuit 41 is connected to the other input of the comparator 4f, and the output of the comparator 4f is connected to the other input of the AND circuit 4d.

そのアンド回路4dの出力はオア回路4hの他方の入力
に接続されている。オア回路4hの出力は、シリアル/
パラレル変換回路4jのデータ入力に接続されている。
The output of the AND circuit 4d is connected to the other input of the OR circuit 4h. The output of OR circuit 4h is serial/
It is connected to the data input of the parallel conversion circuit 4j.

クロック信号出力回路5から出力されるクロック信号は
、パラレル/シリアル変換回路4aに入力されると共に
、インバータ4kを介してシリアル/パラレル変換回路
4jに入力されている。
The clock signal output from the clock signal output circuit 5 is input to a parallel/serial conversion circuit 4a, and is also input to a serial/parallel conversion circuit 4j via an inverter 4k.

以上の構成で、このコンピュータシステムが動作を開始
すると、クロック信号出力回路5からは、第3図(a)
に示すような一定周期のクロック信号CLにが出力され
る。一方、LS II側のデータ処理回路3とICZ側
のデータ処理回路6とは、それぞれ非同期で所定の動作
を実行する。データ処理回路3は、IC2に対する送信
データSDを必要に応じてデータ送受信回路4に入力し
、データ処理回路6は、LS IIへの送信データSD
を必要に応じてデータ送受信回路4に入力する。
With the above configuration, when this computer system starts operating, the clock signal output circuit 5 outputs the signal as shown in FIG. 3(a).
A clock signal CL having a constant period as shown in is output. On the other hand, the data processing circuit 3 on the LS II side and the data processing circuit 6 on the ICZ side each perform predetermined operations asynchronously. The data processing circuit 3 inputs the transmission data SD to the IC 2 to the data transmission/reception circuit 4 as necessary, and the data processing circuit 6 inputs the transmission data SD to the LS II.
is input to the data transmitting/receiving circuit 4 as necessary.

パラレル/シリアル変換回路4aは、送信データSDが
入力されると、クロック信号CLKの立上がりのタイミ
ングでそのデータを1ビツトずつシリアル信号に変換す
る。バッファ4bは、そのシリアル信号を2値の電圧信
号で出力する。その出力信号の電圧値は、IJH#l(
ハイレベル)でVHl“L″(ローレベル)でVLであ
るものとする。
When the parallel/serial conversion circuit 4a receives the transmission data SD, it converts the data bit by bit into a serial signal at the rising timing of the clock signal CLK. The buffer 4b outputs the serial signal as a binary voltage signal. The voltage value of the output signal is IJH#l(
It is assumed that VH1 is “L” (low level) and VL is “L” (low level).

バッファ4bの出力は、抵抗旧を介して信号線に出力さ
れ、その信号線を介して、相手先に入力される。これに
より、信号線上の伝送信号Scは、出力信号Sa、Sb
がともに“II ”のとき5c=Vs、出力信号Sa、
Sbがともに“し”のときSC:VLになる。また、出
力信号Sa、Sbのうち、一方が“Hjlで他方がII
 L Itのとき5c=(V++VL)/2ニなる。
The output of the buffer 4b is output to a signal line via a resistor, and is input to the other party via the signal line. As a result, the transmission signal Sc on the signal line becomes the output signal Sa, Sb
When both are “II”, 5c=Vs, output signal Sa,
When both Sb are "Yes", SC:VL is established. Also, among the output signals Sa and Sb, one is “Hjl” and the other is “II”.
When L It, 5c=(V++VL)/2d.

従って、いま1例えば、LS II側のバッファ4bか
ら、第3図(b)に示すような出力信号Saが出力され
、ICZ側のバッファ4bから、同図(C)に示すよう
な出力信号sbが出力されたとすると、上記伝送信号S
cは、第3図(d)に示すような上記3値の電圧信号に
なる。
Therefore, for example, the buffer 4b on the LS II side outputs an output signal Sa as shown in FIG. 3(b), and the buffer 4b on the ICZ side outputs an output signal sb as shown in FIG. 3(C). is output, the above transmission signal S
c becomes a three-value voltage signal as shown in FIG. 3(d).

基準電圧出力回路4gは、同図(d)の破線で示すよう
に、上記gL HIIの電圧値VHより低く、上記電圧
値(VH+VL)/2より高く設定された基準電圧VA
を出力する。コンパレータ4eは、同図(e)に示すよ
うに、その基準電圧VAに対して、伝送信号Scの電圧
値が低いとき111”、高いときII H#lの信号を
それぞれ出力する。
The reference voltage output circuit 4g outputs a reference voltage VA set lower than the voltage value VH of the gL HII and higher than the voltage value (VH+VL)/2, as shown by the broken line in FIG.
Output. As shown in FIG. 4(e), the comparator 4e outputs a signal of 111'' when the voltage value of the transmission signal Sc is low with respect to the reference voltage VA, and outputs a signal of IIH#l when the voltage value is high.

一方、基準電圧出力回路41は、同図(d)の破線で示
すように、上記電圧値(VH+VL)/2より低く、上
記“L′″の電圧値VLより高く設定された基準電圧V
Bを出力する。コンパレータ4fは、同図(f)に示す
ように、その基準電圧Vaに対して、伝送信号Scの電
圧値が低いとき“Ln、高いとき1111”の信号をそ
れぞれ出力する。
On the other hand, the reference voltage output circuit 41 outputs a reference voltage V set lower than the voltage value (VH+VL)/2 and higher than the voltage value VL of "L'", as shown by the broken line in FIG.
Output B. As shown in FIG. 4(f), the comparator 4f outputs a signal of "Ln" when the voltage value of the transmission signal Sc is low with respect to the reference voltage Va, and outputs a signal of "1111" when it is high.

アンド回路4cは、上記出力信号Saが“H″′のとき
コンパレータ4eの出力をオア回路4h側に出力し、ア
ンド回路4dは、その出力信号Saが′L″のときコン
パレータ4fの出力をオア回路4h側に出力する。
The AND circuit 4c outputs the output of the comparator 4e to the OR circuit 4h when the output signal Sa is "H", and the AND circuit 4d outputs the output of the comparator 4f to the OR circuit 4h when the output signal Sa is "L". Output to circuit 4h side.

オア回路4hは、入力される信号をシリアル/パラレル
変換回路4jに入力する。
The OR circuit 4h inputs the input signal to the serial/parallel conversion circuit 4j.

これにより、LSII側のシリアル/パラレル変換回路
4jには、同図(g)に示すような信号Sfが入力され
る。
As a result, a signal Sf as shown in FIG. 4(g) is input to the serial/parallel conversion circuit 4j on the LSII side.

シリアル/パラレル変換回路4jは、入力される信号S
fをクロック信号CLKの立ち下がりのタイミングで、
受信データ信号として1ビツトずつ読み取ることにより
、同図(h)に示すように、ICZ側から送信されたデ
ータ信号sbを再生する。そして、そのデータ信号をパ
ラレル信号に変換して受信データRDとして出力する。
The serial/parallel conversion circuit 4j receives the input signal S
f at the falling timing of the clock signal CLK,
By reading each bit as a received data signal, the data signal sb transmitted from the ICZ side is reproduced, as shown in (h) of the figure. Then, the data signal is converted into a parallel signal and output as received data RD.

データ処理回路3は、その受信データRDにより所定の
処理を実行する。
The data processing circuit 3 executes predetermined processing using the received data RD.

一方、IC2側においても、上記と同様に、信号sbと
伝送信号Scとにより、LSII側の送信データの判別
動作が実行される。これにより、オア回路4hは、同図
(i)に示すような信号shを出力する。シリアル/パ
ラレル変換回路4jは、その信号shを1ビツトずつ読
み取って、送信されたデータ信号を再生する。そして、
そのデータ信号をパラレル信号に変換して受信データ信
号RDとして出力する。データ処理回路6はその受信デ
ータRDにより所定の処理を実行する。
On the other hand, on the IC2 side, similarly to the above, the operation of determining the transmission data on the LSII side is performed using the signal sb and the transmission signal Sc. As a result, the OR circuit 4h outputs a signal sh as shown in (i) of the figure. The serial/parallel conversion circuit 4j reads the signal sh bit by bit and reproduces the transmitted data signal. and,
The data signal is converted into a parallel signal and output as a received data signal RD. The data processing circuit 6 executes predetermined processing using the received data RD.

以上のように、本実施例では、送信データをシリアル信
号で出力するバッファ4bの出力は、抵抗R1を介して
信号線に接続し、コンパレータ4eにより信号線上の伝
送信号Scと基準電圧出力回路4gの出力電圧V^とを
比較して、バッファ4bの出力信号Saがハイレベルと
きの相手先からの受信データを判別すると共に、コンパ
レータ4fにより上記出力信号Saと基準電圧出力回路
41の出力電圧Vaとを比較して、バッファ4bの出力
信号Saがローレベルときの相手先からの受信データを
判別し、それぞれ判別した受信データをアンド回路4c
、4dおよびオア回路4hにより取り出すようにしてい
る。
As described above, in this embodiment, the output of the buffer 4b that outputs transmission data as a serial signal is connected to the signal line via the resistor R1, and the transmission signal Sc on the signal line and the reference voltage output circuit 4g are connected by the comparator 4e. The data received from the other party when the output signal Sa of the buffer 4b is at a high level is determined by comparing the output voltage V^ of the buffer 4b, and the output voltage Va of the reference voltage output circuit 41 is compared by the comparator 4f. The received data from the other party when the output signal Sa of the buffer 4b is at a low level is determined by comparing the received data with
, 4d and an OR circuit 4h.

これにより、データ送信しながら同時に相手先から送信
されるデータを受信することができるので、通信する両
者は、任意のタイミングでデータ送出できる。また、上
記構成により、送信時と受信時とで回路を切り換えたり
制御情報をやり取りする必要がないので、回路構成が簡
単になる。
This makes it possible to simultaneously receive data transmitted from the other party while transmitting data, so both parties can transmit data at any timing. Furthermore, the above configuration simplifies the circuit configuration since there is no need to switch circuits or exchange control information between transmission and reception.

第4図は、データ送受信回路の他の実施例を示したもの
で、第2図と同一符号は同一部品を示している0図にお
いて、抵抗器の信号線側はコンパレータ41の入力の一
方に接続され、抵抗R1の他端は抵抗R2の一端に接続
されている。その抵抗R2の他端はコンパレータ41の
入力の他方と抵抗R3の一端に接続され、抵抗R3の他
端は基準電圧発生回路4mの出力に接続されている。コ
ンパレータ41の出力は、シリアル/パラレル変換回路
4jに入力されている。
FIG. 4 shows another embodiment of the data transmitting/receiving circuit, in which the same symbols as in FIG. 2 indicate the same parts. The other end of the resistor R1 is connected to one end of the resistor R2. The other end of the resistor R2 is connected to the other input of the comparator 41 and one end of the resistor R3, and the other end of the resistor R3 is connected to the output of the reference voltage generating circuit 4m. The output of the comparator 41 is input to a serial/parallel conversion circuit 4j.

この構成で、いま、第5図(a)に示すようにクロック
信号出力回路3からクロック信号CLにが出力されると
共に、同図(b) 、 (C)に示すように、LS I
I側とIC2側のバッファ4bから出力信号Sa、Sb
がそれぞれ出力されたとする。
With this configuration, as shown in FIG. 5(a), the clock signal output circuit 3 outputs the clock signal CL, and as shown in FIG. 5(b) and (C), the LS I
Output signals Sa, Sb from buffer 4b on I side and IC2 side
Suppose that each is output.

このとき、信号線上の伝送信号Scは、前述の実施例と
同様に、同図(d)に示すような3値の信号になる。
At this time, the transmission signal Sc on the signal line becomes a ternary signal as shown in FIG.

基準電圧発生回路4−は、バッファ4bの出力電圧をV
H,VLとすると、(V++VL)/2ノ一定電圧を出
力する。
The reference voltage generation circuit 4- sets the output voltage of the buffer 4b to V.
If H and VL, a constant voltage of (V++VL)/2 is output.

これにより、抵抗R2とR3の接続点の電圧Vcは、同
図(d)の破線に示すように、バッファ4bの出力が“
H”のとき、上記電圧(VH+VL)/2よりやや高く
、L″′のときその電圧よりやや低く変化するようにな
る。
As a result, the voltage Vc at the connection point between the resistors R2 and R3 changes so that the output of the buffer 4b becomes "
When the voltage is high, the voltage changes slightly higher than the voltage (VH+VL)/2, and when the voltage is low, the voltage changes slightly lower than that voltage.

コンパレータ41は、その電圧Vcと上記伝送信号Sc
とを比較して、同図(e)に示すような信号Sfを出力
する。シリアル/パラレル変換回路4jは、前述の実施
例と同様に、その信号Sfをクロック信号により読み取
って、受信データ信号Sgを得る。
The comparator 41 compares the voltage Vc with the transmission signal Sc.
A signal Sf as shown in FIG. 3(e) is output. The serial/parallel conversion circuit 4j reads the signal Sf using a clock signal to obtain a received data signal Sg, as in the previous embodiment.

以上のように、本実施例では、送信データ信号であるバ
ッファ4bの出力が、ハイレベルのときとローレベルの
ときとで2値に変化する基準電圧Vcを発生され、その
基準電圧と信号線の伝送信号Scの電圧とを比較して相
手先からの受信データを判別するようにしている。
As described above, in this embodiment, the output of the buffer 4b, which is the transmission data signal, generates a reference voltage Vc that changes into two values depending on whether it is at a high level or a low level. The received data from the other party is determined by comparing the voltage of the transmission signal Sc with the voltage of the transmission signal Sc.

これにより、前述の実施例よりさらに簡単な回路で同一
作用を得ることができる。
As a result, the same effect can be obtained with a simpler circuit than in the previous embodiment.

なお、以上の各実施例では、クロック信号出力回路3は
、一方の部品内に配設したが、通信する両者とは独立し
て配設したり、両者に配設していずれか一方を任意作動
させたりするようにしてもよい。
In each of the above embodiments, the clock signal output circuit 3 is arranged in one of the components, but it may be arranged independently of the two components communicating with each other, or it may be arranged in both parts and either one of them can be used arbitrarily. It may also be activated.

[発明の効果コ 以上のように、本発明によれば、データの送受信を1本
の信号線で行なうと共に、2値シリアル信号の送信デー
タの出力と信号線とは抵抗器を介して接続し、送信デー
タの出力が、ハイレベル、ローレベルそれぞれのときに
、信号線の印加電圧により、相手先からの受信データを
判別するようにしたので、データ送信しながら同時に相
手先から送信されるデータを受信することができるため
、通信する両者は、任意のタイミングでデータ出力でき
と共に、送信時と受信時とで回路を切り換えたり制御情
報をやり取りする必要がないので、回路構成が簡単にな
る。
[Effects of the Invention] As described above, according to the present invention, data is transmitted and received using one signal line, and the output of the transmission data of the binary serial signal and the signal line are connected via a resistor. , When the output of the transmitted data is at high level or low level, the received data from the other party is determined by the voltage applied to the signal line, so the data sent from the other party at the same time as the data is transmitted. Since both parties can output data at arbitrary timing, there is no need to switch circuits or exchange control information between transmitting and receiving, which simplifies the circuit configuration.

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

第1図は本発明の一実施例に係るコンピータシステムの
ブロック構成図、第2図はデータ送受信回路の回路構成
図、第3図はそのデータ送受信回路の各信号のタイムチ
ャート、第4図はデータ送受信回路の他の実施例な示す
回路構成図、第5図はそのデータ送受信回路の各信号の
タイムチャートである。 l・・・LSI、2・・・IC,3,6・・・データ処
理回路、4・・・データ送受信回路、4a・・・パラレ
ル/シリアル変換回路、4b・・・バッファ、4d、4
e・・・アンド回路、4e。 4f、41・・・コンパレータ、’gAx+41・・基
準電圧出方回路、 4h・・・オア回路、4j・・・シ
リアル/パラレル変換回路、4k・・・インバータ、5
・・・クロック信号出力回路、R,R1,R2,R3・
・・抵抗。
FIG. 1 is a block configuration diagram of a computer system according to an embodiment of the present invention, FIG. 2 is a circuit configuration diagram of a data transmission/reception circuit, FIG. 3 is a time chart of each signal of the data transmission/reception circuit, and FIG. FIG. 5 is a circuit diagram showing another embodiment of the data transmitting/receiving circuit, and is a time chart of each signal of the data transmitting/receiving circuit. l...LSI, 2...IC, 3,6...data processing circuit, 4...data transmission/reception circuit, 4a...parallel/serial conversion circuit, 4b...buffer, 4d, 4
e...AND circuit, 4e. 4f, 41... Comparator, 'gAx+41... Reference voltage output circuit, 4h... OR circuit, 4j... Serial/parallel conversion circuit, 4k... Inverter, 5
...Clock signal output circuit, R, R1, R2, R3・
··resistance.

Claims (2)

【特許請求の範囲】[Claims] (1)通信する両者間を信号線で接続してシリアル信号
でデータ伝送するデータ送受信回路において、上記両者
を接続すると共に1本でデータの送受信を行なう信号線
と、送信データを2値シリアル信号で出力するデータ出
力手段と、そのデータ出力手段の出力と上記信号線との
間に挿入される抵抗器と、上記信号線に印加される電圧
と1つの基準電圧との比較により上記データ出力手段の
出力がハイレベルときの相手先からの受信データを判別
する第1の受信データ判別手段と、上記信号線に印加さ
れる電圧と他の1つの基準電圧とを比較することにより
上記データ出力手段の出力がローレベルときの相手先か
らの受信データを判別する第2の受信データ判別手段と
、上記第1と第2の受信データ判別手段から選択的に受
信データを取り出すデータ取出手段とを備えていること
を特徴とするデータ送受信回路。
(1) In a data transmitting/receiving circuit that connects the two devices to be communicated with a signal line and transmits data using a serial signal, there is a signal line that connects both of the above and transmits and receives data with one wire, and a binary serial signal that transmits the transmitted data. a resistor inserted between the output of the data output means and the signal line; and a data output means that outputs data by comparing the voltage applied to the signal line with one reference voltage. a first received data discriminating means for discriminating received data from the other party when the output of the signal line is at a high level; and the data output means by comparing the voltage applied to the signal line with another reference voltage. a second received data discriminating means for discriminating received data from the other party when the output of is at a low level; and a data extracting means for selectively extracting received data from the first and second received data discriminating means. A data transmitting/receiving circuit characterized by:
(2)通信する両者間を信号線で接続してシリアル信号
でデータ伝送するデータ送受信回路において、上記両者
を接続すると共に1本でデータの送受信を行なう信号線
と、送信データを2値シリアル信号で出力するデータ出
力手段と、そのデータ出力手段の出力と上記信号線との
間に挿入される抵抗器と、上記データ出力手段の出力が
ハイレベルのときとローレベルのときとで2値に変化す
る基準電圧を発生する基準電圧発生手段と、上記信号線
に印加される電圧と上記基準電圧とを比較することによ
り相手先からの受信データを判別する受信データ判別手
段と、判別した受信データを取り出すデータ取出手段と
を備えていることを特徴とするデータ送受信回路。
(2) In a data transmitting/receiving circuit that connects the two devices to be communicated with a signal line and transmits data using a serial signal, there is a signal line that connects both of the above and transmits and receives data with one wire, and a binary serial signal that transmits the transmitted data. a resistor inserted between the output of the data output means and the signal line, and a binary value depending on when the output of the data output means is at high level and when it is at low level. a reference voltage generating means for generating a changing reference voltage; a received data determining means for determining received data from a destination by comparing a voltage applied to the signal line with the reference voltage; and a received data discriminating means for determining received data from a destination. A data transmitting/receiving circuit comprising: data retrieval means for retrieving the data.
JP13139990A 1990-05-23 1990-05-23 Data transmitting/receiving circuit Pending JPH0427232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13139990A JPH0427232A (en) 1990-05-23 1990-05-23 Data transmitting/receiving circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13139990A JPH0427232A (en) 1990-05-23 1990-05-23 Data transmitting/receiving circuit

Publications (1)

Publication Number Publication Date
JPH0427232A true JPH0427232A (en) 1992-01-30

Family

ID=15057068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13139990A Pending JPH0427232A (en) 1990-05-23 1990-05-23 Data transmitting/receiving circuit

Country Status (1)

Country Link
JP (1) JPH0427232A (en)

Similar Documents

Publication Publication Date Title
KR100904476B1 (en) Hybrid parallel/serial bus interface
US5025414A (en) Serial bus interface capable of transferring data in different formats
JPS6239580B2 (en)
JP3951240B2 (en) Method used by base station to transfer data
JP2580325B2 (en) Data transmission system, data output circuit and data input circuit
JPH05100877A (en) Parity inversion test system
JP2002044162A (en) Data transmission device, data transfer system and method
KR0146326B1 (en) Interface circuit for matching full electronic switch process matching board and personal computer
US4680485A (en) Quad-state control signal input circuit
JPS6016984Y2 (en) interface circuit
JP2565768B2 (en) Serial data transceiver
JPS5971526A (en) Microcomputer system
JPH03255515A (en) Signal converter
JPS63231665A (en) System for effectively using bus
TW201901460A (en) Data transmission device and data receiving device for serial peripheral interface
KR880002509Y1 (en) Network interface circuit of personal computer
JPH067385Y2 (en) Interface circuit
KR900005661B1 (en) Data signal transmission circuit and method between controller and laser printer
JP2590410B2 (en) Count data output circuit
JP2532405Y2 (en) Data transmission circuit
JP2000092137A (en) Logic signal transmitting system
JPS63204944A (en) Optical information transmission equipment
JPS61105150A (en) Information transfer circuit
JPH06104875A (en) Serial port
JPH1097495A (en) Data communication method and device