JPS6243931A - Character synchronizing device for synchronous communication - Google Patents

Character synchronizing device for synchronous communication

Info

Publication number
JPS6243931A
JPS6243931A JP60183195A JP18319585A JPS6243931A JP S6243931 A JPS6243931 A JP S6243931A JP 60183195 A JP60183195 A JP 60183195A JP 18319585 A JP18319585 A JP 18319585A JP S6243931 A JPS6243931 A JP S6243931A
Authority
JP
Japan
Prior art keywords
character
data
synchronization
synchronizing
synchronous
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
JP60183195A
Other languages
Japanese (ja)
Inventor
Osamu Yokofujita
横藤田 修
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60183195A priority Critical patent/JPS6243931A/en
Publication of JPS6243931A publication Critical patent/JPS6243931A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To attain synchronous communication by providing a frequency division circuit for character synchronization to the transmission side and providing a frequency division circuit for character synchronizing and a reception control section detecting a synchronizing character to the reception size to apply character synchronization at initial transmission only. CONSTITUTION:A synchronous communication equipment consists of a reception buffer means 4 using a synchronizing clock to fetch a serial data and storing it while shifting it sequentially, a synchronizing character detection means 9 detecting a synchronizing character from the serial data stored in the reception buffer means and a frequency division counting sequentially a synchronizing clock for bit number constituting a data and applying frequency division after the synchronizing character detection means is used to detect the synchronizing character. Then the reception buffer means 4 is synchronized one to one with the frequency division output of the frequency division means and the fetched serial data is outputted through an internal data bus in bit parallel.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はデータ等の送受信を行う通信装置に係り、特に
同期クロックに同期してデータの送受信を行う同期通信
のキャラクタ同期装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a communication device that transmits and receives data, and more particularly to a character synchronization device for synchronous communication that transmits and receives data in synchronization with a synchronization clock.

〔従来の技術〕[Conventional technology]

コンピュータ間の通信あるいはコンピュータと端末装置
間の通信には一般的に同期通信方式と非同期通信方式と
に大分される。同期通信方式は送るべきあるいは受信す
べきデータを同期クロックに同期してシリアルデータと
して送信あるいは受信する方式であり、非同期通信方式
はキャラクタやデータに対して例えば8ビット単位でス
タートビットやストップビット等の同期ビットをシリア
ルデータの前後に設けて送信あるいは受信する方式であ
る。非同期通信方式は送信装置、受信装置で別々のクロ
ック発生回路を有し、スタートビットをシリアルデータ
の先頭に、またストップビットをシリアルデータの後に
設けることにより、1デ一タ単位で同期してデータを送
受信するものであり、この方式の場合にはスタートビッ
トやストップビットを挿入するための回路を必要とする
Communication between computers or between a computer and a terminal device is generally divided into synchronous communication methods and asynchronous communication methods. The synchronous communication method is a method in which the data to be sent or received is sent or received as serial data in synchronization with a synchronous clock, whereas the asynchronous communication method is a method in which the data to be sent or received is sent or received as serial data in synchronization with a synchronous clock.The asynchronous communication method is a method in which the data to be sent or received is sent or received as serial data in synchronization with a synchronous clock. This is a method of transmitting or receiving serial data by providing synchronization bits before and after the serial data. The asynchronous communication method has separate clock generation circuits in the transmitting device and the receiving device, and by providing a start bit at the beginning of the serial data and a stop bit after the serial data, the data is synchronized in units of data. This method requires a circuit to insert start bits and stop bits.

さらに、データの前後に前述したスタートビットやスト
ップビットを設けるために伝送効率が低下してしまう。
Furthermore, since the above-mentioned start bit and stop bit are provided before and after the data, transmission efficiency decreases.

同期通信方式はこのようなスタートビットやストップビ
ットを挿入する回路を必要とせず、さらにこのようなス
タートビットやストップビットを挿入しないので伝送効
率がよいという特徴を有している。このため、コンピュ
ータ間の多量データの通信においては一般的に同期通信
方式が多く使用されている。
The synchronous communication method does not require a circuit for inserting such start bits and stop bits, and is also characterized by high transmission efficiency because such start bits and stop bits are not inserted. For this reason, the synchronous communication method is generally used in communication of large amounts of data between computers.

