[go: up one dir, main page]

JPH04111637A - Data transmission speed automatic recognition device - Google Patents

Data transmission speed automatic recognition device

Info

Publication number
JPH04111637A
JPH04111637A JP2229737A JP22973790A JPH04111637A JP H04111637 A JPH04111637 A JP H04111637A JP 2229737 A JP2229737 A JP 2229737A JP 22973790 A JP22973790 A JP 22973790A JP H04111637 A JPH04111637 A JP H04111637A
Authority
JP
Japan
Prior art keywords
circuit
data
bit
memory
reception data
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
JP2229737A
Other languages
Japanese (ja)
Inventor
Toshiaki Miyake
俊明 三宅
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2229737A priority Critical patent/JPH04111637A/en
Publication of JPH04111637A publication Critical patent/JPH04111637A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To receive a data at an optional transmission speed by sampling and storing a reception data and reading the data in response to a request of a master set. CONSTITUTION:A reception data is inputted to a start bit detection circuit 1 and a latch circuit 3. The detection circuit 1 sends a count start signal to an address control circuit 2. The control circuit 2 gives a clock from a clock generator 8 to the latch circuit 3, which latches the reception data. A selector 4 stores the reception data to a memory 5 and outputs the reception data to a bit check circuit 6 from a memory 5. The bit check circuit 6 outputs a reception data to the latch circuit 7 when no error exists and outputs an interruption signal to a CPU of a master set simultaneously. The latch circuit 7 latches the reception data till the CPU of the master set reads the data. The CPU of the master set reads the reception data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は調歩同期通信に利用されるデータ伝送速度自動
認識装置に関し、特に中央演算装置(CPU)を用いた
通信装置に用いられる装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic data transmission rate recognition device used in start-stop synchronous communication, and particularly to a device used in a communication device using a central processing unit (CPU).

〔従来の技術〕[Conventional technology]

従来、調歩同期通信では、受信側において事前に伝送速
度を知り、受信装置にその値を設定する必要がある。こ
のため、受信側で伝送速度を自動判定する装置が提案さ
れており、例えば特開平l−305644号に開示され
いてるように、送信側でデータの特定ピントに細工をし
、受信側ではこの特定ビットを利用することにより速度
を自動判定している。
Conventionally, in asynchronous communication, it is necessary for the receiving side to know the transmission speed in advance and set that value in the receiving device. For this reason, a device has been proposed that automatically determines the transmission speed on the receiving side. For example, as disclosed in Japanese Patent Application Laid-open No. 1-305644, the transmitting side manipulates the data to a specific focus, and the receiving side The speed is automatically determined by using bits.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、前者の受信装置では、伝送速度を事前に
知ってその値を設定しても、伝送速度が固定されている
ため、伝送速度の異なる端末と接続することはできない
という問題がある。
However, the former receiving device has a problem in that even if the transmission rate is known in advance and the value is set, the transmission rate is fixed and it is not possible to connect to a terminal with a different transmission rate.

また、後者の伝送速度を自動判定する受信装置では、送
信装置側でデータに細工する必要があるため、汎用の装
置と接続して伝送速度の自動判定を行うことができず、
専用の送信装置を用いる必要があるという問題がある。
In addition, the latter type of receiving device that automatically determines the transmission speed requires modification of the data on the transmitting device side, so it cannot be connected to a general-purpose device to automatically determine the transmission speed.
There is a problem in that it is necessary to use a dedicated transmitter.

本発明の目的は、汎用の装置と接続して任意の伝送速度
のデータ受信を可能とするデータ伝送速度自動認識装置
を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic data transmission rate recognition device that can be connected to a general-purpose device and can receive data at any transmission rate.

