JPH0444455B2 - - Google Patents

Info

Publication number
JPH0444455B2
JPH0444455B2 JP57214469A JP21446982A JPH0444455B2 JP H0444455 B2 JPH0444455 B2 JP H0444455B2 JP 57214469 A JP57214469 A JP 57214469A JP 21446982 A JP21446982 A JP 21446982A JP H0444455 B2 JPH0444455 B2 JP H0444455B2
Authority
JP
Japan
Prior art keywords
code
data
transmitting
signal
codes
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.)
Expired - Lifetime
Application number
JP57214469A
Other languages
Japanese (ja)
Other versions
JPS59103448A (en
Inventor
Shinsuke Mizutani
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP57214469A priority Critical patent/JPS59103448A/en
Publication of JPS59103448A publication Critical patent/JPS59103448A/en
Publication of JPH0444455B2 publication Critical patent/JPH0444455B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

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

本発明はコンピユーターシステム等で行なわれ
るデータの送受信装置(方式)に関するものであ
る。 コンピユーターやCPU(中央処理装置)間でデ
ータの入出力を行なう場合、入出力したいデータ
のコード数に必要なビツト数がデータバスの数よ
りも少ない場合、複数回のパラレル信号により1
ワード(1コード)を送受信する。たとえば、入
出力したいデータのコードの種類が50個ある場合
は、必要なビツト数は6であるが、データバスが
4本の場合には4ビツトのパラレル信号を2回送
受信する必要がある。 従来の送受信方式では、複数回のパラレル信号
により1ワードを送受信する場合、同期信号線に
より同期をとつていないと、送信側と受信側のそ
れぞれに正確な基準信号をもたせ同期をとる必要
があつた。また、連続したデータを送受信する場
合には、1度同期がずれるとその後のデータが続
けて誤つたデータを受信してしまう。データごと
に無信号区間を設ければよいが、送受信時間が増
し、制御も複雑になる。第4図に従来の送受信方
式を用いた回路を示す。この回路はI/Oポート
を持つている2つの4ビツトマイクロコンピユー
タで構成されている。51と52は2つのマイク
ロコンピユータであり、51はデータを送信し、
52は受信する構成になつている。53はデータ
を送る4本のバスであり、51のマイクロコンピ
ユータの4本の出力ポートと52のマイクロコン
ピユータの4本の入力ポート間に接続されてい
る。54は53のバスによつて送られるデータに
同期して出される同期信号である。この回路にお
いての1つのコードが8ビツトである場合、バス
が4ビツトしか存在しないので4ビツトのパラレ
ル信号を2回送る事により、1つのコードを送る
事になる。この従来例において、信号線54が必
要であり、ハードウエア上の負担となつている。
この信号線がない場合には、51と52のマイク
ロコンピユータそれぞれに正確な基準信号をもた
せ同期をとるか、データごとに無信号区間を設け
る必要が生じてしまい、前者は水晶振動子等の高
精度の基準信号源をそれぞれに必要な上に、基準
信号の周波数が51と52の間で異なる場合に
は、両者が同じ周波数の同期信号を作る分周回路
が複雑になる。後者は、無信号区間が存在する事
により、送発信時間が増し、さらに制御が複雑に
なる。 本発明は複数回のパラレル信号により1ワード
を送受信するデータ送受信方式において、前述し
た欠点を解決し、簡単なハードウエア構成で信頼
性の高いデータ送受信方式を提供する事を目的と
している。 本発明の特徴は、複数回のパラレル信号により
1ワードを送受信するデータ送受信方式におい
て、複数回のパラレル信号のそれぞれに使用可能
なコードが他のパラレル信号に使用可能なコード
と異なつている事である。 本発明の詳細な説明を図を用いて説明する。第
1図は本発明のデータ送受信方式を用いた回路で
ある。11はデータの送信側のマイクロコンピユ
ータであり、12はデータの受信側のマイクロコ
ンピユータである。13はデータを送る4本のバ
スであり、11のマイクロコンピユータの4本の
出力ポートと12のマイクロコンピユータの4本
の入力ポート間に接続されている。この回路例で
は2回の4ビツトパラレル信号により1ワードを
送受信している。そして、1回めの4ビツトパラ
レル信号で11側から送出されるコードは10進数
表記で10〜15のうちの1つであり、2回めの4ビ
ツトパラレル信号で送出されるコードは10進数表
記で1〜9のうちの1つである。この2回のパラ
レル信号により送る事のできるワードの種類は6
×10の60個である。この回路で送られるキヤラク
ターコード表を第1表に示す。
The present invention relates to a data transmitting/receiving device (system) used in a computer system or the like. When inputting/outputting data between computers or CPUs (central processing units), if the number of bits required for the number of codes for the data to be input/output is less than the number of data buses, one
Send and receive words (1 code). For example, if there are 50 types of data codes to be input/output, the required number of bits is 6, but if there are 4 data buses, it is necessary to transmit and receive 4-bit parallel signals twice. In conventional transmission/reception systems, when transmitting and receiving one word using multiple parallel signals, unless synchronization is achieved using a synchronization signal line, it is necessary to provide accurate reference signals to each of the transmitting and receiving sides for synchronization. It was hot. Furthermore, when transmitting and receiving continuous data, once the synchronization is lost, subsequent data will continue to receive incorrect data. Although it is possible to provide a no-signal period for each data, the transmission and reception time increases and control becomes complicated. FIG. 4 shows a circuit using a conventional transmission/reception system. This circuit consists of two 4-bit microcomputers with I/O ports. 51 and 52 are two microcomputers, 51 transmits data,
52 is configured to receive. Reference numeral 53 denotes four buses for transmitting data, which are connected between the four output ports of the microcomputer 51 and the four input ports of the microcomputer 52. 54 is a synchronization signal issued in synchronization with the data sent by bus 53. When one code in this circuit is 8 bits, since there is only a 4-bit bus, one code is sent by sending a 4-bit parallel signal twice. In this conventional example, the signal line 54 is required, which is a burden on the hardware.
Without this signal line, it would be necessary to provide accurate reference signals to each of the microcomputers 51 and 52 for synchronization, or to provide a no-signal interval for each data. In addition to requiring accurate reference signal sources for each, if the frequencies of the reference signals differ between 51 and 52, the frequency dividing circuit that creates synchronization signals having the same frequency for both becomes complex. In the latter case, the presence of a no-signal section increases transmission time and further complicates control. An object of the present invention is to solve the above-mentioned drawbacks in a data transmission/reception system in which one word is transmitted/received using multiple parallel signals, and to provide a highly reliable data transmission/reception system with a simple hardware configuration. A feature of the present invention is that in a data transmission/reception method in which one word is transmitted and received using multiple parallel signals, the codes that can be used for each of the multiple parallel signals are different from the codes that can be used for other parallel signals. be. A detailed explanation of the present invention will be explained using the drawings. FIG. 1 shows a circuit using the data transmission/reception system of the present invention. 11 is a microcomputer on the data transmitting side, and 12 is a microcomputer on the data receiving side. Reference numeral 13 indicates four buses for transmitting data, which are connected between the four output ports of the microcomputer 11 and the four input ports of the microcomputer 12. In this circuit example, one word is transmitted and received using two 4-bit parallel signals. The code sent from the 11 side with the first 4-bit parallel signal is one of 10 to 15 in decimal notation, and the code sent with the second 4-bit parallel signal is a decimal number. It is one of 1 to 9 in notation. There are 6 types of words that can be sent using these two parallel signals.
There are 60 x10 pieces. Table 1 shows the character code table sent by this circuit.

【表】 このように、1回めのコードと2回めのコード
が必ず異なつたコードになつていてデータが必ず
変化するため、同期信号を必要としない。さら
に、そのデータが1回めか2回めかも判断できる
ため、信頼性の高いデータ送受信が可能である。 第2図には1回めか2回めかを判断するデコー
ダをハードウエアで構成した場合の回路図であ
る。これはソフトウエアでも処理できるものであ
る。31〜34は4本のデータバスであり、上から順
にビツト0、ビツト1、ビツト2、ビツト3とい
う順になつている。35のゲート群がデコーダ部
であり、コードが0〜9の時にLowレベルを出
力し、コードが10〜15の時にHighレベルを
出力する。この出力を見る事により現在入力され
ているコードが1回めのコードか2回めのコード
かを判断する事ができる。 第3図には第2図の回路の動作を示すタイミン
グチヤートを示す。41〜44は第3図の31〜
34の信号線に対応している。46は各タイミン
グでのコードを16進数で表わしたものであり、4
7は2つのコードにより表わされるキヤラクター
コードである。45は第2図のデコーダの出力で
あり、1つのキヤラクターコードに対して送出さ
れる2つのコードのうち1回めのコードの時に図
の様にHighレベルに、2回めのコードの時には
Lowレベルになつている。 本実施例においては、1回めのデータが10〜
15、2回めのデータが0〜9になつているが、
このようにバスラインの数が4ビツトの場合に
は、0〜15の16個のコードを1回めに使用可能
なコード群と2回めに使用可能なコード群に割り
振つている。この分け方はどのような比率でもよ
いが、本実施例の様に片側を0〜9にすると、数
値データの送受信を行なう際に送受信用のコード
の変換する必要がない。本実施例においては、1
回めのコードに“A”を送つた後、2回めには数
値データをそのまま送出する事により数値データ
を送信する事ができ、数値データの送受信におい
てコードを変換する必要がない。 以上の様に、本発明を用いると以下の様な効果
がある。 本発明では、複数回のパラレル信号により1ワ
ードを送受信するデータ送受信方式において、複
数回のパラレル信号のそれぞれに使用可能なコー
ド群が他のパラレル信号に使用可能なコード群と
すべて異なつているため、1回のコードを送出す
るたびに必ずコード内容が変わり、しかもその内
容により何回めのコードかわるため、パラレル信
号以外に制御線を必要とせず、ハードウエアの負
担を軽減できる。また、2回の4ビツトのパラレ
ル信号により1ワードを送受信する時、2回のデ
ータの一方に使用可能なコードが10進表記で0か
ら9であり、もう一方のパラレル信号に使用可能
なコードが10進表記で10〜15であるので、数
値を送受信する時、送受信用のコードに変換する
必要がないため制御が容易になる。
[Table] In this way, the first code and the second code are always different codes, and the data always changes, so a synchronization signal is not required. Furthermore, since it can be determined whether the data is being sent for the first time or the second time, highly reliable data transmission and reception is possible. FIG. 2 is a circuit diagram in which a decoder for determining whether it is the first or second time is constructed using hardware. This can also be processed by software. Numerals 31 to 34 are four data buses, which are arranged in order from the top: bit 0, bit 1, bit 2, and bit 3. A group of 35 gates is a decoder section, which outputs a low level when the code is 0 to 9, and outputs a high level when the code is 10 to 15. By looking at this output, it can be determined whether the currently input code is the first code or the second code. FIG. 3 shows a timing chart showing the operation of the circuit of FIG. 2. 41-44 are 31-44 in Figure 3
It supports 34 signal lines. 46 is the code at each timing expressed in hexadecimal, and 4
7 is a character code represented by two codes. 45 is the output of the decoder shown in Figure 2, which goes to High level as shown in the figure when the first code is sent out of the two codes sent for one character code, and when it is the second code.
It's at low level. In this example, the first data is 10~
15. The second data is 0 to 9, but
In this way, when the number of bus lines is 4 bits, 16 codes from 0 to 15 are allocated to the first usable code group and the second usable code group. Any ratio may be used for this division, but if one side is set to 0 to 9 as in this embodiment, there is no need to convert codes for transmission and reception when transmitting and receiving numerical data. In this example, 1
After sending the code "A" for the second time, numerical data can be transmitted by sending the numerical data as it is the second time, and there is no need to convert the code when transmitting and receiving numerical data. As described above, the use of the present invention has the following effects. In the present invention, in a data transmission/reception method in which one word is transmitted and received using multiple parallel signals, the code groups that can be used for each of the multiple parallel signals are all different from the code groups that can be used for other parallel signals. , the code content always changes each time the code is sent, and the code changes depending on the content, so no control line is required other than the parallel signal, reducing the burden on the hardware. Also, when transmitting and receiving one word using two 4-bit parallel signals, the code that can be used for one of the two data is 0 to 9 in decimal notation, and the code that can be used for the other parallel signal is 0 to 9 in decimal notation. is 10 to 15 in decimal notation, so when sending and receiving numerical values, there is no need to convert them into codes for sending and receiving, making control easier.

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

第1図は本発明の一実施例における構成図、第
2図は本発明の一実施例において、1回の信号か
2回めの信号かの判定回路。第3図は本発明の一
実施例におけるタイミング・チヤート。第4図は
従来の一実施例における構成図。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a circuit for determining whether it is a first signal or a second signal in an embodiment of the present invention. FIG. 3 is a timing chart in one embodiment of the present invention. FIG. 4 is a configuration diagram of a conventional embodiment.

Claims (1)

【特許請求の範囲】 1 データバスを介して所定のコード群から選択
したコードを複数回パラレル信号として送受信す
ることにより所定の信号を送受信するデータ送受
信装置において、 前記送受信装置は前記複数の送受信の各々で一
方のコード群内のコードは他のコード群内のコー
ドと異なるコードとなるように構成された異なる
コード群を使用するとともに、前記データバス上
のデータを判別することにより前記送受信された
データのコード群を検出する手段を備えたことを
特徴とするデータ送受信装置。
[Scope of Claims] 1. A data transmitting and receiving device that transmits and receives a predetermined signal by transmitting and receiving a code selected from a predetermined code group multiple times as a parallel signal via a data bus, wherein the transmitting and receiving device transmits and receives a plurality of codes. Each uses different code groups configured such that the code in one code group is different from the code in the other code group, and determines the data on the data bus to determine the transmitted and received data. A data transmitting/receiving device characterized by comprising means for detecting a code group of data.
JP57214469A 1982-12-06 1982-12-06 Data transmission and reception system Granted JPS59103448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57214469A JPS59103448A (en) 1982-12-06 1982-12-06 Data transmission and reception system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57214469A JPS59103448A (en) 1982-12-06 1982-12-06 Data transmission and reception system

Publications (2)

Publication Number Publication Date
JPS59103448A JPS59103448A (en) 1984-06-14
JPH0444455B2 true JPH0444455B2 (en) 1992-07-21

Family

ID=16656235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57214469A Granted JPS59103448A (en) 1982-12-06 1982-12-06 Data transmission and reception system

Country Status (1)

Country Link
JP (1) JPS59103448A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6162266A (en) * 1984-09-04 1986-03-31 Fujitsu Ltd Interface system of digital terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5479609A (en) * 1977-12-08 1979-06-25 Teac Corp Method of recording pcm signal
JPS54154910A (en) * 1978-05-29 1979-12-06 Matsushita Electric Works Ltd Data transmission system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5479609A (en) * 1977-12-08 1979-06-25 Teac Corp Method of recording pcm signal
JPS54154910A (en) * 1978-05-29 1979-12-06 Matsushita Electric Works Ltd Data transmission system

Also Published As

Publication number Publication date
JPS59103448A (en) 1984-06-14

Similar Documents

Publication Publication Date Title
CA1095604A (en) Computer interface
US4360918A (en) Arrangement for detecting defects during the asynchronous transfer of digital measured values
US6332173B2 (en) UART automatic parity support for frames with address bits
US6360290B1 (en) Commercial standard digital bus interface circuit
KR830008236A (en) Data processing system with device of communication subsystem to establish byte synchronization
JPH0444455B2 (en)
US4532627A (en) Time multiplex controlled data system
US5504865A (en) Data transfer system for effecting bidirectional data transfer among a plurality of microprocessors
EP0283847A3 (en) Apparatus for selecting a reference line for image data compression
JPH04287150A (en) Synchronous serial bus system
JPS6461851A (en) Data transmission/reception system
JP2864611B2 (en) Semiconductor memory
KR100225043B1 (en) Multiple serial communication method by using interrupt and its apparatus
JPS60235548A (en) Transmission system of signal frame
SU1675896A1 (en) Device for information changing of computer and peripherals
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
JPH0313038A (en) Asynchronous serial data transmitter
JPH0630506B2 (en) Serial communication device
JPH0544858B2 (en)
JPS62183233A (en) Error control system
RU2020744C1 (en) Universal modulo-m parallel counter-decoder of bits in n-bit binary code
KR830008233A (en) Communication multiplexer with device to establish single line priority
JPH03158041A (en) Data multiplex transfer system
JPS61131632A (en) Data format system for multiplex transmission
JPH0332138A (en) Interface controller