一方、同期通信方式は、受信したデータの区切り等を明
確にするため、1伝送ブロツクや1伝送コントロールブ
ロツクごとにキャラクタ同期をとらなくてはならない。
On the other hand, in the synchronous communication method, characters must be synchronized for each transmission block or transmission control block in order to clearly demarcate the received data.

例えばBSC通信等の場合には送信側と受信側間で共に
有する同期クロックに同期して送るENQやACKなど
のコンI・ロールコード(TCC)を送るための同期キ
ャラクタ(SYN)の送信、さらにはデータを送るため
の前述と同様の同期キャラクタ(SYN)の送信を行わ
な(てはならない。
For example, in the case of BSC communication, transmission of a synchronization character (SYN) to send control I/roll codes (TCC) such as ENQ and ACK that are sent in synchronization with a synchronization clock shared between the sending and receiving sides, and must transmit a synchronization character (SYN) similar to that described above to send data.

一般的にこのような同期キャラクタすなわちSYNキャ
ラクタは1ブロツクの直前に5〜15文字程送信される
。このため少ないデータの転送においては、そのつど同
期キャラクタを挿入するので。
Generally, 5 to 15 such synchronization characters or SYN characters are transmitted immediately before one block. For this reason, a synchronization character is inserted each time a small amount of data is transferred.

これらの同期キャラクタの送信が多くの時間を有するこ
ととなり、伝送効率が低下するという問題を有していた
There was a problem in that the transmission of these synchronization characters took a lot of time, resulting in a decrease in transmission efficiency.

〔発明の目的〕[Purpose of the invention]

本発明は上記従来の欠点に鑑み、TCCや伝送ブロック
ごとに設けていたキャラクタ同期文字(SYN)が不要
となり、さらに伝送効率を向上した同期通信のキャラク
タ同期装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional drawbacks, it is an object of the present invention to provide a character synchronization device for synchronous communication that eliminates the need for TCC and character synchronization characters (SYN) provided for each transmission block and further improves transmission efficiency.

〔発明の要点〕[Key points of the invention]

本発明は上記目的を達成するために、同期通信装置にお
いて、同クロックによってシリアルデータを堰込み順次
シフトシて記憶する受信制御手段と。
In order to achieve the above object, the present invention provides a reception control means for sequentially shifting and storing serial data in a synchronous communication device using the same clock.

該受信制御手段内に記憶されているシリアルデータより
同期キャラクタコードを検出する同期キャラクタ検出手
段と。
Synchronization character detection means for detecting a synchronization character code from serial data stored in the reception control means.

該同期キャラクタ検出手段によって同期キャラクタを検
出した以後、キャラクタを構成するビット数分の前記同
期クロックを順次カウントして分周する分周手段より成
り、前記受信制御手段は前・記分周手段の分周出力に1
対1で同期して前記取込んだシリアルデータをパラレル
データにして出力することを特徴とする。
After the synchronization character is detected by the synchronization character detection means, the frequency division means sequentially counts and divides the synchronization clock for the number of bits constituting the character, and the reception control means controls the frequency division means. 1 for divided output
It is characterized in that the captured serial data is output as parallel data in one-to-one synchronization.

そして、その作用は同期通信装置においてデータやキャ
ラクタを構成するビット数分の同期クロックの分周を行
う前記分周手段によって、送信機側においては送信する
データやキャラクタ単位での同期信号を発生し、受信機
側においては、前記受信制御手段によってシリアルデー
タをパラレルデータに変換して受信するデータやキャラ
クタ単位での取込みタイミングを発生する。
The effect is that in the synchronous communication device, the frequency dividing means divides the frequency of the synchronous clock by the number of bits constituting the data or character, and on the transmitter side, a synchronous signal is generated for each data or character to be transmitted. On the receiver side, the reception control means converts the serial data into parallel data and generates the data to be received and the timing for taking in each character.

なお、受信機側においては、ブロックの先頭に挿入され
ている同期キャラクタを前記同期キャラクタ検出手段に
よって検出した時より前記分周手段はカウントを開始し
、同期信号を発生する。
On the receiver side, when the synchronization character detection means detects the synchronization character inserted at the beginning of the block, the frequency division means starts counting and generates a synchronization signal.

〔実 施 例〕〔Example〕

以下1図面を用いて本発明の詳細な説明する。 The present invention will be described in detail below using one drawing.

第1図は本発明の実施例の回路構成図である。FIG. 1 is a circuit diagram of an embodiment of the present invention.

内部データバス1にはデータバスバッファ2.送信バッ
ファ3.受信バッファ4.モデム制御部5が記憶されて
いる。この内部データバス1を介してデータバスバッフ
ァ22に格納されたデータが送信バッファを介して送信
データTxDとして出力され、また受信バッファに加わ
った受信データRxDが入力される。
The internal data bus 1 has a data bus buffer 2. Transmission buffer 3. Receive buffer 4. A modem control unit 5 is stored. The data stored in the data bus buffer 22 is output via the internal data bus 1 as transmit data TxD via the transmit buffer, and the receive data RxD added to the receive buffer is input.

まず、データの送信について説明する。First, data transmission will be explained.

モデム制御部5は図示しないモデム装置の通信制御信号
DSR,DTR,CTS、RTSを送受して9本装置が
動作状態やモデムが通信可能であることを確認する回路
である。図示しないが、外部データバスに接続されてい
るマイクロプロセッサによってデータバスバッファを介
して本装置が動作状態となったことを通知する信号がモ
デム制御部5に加わり、モデム装置よりDSR,CTS
が加わるとモデム制御部5はモデム装置に対しDTPと
RTSを出力するとともに送信制御部6にレディ信号R
DYを出力する。
The modem control unit 5 is a circuit that sends and receives communication control signals DSR, DTR, CTS, and RTS from modem devices (not shown) to confirm the operating state of the nine devices and whether the modem is capable of communication. Although not shown, a signal notifying that the device is in operation is applied to the modem control unit 5 via a data bus buffer by a microprocessor connected to an external data bus, and the modem device sends DSR and CTS signals to the modem control unit 5.
, the modem control section 5 outputs DTP and RTS to the modem device, and sends a ready signal R to the transmission control section 6.
Output DY.

なお、内部データバス1を介しての制御データの書込み
並びに読出しはリードライト制御部7より加わる制御信
号によってなされる。
Note that writing and reading of control data via the internal data bus 1 is performed by control signals applied from the read/write control section 7.

一方、リードライト制御部7には前述したマイクロプロ
セッサのリードライト信号と選択信号C/Dが加わって
いる。マイクロプロセッサ等より出力されたデータが格
納されているデータバスバッファより格納しているデー
タを出力する制御信号をリードライト制御部7はデータ
バスバッファ2に加える。この信号により、データバス
バッファ2は内部データバスにデータを出力する。リー
ドライト制御部7は送信バッファ3にデータを取り込む
取込み制御信号を送信制御部6に加える。
On the other hand, the read/write control section 7 receives the read/write signal and selection signal C/D from the microprocessor mentioned above. The read/write control unit 7 applies a control signal to the data bus buffer 2 to output the stored data from the data bus buffer in which data output from a microprocessor or the like is stored. In response to this signal, data bus buffer 2 outputs data to the internal data bus. The read/write control section 7 applies an acquisition control signal to the transmission control section 6 to acquire data into the transmission buffer 3 .

送信制御部6はその取込み制御信号で内部データバス1
に出力されているデータを送信バッファに取り込むとと
もにパラレル/シリアルに変換して送信データT、Dを
出力するスタート信号を送信バッファ3に出力する。な
お、スタート信号とは図示しないモデム装置より加わる
送信クロックTxCのシリアルデータ分のクロックより
成る。
The transmission control unit 6 transmits the internal data bus 1 using the acquisition control signal.
A start signal is output to the transmission buffer 3, which takes in the data output to the transmission buffer 3, converts it into parallel/serial data, and outputs the transmission data T and D. Note that the start signal consists of a clock for serial data of the transmission clock TxC applied from a modem device (not shown).

送信バッファ3はこのスタート信号によってデータを取
り込むことにも、そのパラレルデータをシリアルデータ
に変換して出力する。
The transmission buffer 3 not only takes in data in response to this start signal, but also converts the parallel data into serial data and outputs it.

前述した送信制御部6はスタート信号を送信バッファに
出力すると同時にさらにキャラクタ同期用カウンタ8に
カウントスタート信号を出力する。
The aforementioned transmission control section 6 outputs a start signal to the transmission buffer and at the same time further outputs a count start signal to the character synchronization counter 8.

キャラクタ同期用カウンタ8には送信クロックTxCが
加わっており、キャラクタ同期用カウンタ8はカウント
スタート信号が加わったと同時にこの送信り1]ツクT
XCのカウントを開始し、1データを構成するビット数
分の分周を行って送信制御部6に出力する。キャラクタ
同期用カウンタ8は前述した力うントスタート信号が加
わった時から常に分周し1分周信号を出力するので、リ
ードライト制御部7の制御によってデータバスバッファ
2に格納されるデータを順次キャラクタ同期用カウンタ
8より加わる分周信号すなわちキャラクタ同期信号TX
CCに同期して送信バッファ3より出力するように送信
制御部6は制御する。
A transmission clock TxC is applied to the character synchronization counter 8, and the character synchronization counter 8 receives the transmission clock TxC at the same time as the count start signal is applied.
It starts counting XC, performs frequency division by the number of bits constituting one data, and outputs the result to the transmission control section 6. Since the character synchronization counter 8 always divides the frequency and outputs a frequency-divided signal by 1 from the time when the above-mentioned load start signal is applied, the data stored in the data bus buffer 2 is sequentially processed under the control of the read/write control section 7. Frequency-divided signal added from character synchronization counter 8, that is, character synchronization signal TX
The transmission control unit 6 controls the transmission buffer 3 to output the signal in synchronization with the CC.