[課題を解決するための手段] 本発明のデータ伝送速度自動認識装置は、調歩同期通信
のスタートビ、トを検出するスタートピント検出回路と
、受信データをサンプリングするラッチ回路と、サンプ
リングされた受信データを蓄えるメモリと、サンプリン
グ時とビットチェック時にメモリからの入出力を制御す
るセレクタと、サンプリングおよびピントチェックのメ
モリアドレスを制御するアドレス制御回路と、スタート
ビット、ストップビットおよびパリティピントをチェッ
クするビットチェック回路と、親装置の中央演算装置に
接続されるラッチ回路とで構成される。
[Means for Solving the Problems] The data transmission speed automatic recognition device of the present invention includes a start focus detection circuit that detects the start bit and g of start-stop synchronization communication, a latch circuit that samples received data, and a A memory that stores data, a selector that controls input/output from the memory during sampling and bit checking, an address control circuit that controls memory addresses for sampling and focus checking, and bits that check start bit, stop bit, and parity focus. It consists of a check circuit and a latch circuit connected to the central processing unit of the parent device.

なお、アドレス制御回路は、クロンク発生器からの高速
クロックによりラッチ回路およびメモリを動作させるよ
うに構成される。
Note that the address control circuit is configured to operate the latch circuit and memory using a high-speed clock from the clock generator.

〔作用〕[Effect]

本発明によれば、スタートピントを検出したときから高
速度で受信データをサンプリングしてこれを蓄えておき
1、かつ伝送速度に応したサンプリングデータを用いて
エラーチェックをし、親装置の要求に応して受信データ
を読込ませるので、異なる種々の伝送速度への対応が可
能となる。
According to the present invention, received data is sampled and stored at high speed from the time the start focus is detected, and error checking is performed using the sampling data corresponding to the transmission speed to meet the requests of the parent device. Since the received data is read accordingly, it is possible to deal with various different transmission speeds.

〔実施例] 次に、本発明を図面を参照して説明する。〔Example] Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、受信装
置の要部を示している。受信装置が受信データを受信す
ると、この受信データはスタートビット検出回路1とラ
ッチ回路3に入力される。スタートピント検出回路1で
は、受信データの立下がりを検出すると、アドレス制御
回路2にカウントスタート信号を送る。アドレス制御回
路2はクロンク発生器8からの1/19200のクロン
クをラッチ回路3に渡し、ラッチ回1!I3はそのクロ
ンクムこしたがって受信データをラッチする。
FIG. 1 is a block diagram of an embodiment of the present invention, showing the main parts of a receiving device. When the receiving device receives received data, this received data is input to a start bit detection circuit 1 and a latch circuit 3. When the start focus detection circuit 1 detects a falling edge of the received data, it sends a count start signal to the address control circuit 2. The address control circuit 2 passes the 1/19200 clock from the clock generator 8 to the latch circuit 3, and latches 1! I3 thus latches the received data.

セレクタ4は、このデータラッチ時にはラッチ回路3か
らメモリ5へ受信データを通し、メモリ5はアドレス制
御回路2により与えられるアドレスにラッチされた受信
データを前記クロンクと同期して格納する。
At the time of data latching, the selector 4 passes the received data from the latch circuit 3 to the memory 5, and the memory 5 stores the received data latched at the address given by the address control circuit 2 in synchronization with the clock.

また、アドレス制御回路2は必要数の受信データのラッ
チが行われると、セレクタ4を通して格納した受信デー
タをメモリ5がらビットチェック回路6に出力する。こ
のときには、ビ・ントチェック回路6からの要求により
、格納した受信データのアドレスを指定する。
Further, when the required number of received data is latched, the address control circuit 2 outputs the received data stored through the selector 4 from the memory 5 to the bit check circuit 6. At this time, the address of the stored received data is specified in response to a request from the bin check circuit 6.

ビットチェック回路6は入力された受信データのスター
トピント、ストップビットおよびパリティビットをチェ
ックし、エラーがなければラッチ回路7へ受信データを
出力し、同時に親装置のCpuに割込信号を出力する。
The bit check circuit 6 checks the start focus, stop bit, and parity bit of the input received data, and if there is no error, outputs the received data to the latch circuit 7, and at the same time outputs an interrupt signal to the CPU of the parent device.