第2図は本発明の実施例のキャラクタ同期信号TxCC
と送信データのタイミングチャート図である。本発明の
実施例においては1データすなわち1キヤラクタ(1文
字)は8ビツトよりなっており、8個の送信クロックに
対して1文字を送信するように構成されている。第1文
字例えばSYNが送信された時よりキャラクタ同期信号
が出力され、続いて第2文字・・・とキャラクタ同期信
号に同期して送出される。なお2本発明の実施例におい
ては、キャラクタ同期用カウンタ8がカラントを開始し
た時の送信データは同期キャラクタである。
FIG. 2 shows the character synchronization signal TxCC of the embodiment of the present invention.
and a timing chart of transmission data. In the embodiment of the present invention, one data, that is, one character (one character) consists of 8 bits, and one character is transmitted in response to eight transmission clocks. When the first character, for example SYN, is transmitted, a character synchronization signal is output, and then the second character, etc. are transmitted in synchronization with the character synchronization signal. In the second embodiment of the present invention, the transmission data when the character synchronization counter 8 starts a current is a synchronization character.

前述した動作により、連続的に外部データバスより加わ
るデータやキャラクタ等が送信データTXDすなわちシ
リアルデータがモデム装置を介して他のコンピュータに
加わる。
Through the above-described operation, data, characters, etc., which are continuously added from the external data bus, and transmission data TXD, that is, serial data, are sent to another computer via the modem device.

第1図に示した本発明の実施例は対向して用いられるも
のであり、前述した動作の送信データは後述する本発明
の実施例の受信機能によって正常に受信される。
The embodiment of the present invention shown in FIG. 1 is used oppositely, and the transmission data of the above-described operation is normally received by the receiving function of the embodiment of the present invention, which will be described later.

前述した送信機能によって出力された送信データがモデ
ムを介して受信データRx Dとして第1図に示した9
本発明の実施例の受信バッファ4に加わると、受信バッ
ファ4は順次加わるシリアルの受信データRXDをシフ
トレジスタに格納する。
The transmission data outputted by the above-mentioned transmission function is transmitted via the modem as reception data Rx D as shown in FIG.
When added to the reception buffer 4 of the embodiment of the present invention, the reception buffer 4 stores serial reception data RXD added sequentially in a shift register.

なお、受信バッファ4には受信制御部9を介して受信ク
ロックが加わっており、この受信クロックに同期して前
述した受信データRx Dをシフトする。受信バッファ
4内には順次シフトするデータのうち、8ビツトが特定
コード(SYN)であるかを判別する比較回路を有して
おり、比較回路によって特定コード(SYN)すなわち
同期キャラクタを検出した時に、受信制御部9に一致検
出信号を出力する。受信制御部9ば、一致検出信号が加
わった時にキャラクタ同期用カウンタ10にカウントス
タート信号を出力する。キャラクタ同期用カウンタ10
には受信クロックが加わっており。
Note that a reception clock is applied to the reception buffer 4 via the reception control section 9, and the aforementioned reception data RxD is shifted in synchronization with this reception clock. The reception buffer 4 has a comparison circuit that determines whether 8 bits of the sequentially shifted data are a specific code (SYN), and when the comparison circuit detects a specific code (SYN), that is, a synchronization character. , outputs a coincidence detection signal to the reception control section 9. The reception control section 9 outputs a count start signal to the character synchronization counter 10 when the coincidence detection signal is added. Character synchronization counter 10
includes a receive clock.