ラッチ回路7は親装置のCPUがデータを読込むまで受
信データを保持する。この親装置のCPUによる受信デ
ータの読込みは、受信データの伝送速度とは関係のない
独自の速度であることは言うまでもない。
The latch circuit 7 holds the received data until the CPU of the parent device reads the data. It goes without saying that the CPU of the parent device reads the received data at its own speed, which is unrelated to the transmission speed of the received data.

第2図は本発明のデータ伝送速度自動認識装置における
処理フロー図である。
FIG. 2 is a processing flow diagram in the data transmission rate automatic recognition device of the present invention.

第3図は本発明のデータ伝送速度自動ill装置におけ
る、データサンプリングタイミングとビットチェックに
用いるアドレスである。サンプリングは1/19200
の一定のクロックで行い、チェックに用いるアドレスも
特定のパターンをピントシフトして使用するため、回路
規模を小さくすることができる。また、低速のデータに
対してもサンプリング位置はデータの変化点の中央近く
にすることができる。
FIG. 3 shows data sampling timing and addresses used for bit checking in the data transmission rate automatic illumination device of the present invention. Sampling is 1/19200
This is done using a fixed clock, and the address used for checking is also focused on a specific pattern and used, so the circuit size can be reduced. Furthermore, even for low-speed data, the sampling position can be set near the center of the data change point.

したがって、この装置では、スタートビットを検出した
ときから高速クロック(1/19200 )で受信デー
タをサンプリングし、かつこれをメモリに蓄え、さらに
伝送速度に応したサンプリングデータを用いてエラーチ
エ7りをし、しかる上で親装置の要求に応じて受信デー
タを読込ませることにより、任意の伝送速度に対応でき
るようになり、この場合には150〜19.2にボーま
での伝送速度が不明な通信路への接続が可能となる。
Therefore, in this device, the received data is sampled at a high speed clock (1/19200) from the time the start bit is detected, this is stored in the memory, and an error check is performed using the sampling data corresponding to the transmission speed. Then, by reading the received data according to the request of the parent device, it becomes possible to support any transmission speed. It becomes possible to connect to.

また、1データ毎にエラーチェックを行うため、データ
1ハイド単位で伝送速度が変化してもこれに対応でき、
伝送速度が異なる複数の通信路に対して接続することも
可能となる。
In addition, since error checking is performed for each piece of data, it is possible to cope with changes in transmission speed in units of data.
It is also possible to connect to multiple communication paths with different transmission speeds.