カウントスタート信号が加わった時にキャラクタ同期用
カウンタ10はカウントを開始し、データを構成するビ
ット数の分周すなわち8分周して受信制御部9にキャラ
クタ同期信号として出力する。
When the count start signal is applied, the character synchronization counter 10 starts counting, divides the frequency by the number of bits constituting the data, that is, divides the frequency by 8, and outputs the frequency to the reception control section 9 as a character synchronization signal.

一致が検出された以後は、前述のキャラクタ同期用カウ
ンタは受信クロックを順次カウントし、8分周したキャ
ラクタ同期信号RxCCを出力するので、受信制御部9
はこのキャラクタ同期信号Rx CCに同期してシフト
レジスタ内を順次シフトしている受信データをパラレル
に変換して内部データバス1を介して受信バッファ4の
内容をデータバスバッファ2に格納する。
After a match is detected, the character synchronization counter described above sequentially counts the received clock and outputs the character synchronization signal RxCC whose frequency is divided by eight, so that the reception control unit 9
converts the received data sequentially shifted in the shift register in synchronization with the character synchronization signal Rx CC into parallel data, and stores the contents of the receive buffer 4 in the data bus buffer 2 via the internal data bus 1.

第3図は本発明の実施例のキャラクタ同期信号RxCC
と受信データのタイミングチャー1図である。前述した
ように本発明の実施例においては1データすなわち1キ
ヤラクタ(1文字)は8ビツトよりなっており、8個の
受信クロックに対して1データを受信するように構成さ
れている。そして同期確立文字すなわち同期キャラクタ
を検出した時より、キャラクタ同期用クロックR,CC
が発生し、以後のデータはこのキャラクタ同期用クロッ
クRxCCに同期して無条件で分離される。
FIG. 3 shows the character synchronization signal RxCC of the embodiment of the present invention.
FIG. 1 is a timing chart of received data. As described above, in the embodiment of the present invention, one data, that is, one character (one character) consists of 8 bits, and one data is received for eight reception clocks. Then, from the time the synchronization establishment character, that is, the synchronization character is detected, the character synchronization clocks R and CC are
is generated, and subsequent data is unconditionally separated in synchronization with this character synchronization clock RxCC.

受信データは一般的に複数文字のブロックよりなりるも
のであり、続いて加わる受信データは前述した受信制御
部9の制御により、順次受信バッファ4よりデータバス
バッファ2に格納され、マイクロプロセッサ等が接続さ
れいてる外部データバスを介して取込まれる。
The received data generally consists of a block of multiple characters, and the subsequent received data is sequentially stored from the receive buffer 4 to the data bus buffer 2 under the control of the above-mentioned reception control unit 9, and is then stored in the data bus buffer 2 by the microprocessor etc. Captured via the connected external data bus.

前述した送信制御部6並びに受信制御部からはそれぞれ
、外部データバスに接続されているマイクロプロセッサ
等に送信可能信号T、RDY、受信完了信号R,RDY
が加わる構成となっている。
The aforementioned transmission control unit 6 and reception control unit respectively send transmittable signals T and RDY and reception completion signals R and RDY to the microprocessor connected to the external data bus.
The configuration includes the addition of

送信可能信号はデータバスバッファ2に格納されている
データが送信バッファに格納され1次のデータをデータ
バスバッファに格納することが可能であることを表わす
信号である。なお、送信バッファに格納されたデータは
送信制御部6より加わるクロックによって自動的に送出
される。また。
The transmission enable signal is a signal indicating that the data stored in the data bus buffer 2 is stored in the transmission buffer and that the primary data can be stored in the data bus buffer. Note that the data stored in the transmission buffer is automatically sent out by a clock applied from the transmission control section 6. Also.

受信完了信号RXRDYは受信データを受信し。The reception completion signal RXRDY receives the reception data.

データバスバッファ2にデータが格納されたことを表わ
す信号である。
This signal indicates that data is stored in the data bus buffer 2.

例えばこれらの信号はマイクロプロセッサへの割り込み
として用いられている。
For example, these signals are used as interrupts to microprocessors.

送信制御部6.受信制御部9にはリードライト制御部7
より制御信号が加わっているが、これは送信データをデ
ータバスバッファ2から送信バッファ3へ移動させるた
めの送信制御部6への制御。
Transmission control unit 6. The reception control unit 9 includes a read/write control unit 7.
A control signal is added, which controls the transmission control unit 6 to move the transmission data from the data bus buffer 2 to the transmission buffer 3.

信号と、その逆に受信バッファ4がらデータバスバッフ
ァ2へ受信データを移動させるための受信制御部9への
制御信号である。
and vice versa, a control signal to the reception control section 9 for moving the received data from the reception buffer 4 to the data bus buffer 2.

以上述べた動作によって1回の同期キャラクタによって
送信側装置と受信側装置とのキャラクタ同期も可能とな
る。よって続くデータブロックさらには順次続く次のデ
ータブロックも送信側と受信側において同期はずれが発
生しない限り、何ら同期キャラクタを挿入する必要はな
い。
The operations described above enable character synchronization between the transmitting side device and the receiving side device using one synchronization character. Therefore, there is no need to insert any synchronization character in the following data block or even in the next successive data block, unless synchronization occurs between the transmitting side and the receiving side.

送信制御部6.受信制御部9には図示しない外部のマイ
クロプロセッサ等より出力されるキャラクタ同期確立要
求信号5YNDETが加わっているが、この信号によっ
て送信制御部6はキャラクタ同期用カウンタを動作させ
、受信制御部9は受信データの比較動作して一致した時
にキャラクタ同期用カウンタを動作させる。
Transmission control unit 6. A character synchronization establishment request signal 5YNDET output from an external microprocessor (not shown) is added to the reception control section 9. This signal causes the transmission control section 6 to operate a character synchronization counter, and the reception control section 9 The received data is compared and when they match, the character synchronization counter is operated.

第4図は本発明の実施例における送信側装置と受信側装
置の手順を表わすタイミングチャート図である。送信側
装置より何らかの条件により、データブロックを送信す
る時にはまず同期キャラクタSYNを複数回送出する。
FIG. 4 is a timing chart showing the procedure of the transmitting side device and the receiving side device in the embodiment of the present invention. When transmitting a data block, the transmitting device first sends out a synchronization character SYN multiple times under some conditions.

この複数回の送出で1個のデータブロックを構成してい
る。この同期キャラクタSYNの送信によって受信側装
置のキャラクタ同期信号が前述したキャラクタ同期用カ
ウンタより発生し、以後のキャラクタ同期がなされる。
These multiple transmissions constitute one data block. By transmitting this synchronization character SYN, a character synchronization signal of the receiving side device is generated from the character synchronization counter described above, and subsequent character synchronization is performed.