[発明の効果〕 以上説明したように本発明は、受信データをサンプリン
グして蓄えておき、親装置の要求に応じて読込ませるの
で、任意の伝送速度に対応することが可能となり、Iま
たは2以上の伝送速度の異なる端末との接続を可能とし
、任意の伝送速度のデータ受信を可能とした通信システ
ムを構築することができる効果がある。
[Effects of the Invention] As explained above, the present invention samples received data, stores it, and reads it in response to a request from the parent device. This has the effect of making it possible to connect terminals with different transmission speeds, and to construct a communication system that can receive data at any transmission speed.

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

第1図は本発明のデータ速度自動認識装置を適用した受
信装置の要部のブロック回路図、第2図は伝送速度を決
定する処理のフロー図、第3図はデータのサンプリング
タイミングとチェックアドレスを示す図である。 1・・・スタートビット検出回路、2・・・アドレス制
御回路、3・・・ラッチ回路、4・・・セレクタ、5・
・・メモリ、6・・・ビットチェック回路、7・・・ラ
ッチ回路、8・・・クロツク発生器。 第2図
Fig. 1 is a block circuit diagram of the main parts of a receiving device to which the automatic data rate recognition device of the present invention is applied, Fig. 2 is a flow diagram of the processing for determining the transmission rate, and Fig. 3 is the data sampling timing and check address. FIG. DESCRIPTION OF SYMBOLS 1... Start bit detection circuit, 2... Address control circuit, 3... Latch circuit, 4... Selector, 5...
...Memory, 6...Bit check circuit, 7...Latch circuit, 8...Clock generator. Figure 2

Claims (1)

【特許請求の範囲】 1、調歩同期通信のスタートビットを検出するスタート
ビット検出回路と、受信データをサンプリングするラッ
チ回路と、サンプリングされた受信データを蓄えるメモ
リと、サンプリング時とビットチェック時にメモリから
の入出力を制御するセレクタと、サンプリングおよびビ
ットチェックのメモリアドレスを制御するアドレス制御
回路と、スタートビット、ストップビットおよびパリテ
イビットをチェックするビットチェック回路と、親装置
の中央演算装置に接続されるラッチ回路とを備えること
を特徴とするデータ伝送速度自動認識装置。 2、アドレス制御回路は、クロック発生器からの高速ク
ロックによりラッチ回路およびメモリを動作させる特許
請求の範囲第1項記載のデータ伝送速度自動認識装置。
[Claims] 1. A start bit detection circuit that detects the start bit of asynchronous communication, a latch circuit that samples received data, a memory that stores sampled received data, and a memory that stores sampled received data during sampling and bit checking. A selector that controls the input/output of the main unit, an address control circuit that controls memory addresses for sampling and bit checking, and a bit check circuit that checks the start bit, stop bit, and parity bit, and the central processing unit of the parent device. What is claimed is: 1. A data transmission speed automatic recognition device comprising: a latch circuit; 2. The data transmission rate automatic recognition device according to claim 1, wherein the address control circuit operates the latch circuit and the memory using a high-speed clock from a clock generator.
JP2229737A 1990-08-31 1990-08-31 Data transmission speed automatic recognition device Pending JPH04111637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2229737A JPH04111637A (en) 1990-08-31 1990-08-31 Data transmission speed automatic recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2229737A JPH04111637A (en) 1990-08-31 1990-08-31 Data transmission speed automatic recognition device

Publications (1)

Publication Number Publication Date
JPH04111637A true JPH04111637A (en) 1992-04-13

Family

ID=16896901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2229737A Pending JPH04111637A (en) 1990-08-31 1990-08-31 Data transmission speed automatic recognition device

Country Status (1)

Country Link
JP (1) JPH04111637A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010124268A (en) * 2008-11-20 2010-06-03 Sony Corp Data communication device, communication control method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010124268A (en) * 2008-11-20 2010-06-03 Sony Corp Data communication device, communication control method, and program
US8654377B2 (en) 2008-11-20 2014-02-18 Sony Corporation Data communication device, communication control method, and program

Similar Documents

Publication Publication Date Title
US5654983A (en) Method and apparatus of operating data communications equipment in command mode and autobauding
JPH0618374B2 (en) Data transmission method for multi-network system
JPH02227765A (en) Data transfer apparatus for digital computer
JPH02227766A (en) Data transfer apparatus for digital computer
JPH05265943A (en) Serial data transfer equipment
JPH04111637A (en) Data transmission speed automatic recognition device
US6772242B2 (en) Communication device using three-step communication buffers
KR920010977B1 (en) Improved performance memory bus architecture
KR100249171B1 (en) Method for detecting error in non-syncronus type data transmit and receive device
JPS61270952A (en) Data transmitting system
JPS63164554A (en) Automatic recognizing system for data speed
JPH07131504A (en) Data transfer device
JPH01269150A (en) Buffering device
JP2708366B2 (en) Data processing system and auxiliary control device
JP2616545B2 (en) Data receiving system
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
JPH04117841A (en) Communication speed detection method in start-stop synchronizing communication system
JPH1165728A (en) Bus access circuit
JPH11205396A (en) Serial communication equipment
JPS6049465A (en) Data transfer method between microcomputers
JPS59214322A (en) Serial-parallel converting circuit
JPH11112598A (en) Data transfer equipment
JPH02150951A (en) information processing equipment
KR880005528A (en) How to determine terminal speed and format of modem using "AT"
JPS63197260A (en) Memory device control system