そして2次に、受信側装置が第1番目のデ−タブロック
すなわち複数の同期キャラクタとENQよりなるデータ
ブロックを受信したことを表わす7ソク信号八C1く0
を送るため、複数の同期f3υSYNとアノク信−AC
K Oよりなる第1の応答データブ11ツクを送1八側
装置に送る。受信側装置から送る第1番L1のブ17ノ
クにも同期キャラクタを複数有しているので、送信側装
置のキャラクタ同期用カウンタよりキャラクタ同期信号
が発生し、これによってACK Oを受信することがで
きる。前述した送信側装置と受信側装置とはそれぞれの
キャラクタ同期用カウンタ10がキャラクタ同期信号を
発4トするので、以後の送信にはSTXとデータ並びに
ETr3のみで1データブロツクが送出できる。また、
受信側装置からの応答ではアソク信号ACK1等のみを
送出するだけで可能となる。前述動作は1例えばBSC
手順等の1順を有するものに限らず、全く手順のないデ
ータ伝送においても同期通信である場合には応用可能で
ある。
Second, a 7-segment signal 8C1-0 indicates that the receiving device has received the first data block, that is, a data block consisting of a plurality of synchronization characters and ENQ.
To send multiple synchronized f3υSYN and Anok signals to AC
The first response data block 11 consisting of KO is sent to the sending device. Since the No. 1 L1 block 17 sent from the receiving device also has a plurality of synchronization characters, the character synchronization counter of the sending device generates a character synchronization signal, which makes it possible to receive ACK O. can. Since the character synchronization counter 10 of each of the above-mentioned transmitting side device and receiving side device generates a character synchronization signal, one data block can be sent out using only STX, data, and ETr3 for subsequent transmission. Also,
As a response from the receiving side device, it is possible to do this simply by sending only the answer signal ACK1 or the like. The above operation is 1, for example BSC
The present invention is applicable not only to data transmission having a single order of procedures, but also to data transmission without any procedure, provided that the communication is synchronous.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明は同期通信装置において、送信
側にはキャラクタ同期用の分周回路を設け、また受信側
にはキャラクタ同期用の分周回路と同期キャラクタの検
出を行う受信制御部を設けることによってキャラクタ同
期をイニシャル送信の時にのみ行って同期通信を可能と
したものであり1本発明によれば不必要な同期キャラク
タSYNやTCC制御のコードの送信を常に行うことな
く同期通信が可能となり、伝送効率のよい同期通信のキ
ャラクタ同期装置を得ることができる。
As described above, the present invention provides a synchronous communication device in which a frequency dividing circuit for character synchronization is provided on the transmitting side, and a frequency dividing circuit for character synchronization and a reception control unit for detecting a synchronization character are provided on the receiving side. By providing this, it is possible to perform synchronous communication by performing character synchronization only at the time of initial transmission.1 According to the present invention, synchronous communication is possible without constantly transmitting unnecessary synchronization characters SYN and TCC control codes. Therefore, a character synchronization device for synchronous communication with high transmission efficiency can be obtained.

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

第1図は本発明の実施例の回路構成図。 第2図は送信時のキャラクタ同期信号の送信データのタ
イミングチャート。 第3図は受信時のキャラクタ同期信号と受信データのタ
イミングチャート。 第4図は本発明の送受信における手順を表わすタイミン
グチャートである。 3・・・送信バッファ。 4・・・受信バッファ。 8.10・・・キャラクタ同期用カウンタ。 6・・・送信制御部。 9・・・受信制御部。
FIG. 1 is a circuit configuration diagram of an embodiment of the present invention. FIG. 2 is a timing chart of transmission data of a character synchronization signal during transmission. FIG. 3 is a timing chart of character synchronization signals and received data during reception. FIG. 4 is a timing chart showing the procedure for transmitting and receiving according to the present invention. 3... Transmission buffer. 4...Reception buffer. 8.10...Character synchronization counter. 6... Transmission control unit. 9...Reception control section.

Claims (2)

【特許請求の範囲】[Claims] (1)同期通信装置において、同期クロックによってシ
リアルデータを取込み順次シフトして記憶する受信バッ
ファ手段(4)と、 該受信バッファ手段内に記憶されているシリアルデータ
より同期キャラクタを検出する同期キャラクタ検出手段
(9)と、 該同期キャラクタ検出手段によって同期キャラクタを検
出した以後、データを構成するビット数分の前記同期ク
ロックを順次カウントして分周する分周手段(10)よ
り成り、前記受信バッファ手段(4)は前記分周手段の
分周出力に1対1で同期して、前記取込んだシリアルデ
ータを内部データバスはビットパラレルにして出力する
ことを特徴とした同期通信のキャラクタ同期装置。
(1) In a synchronous communication device, receiving buffer means (4) receives serial data using a synchronous clock, sequentially shifts and stores the data, and synchronous character detection detects a synchronous character from the serial data stored in the receiving buffer means. means (9); and frequency dividing means (10) for sequentially counting and frequency-dividing the synchronizing clock for the number of bits constituting data after the synchronizing character is detected by the synchronizing character detecting means, Means (4) is a character synchronization device for synchronous communication, characterized in that the means (4) synchronizes one-to-one with the frequency-divided output of the frequency dividing means and outputs the captured serial data with the internal data bus being bit-parallel. .
(2)同期通信装置において、パラレルデータを同期ク
ロックに同期してシリアルデータに変換する送信バッフ
ァ手段(3)と、同期キャラクタを送信した時に前記同
期クロックのカウントを開始し、データを構成するビッ
ト数分の前記同期クロックを順次カウントして分周する
分周手段(8)より成り、前記送信バッファ手段は前記
分周手段の分周出力に1対1で同期して前記パラレルデ
ータをシリアルデータに変換して出力することを特徴と
した同期通信のキャラクタ同期装置。
(2) In a synchronous communication device, a transmission buffer means (3) converts parallel data into serial data in synchronization with a synchronous clock, and a bit that starts counting the synchronous clock when a synchronous character is transmitted and constitutes data. The transmitting buffer means converts the parallel data into serial data in one-to-one synchronization with the divided output of the frequency dividing means. A character synchronization device for synchronous communication characterized by converting and outputting a character.
JP60183195A 1985-08-21 1985-08-21 Character synchronizing device for synchronous communication Pending JPS6243931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60183195A JPS6243931A (en) 1985-08-21 1985-08-21 Character synchronizing device for synchronous communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60183195A JPS6243931A (en) 1985-08-21 1985-08-21 Character synchronizing device for synchronous communication

Publications (1)

Publication Number Publication Date
JPS6243931A true JPS6243931A (en) 1987-02-25

Family

ID=16131429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60183195A Pending JPS6243931A (en) 1985-08-21 1985-08-21 Character synchronizing device for synchronous communication

Country Status (1)

Country Link
JP (1) JPS6243931A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5372111A (en) * 1991-03-30 1994-12-13 Robert Bosch Gmbh Fuel injection pump with speed governor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5372111A (en) * 1991-03-30 1994-12-13 Robert Bosch Gmbh Fuel injection pump with speed governor

Similar Documents

Publication Publication Date Title
US3975712A (en) Asynchronous communication interface adaptor
US3979732A (en) Asynchronous status interlock circuit for interface adaptor
JPH0223456A (en) Fast parallel transfer method and apparatus for data burst
US6763413B2 (en) Method for the serial transfer of data between two electronic bus stations and bus station for use in said method
US6463494B1 (en) Method and system for implementing control signals on a low pin count bus
US5966409A (en) Data transmission unit
JPS6243931A (en) Character synchronizing device for synchronous communication
KR950009409B1 (en) Serial input/output interface device and rnethod there of
EP1128272B1 (en) Method for the serial transfer of data between two electronic bus stations and bus station for use in said method
US5701546A (en) Parallel interface circuit having a n-byte buffer and tansmitting the n byte data on a byte-by-byte basis in response to interrupt request signal
JPH0630506B2 (en) Serial communication device
JP2623816B2 (en) Signal transmission method
KR200233848Y1 (en) Universal asynchronous receiver/transmitter
JPH0311143B2 (en)
JPH01147765A (en) Data transfer controller
JP2001127826A (en) Synchronous serial communication controller
KR200345282Y1 (en) Interface device for air route data display of asr-system
CN118605692A (en) Clock domain conversion circuit, method and related device
JP2932851B2 (en) Asynchronous serial data transceiver
JPH04270521A (en) Multiplex channel receiver
JPH11186997A (en) Slip control processing circuit
JPS594322A (en) Data processing system
JPH10105375A (en) Asynchronous fifo buffer device
JPH0439938B2 (en)
JPH02120946A (en) Control system for distributed file