JP2001177511A - Communication processor and method for adjusting its received clock frequency - Google Patents

Communication processor and method for adjusting its received clock frequency

Info

Publication number
JP2001177511A
JP2001177511A JP36103899A JP36103899A JP2001177511A JP 2001177511 A JP2001177511 A JP 2001177511A JP 36103899 A JP36103899 A JP 36103899A JP 36103899 A JP36103899 A JP 36103899A JP 2001177511 A JP2001177511 A JP 2001177511A
Authority
JP
Japan
Prior art keywords
reception
signal
frequency
communication
communication processing
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
JP36103899A
Other languages
Japanese (ja)
Inventor
Kunihiko Ogawa
邦彦 小川
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP36103899A priority Critical patent/JP2001177511A/en
Publication of JP2001177511A publication Critical patent/JP2001177511A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To adjust the frequency of a received clock signal on-line. SOLUTION: When a reception signal 9 is received, a reception detection circuit 3 outputs a reception detection signal 7. An IC 2 for communication processing converts the signal 9 into reception data, and when an error exists in the reception data, a communication error signal 6 is outputted and remains as it is. A CPU 1 changes the frequencies of a received clock signal by setting another frequency in an internal register 10 when the signal 6 is outputted and remains as it is. When the IC 2 for communication processing releases the output of the signal 6, the frequency set in the register 10 is defined as a normal frequency of the frequency of the received clock signal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、クロック同期通信
を行う通信処理装置およびその受信クロック周波数調整
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication processing device for performing clock synchronous communication and a method for adjusting a reception clock frequency thereof.

【0002】[0002]

【従来の技術】図4は、クロック同期通信を行う従来の
通信処理装置の構成を示すブロック図である。図4に示
すように、従来の通信処理装置は、CPU1と、通信処
理用IC2と、通信クロック設定用スイッチ11とから
構成される。通信処理用IC2は伝送路14と接続され
ており、この伝送路14を介して伝送信号を送受信する
ことによって通信処理装置同士の通信が行われる。伝送
信号には他の通信処理装置へ送信する送信信号8と他の
通信処理装置から受信する受信信号9とがある。
2. Description of the Related Art FIG. 4 is a block diagram showing a configuration of a conventional communication processing device for performing clock synchronous communication. As shown in FIG. 4, the conventional communication processing device includes a CPU 1, a communication processing IC 2, and a communication clock setting switch 11. The communication processing IC 2 is connected to the transmission path 14, and communication between the communication processing apparatuses is performed by transmitting and receiving a transmission signal via the transmission path 14. The transmission signal includes a transmission signal 8 transmitted to another communication processing device and a reception signal 9 received from another communication processing device.

【0003】通信処理用IC2は内部レジスタ10を備
えている。通信処理用IC2には、外部から入力される
基準クロック信号(不図示)が内部レジスタ10に設定
された周波数に分周され、受信クロック信号が作成され
る。受信信号9はその受信クロック信号によってサンプ
リングされ、受信データに変換される。
The communication processing IC 2 has an internal register 10. In the communication processing IC 2, a reference clock signal (not shown) input from the outside is frequency-divided to a frequency set in the internal register 10 to generate a reception clock signal. The reception signal 9 is sampled by the reception clock signal and converted into reception data.

【0004】CPU15と通信処理用IC2の内部レジ
スタ10との間には、アドレスバス4とデータバス5と
が接続されている。CPU15はこれらのバスを介して
通信処理用IC2の動作を制御している。通信クロック
設定用スイッチ11には、内部レジスタ10に設定され
る所定の周波数が何パターンか設定可能になっており、
その所定の周波数のいずれか1つが指定されるようにな
っている。CPU15は通信クロック設定用スイッチ1
1が指定する所定の周波数を内部レジスタ10に設定す
る。
[0004] An address bus 4 and a data bus 5 are connected between the CPU 15 and the internal register 10 of the communication processing IC 2. The CPU 15 controls the operation of the communication processing IC 2 via these buses. The communication clock setting switch 11 can set several patterns of a predetermined frequency set in the internal register 10.
Any one of the predetermined frequencies is designated. CPU 15 is a communication clock setting switch 1
The predetermined frequency designated by 1 is set in the internal register 10.

【0005】このような通信処理装置では、送信元が受
信データを受信信号9に変換する際に使用した送信クロ
ック信号の周波数と受信クロック信号の周波数とが一致
していなければ、受信信号9を正しく受信することがで
きない。このような場合、通信処理用IC2はサイクリ
ック・リダンダンシー・チェック・コード(CRC)チ
ェックなどの誤り検出処理を行うことによって通信エラ
ーを検出する。通信エラーを検出すると通信処理用IC
2は通信エラー検出信号6を出力する。
In such a communication processing device, if the frequency of the transmission clock signal used when the transmission source converts the reception data into the reception signal 9 and the frequency of the reception clock signal do not match, the reception signal 9 is transmitted. Cannot receive correctly. In such a case, the communication processing IC 2 detects a communication error by performing an error detection process such as a cyclic redundancy check code (CRC) check. Communication processing IC when a communication error is detected
2 outputs a communication error detection signal 6.

【0006】通信エラー検出信号6は、初期状態はハイ
レベル(以降H)であり、受信信号9を受信し、通信処
理用IC2が上述のような通信エラーを検出した場合に
はHのままとなり、通信処理用IC2が通信エラーを検
出しなかった場合にローレベル(以降L)となる。
The communication error detection signal 6 is initially at a high level (hereinafter, H). When the reception signal 9 is received and the communication processing IC 2 detects the communication error as described above, the communication error detection signal 6 remains at H. When the communication processing IC 2 does not detect a communication error, the level becomes low (hereinafter, L).

【0007】CPU15は通信エラー検出信号6がHの
ままであれば、通信エラー検出信号6が出力されている
と判断し、通信エラー検出信号6がLとなっていれば、
通信エラー検出信号6の出力が解除されたと判断する。
CPU15は、通信エラー検出信号6の出力が解除され
た場合、受信データの破棄や表示装置(不図示)に通信
エラー表示を行うといった通信エラー処理を行う。
If the communication error detection signal 6 remains H, the CPU 15 determines that the communication error detection signal 6 has been output, and if the communication error detection signal 6 is L,
It is determined that the output of the communication error detection signal 6 has been released.
When the output of the communication error detection signal 6 is released, the CPU 15 performs communication error processing such as discarding the received data and displaying a communication error on a display device (not shown).

【0008】上述のような従来の通信処理装置では、受
信信号9を受信データに変換するための受信クロック信
号の周波数は通信クロック設定スイッチ11によって指
定される。したがって、受信クロック信号の周波数を変
更したい場合には、通信クロック設定スイッチ11の指
定を変更する必要がある。このような通信クロック設定
スイッチ11に設定された周波数の指定を変更するとき
には、一旦通信を中断する必要がある。
In the conventional communication processing device as described above, the frequency of the reception clock signal for converting the reception signal 9 into the reception data is specified by the communication clock setting switch 11. Therefore, when it is desired to change the frequency of the reception clock signal, it is necessary to change the designation of the communication clock setting switch 11. When changing the designation of the frequency set in the communication clock setting switch 11, it is necessary to temporarily suspend the communication.

【0009】図5は、多数の通信処理装置によって構成
されたネットワークの構成を示すブロック図である。図
5に示されるネットワークは1本の伝送路14に1台の
通信上位装置12と多数の通信端末装置13とが接続さ
れている。このようなネットワークの通信端末装置13
として従来の通信処理装置を用いた場合、すべての通信
端末装置13の通信クロック設定スイッチ11の周波数
の設定を同じとする必要があり、各通信端末装置13に
おける送信クロック信号の周波数や受信クロック信号の
周波数などの設定を記録するなどのクロック信号の周波
数の管理が必要となる。
FIG. 5 is a block diagram showing a configuration of a network constituted by a large number of communication processing devices. In the network shown in FIG. 5, one communication host device 12 and many communication terminal devices 13 are connected to one transmission line 14. Communication terminal device 13 of such a network
In the case where a conventional communication processing device is used, it is necessary to set the frequency of the communication clock setting switches 11 of all the communication terminal devices 13 to be the same. It is necessary to manage the frequency of the clock signal, such as recording settings such as the frequency of the clock signal.

【0010】[0010]

【発明が解決しようとする課題】上述の従来の通信処理
装置では、以下に示す2つの問題点があった。 (1) 受信信号を受信データに変換するための受信ク
ロック信号が通信中は固定であり、受信クロック信号の
周波数が送信クロック信号の周波数に一致していないと
きは、一旦通信を中断してから受信クロック信号を変更
しなければならない。 (2)多数の通信処理装置が接続されたネットワークで
は、すべての通信処理装置の受信クロック信号の周波数
を同じにする必要があり、各通信処理装置の送信クロッ
ク信号の周波数と受信クロック信号の周波数とを管理す
る必要があった。
The above conventional communication processing apparatus has the following two problems. (1) When a reception clock signal for converting a reception signal into reception data is fixed during communication, and when the frequency of the reception clock signal does not match the frequency of the transmission clock signal, the communication is temporarily interrupted. The receive clock signal must be changed. (2) In a network to which a large number of communication processing devices are connected, it is necessary to make the frequency of the reception clock signal of all the communication processing devices the same, and the frequency of the transmission clock signal and the frequency of the reception clock signal of each communication processing device And had to manage.

【0011】本発明は、受信クロック信号の周波数の調
整をオンラインで行うことができ、送信クロック信号の
周波数や受信クロック信号の周波数を管理する必要がな
い情報処理装置を提供することを目的とする。
An object of the present invention is to provide an information processing apparatus capable of adjusting the frequency of a reception clock signal online without having to manage the frequency of the transmission clock signal or the frequency of the reception clock signal. .

【0012】[0012]

【課題を解決するための手段】上記問題を解決するため
に、本発明は、受信した伝送信号を内部レジスタに設定
された周波数に分周された受信クロック信号に同期して
受信データに変換し該受信データに誤りが認められた場
合に通信エラー検出信号を出力する通信処理用ICと、
前記内部レジスタに周波数を設定するCPUとを備える
通信処理装置であって、前記伝送信号の受信を検出した
場合に受信検出信号を出力する受信検出手段をさらに備
え、前記CPUは前記受信検出信号が入力された場合、
前記通信エラー検出信号を監視して所定の時間が経過し
た後も前記通信エラー検出信号の出力が解除されなかっ
た時には前記内部レジスタに設定される周波数を変更し
て前記通信エラー検出信号の出力が解除された時に前記
内部レジスタに設定されていた周波数を前記受信クロッ
ク信号の周波数とする。
In order to solve the above problem, the present invention converts a received transmission signal into reception data in synchronization with a reception clock signal divided into a frequency set in an internal register. A communication processing IC that outputs a communication error detection signal when an error is detected in the received data;
A communication processing device including a CPU for setting a frequency in the internal register, further comprising a reception detection unit that outputs a reception detection signal when the reception of the transmission signal is detected; If entered,
If the output of the communication error detection signal is not canceled even after a predetermined time has elapsed after monitoring the communication error detection signal, the frequency set in the internal register is changed to output the communication error detection signal. The frequency set in the internal register at the time of release is set as the frequency of the reception clock signal.

【0013】本発明の情報処理装置では、伝送信号の受
信を検出する受信検出手段と、受信クロック信号の周波
数の調整を行うCPUとを備えることによって、通信中
においても受信クロック信号の周波数の変更を行うこと
ができるため、受信クロック信号をオンラインで調整す
ることができ、伝送信号が送信される際に使用される送
信クロック信号の周波数と受信クロック信号の周波数と
を管理する必要をなくすことができる。
According to the information processing apparatus of the present invention, the reception detecting means for detecting the reception of the transmission signal and the CPU for adjusting the frequency of the reception clock signal are provided, so that the frequency of the reception clock signal can be changed even during communication. The transmission clock signal can be adjusted online, eliminating the need to manage the frequency of the transmission clock signal and the frequency of the reception clock signal used when the transmission signal is transmitted. it can.

【0014】また、本発明の他の通信処理装置では、前
記受信検出手段は、前記伝送信号の変動が所定の時間継
続された場合に前記伝送信号を受信したとして前記受信
検出信号を出力する。
In another communication processing apparatus according to the present invention, the reception detecting means outputs the reception detection signal assuming that the transmission signal has been received when the fluctuation of the transmission signal has continued for a predetermined time.

【0015】本発明の通信処理装置では、受信検出手段
が伝送信号の変動を所定の時間監視して伝送信号の受信
を検出することによって、ノイズなどによる伝送信号の
瞬間的な変動により受信検出信号が出力されることがな
くなるため、正確に伝送信号の受信の検出を行うことが
できる。
In the communication processing apparatus according to the present invention, the reception detecting means monitors the fluctuation of the transmission signal for a predetermined time to detect the reception of the transmission signal, and thereby detects the reception detection signal by the instantaneous fluctuation of the transmission signal due to noise or the like. Is no longer output, so that it is possible to accurately detect the reception of the transmission signal.

【0016】[0016]

【発明の実施の形態】まず、本発明の一実施形態の通信
処理装置について図面を参照して詳細に説明する。全図
において、同一の符号がつけられている構成要素は、す
べて同一の構成要素である。図1は、本実施形態の通信
処理装置の構成を示すブロック図である。図1に示すよ
うに、本実施形態の通信処理装置は、通信クロック設定
用スイッチ11を有しておらず、受信検出回路3を新た
に備える点において従来の通信処理装置と異なってい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a communication processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings. In all the drawings, components denoted by the same reference numerals are all the same components. FIG. 1 is a block diagram illustrating a configuration of a communication processing device according to the present embodiment. As shown in FIG. 1, the communication processing device of the present embodiment is different from the conventional communication processing device in that the communication processing device of the present embodiment does not include the communication clock setting switch 11 and newly includes the reception detection circuit 3.

【0017】受信検出回路3は受信信号9を入力し、受
信信号9のHとLとの間の変動が所定の時間検出された
場合に受信信号9を受信したとして受信検出信号7を検
出する。受信検出回路3は受信信号9の受信を検出した
場合に受信検出信号7をCPU1に出力する。受信検出
信号7は、初期状態ではLであり、受信信号9の受信を
検出した場合Hとなり、受信信号9の受信が終了すると
Lとなる。
The reception detection circuit 3 receives the reception signal 9 and detects the reception signal 9 when the fluctuation of the reception signal 9 between H and L is detected for a predetermined period of time. . The reception detection circuit 3 outputs the reception detection signal 7 to the CPU 1 when detecting the reception of the reception signal 9. The reception detection signal 7 is L in the initial state, becomes H when the reception of the reception signal 9 is detected, and becomes L when the reception of the reception signal 9 ends.

【0018】CPU1は、受信検出信号7がLとなって
いる時には、受信信号9が入力されていないと判断し、
受信検出信号7がHとなっている時には、受信信号9が
入力されていると判断する。CPU1は、受信検出信号
7が入力された場合、通信処理用IC2から出力される
通信エラー検出信号6を監視する。CPU1はタイマ
(不図示)をセットして所定の時間通信エラー検出信号
6の出力が解除されなかった時に内部レジスタ10に設
定されている周波数を所定の周波数の中から選択した別
の周波数に切り替える。そして、通信エラー検出信号6
がLとなった時に設定されていた周波数を受信クロック
信号の正規の周波数とすることによって受信クロック信
号の周波数の調整を行う。
When the reception detection signal 7 is L, the CPU 1 determines that the reception signal 9 is not input,
When the reception detection signal 7 is H, it is determined that the reception signal 9 is input. When the reception detection signal 7 is input, the CPU 1 monitors the communication error detection signal 6 output from the communication processing IC 2. The CPU 1 sets a timer (not shown) and switches the frequency set in the internal register 10 to another frequency selected from the predetermined frequencies when the output of the communication error detection signal 6 has not been released for a predetermined time. . Then, the communication error detection signal 6
Is adjusted to the normal frequency of the received clock signal by adjusting the frequency set when the signal becomes L.

【0019】次に、本実施形態の通信処理装置の動作に
ついて図2、図3を参照して詳細に説明する。図2は、
本実施形態の通信処理装置の動作を示すタイミングチャ
ートである。図2(a)は、本実施形態の通信処理装置
の通信開始時の動作を示すタイミングチャートであり、
図2(b)は、本実施形態の通信処理装置の通信中断時
の動作を示すタイミングチャートである。図2(a)、
(b)とも上から順に、受信信号9、受信検出信号7、
通信エラー検出信号6の変動の様子が示されている。
Next, the operation of the communication processing apparatus according to the present embodiment will be described in detail with reference to FIGS. FIG.
5 is a timing chart illustrating an operation of the communication processing device according to the embodiment. FIG. 2A is a timing chart illustrating an operation of the communication processing device according to the present embodiment at the start of communication.
FIG. 2B is a timing chart illustrating the operation of the communication processing device of the present embodiment when communication is interrupted. FIG. 2 (a),
(B) Both the reception signal 9, the reception detection signal 7,
The state of the fluctuation of the communication error detection signal 6 is shown.

【0020】まず、通信開始時における本実施形態の通
信処理装置の動作について図2(a)を参照して説明す
る。受信信号9を受信していない場合、受信検出信号7
はLとなっており、通信エラー検出信号6はHとなって
いる。他の通信処理装置から受信信号9が送信される
と、受信信号9はHとLの間を変動する。受信検出回路
3は受信信号9の変動が所定の時間継続された場合、受
信信号9を受信したと判断して受信検出信号7をHにす
る。通信処理用IC2の内部レジスタ10には予め所定
の周波数が設定されていて、通信処理用IC2はその周
波数に受信クロック信号を分周し、その受信クロック信
号に同期して受信信号9を受信データに変換する。通信
処理用IC2は、受信データの誤り検出処理を行って誤
りが検出されれば通信エラー検出信号6をHのままにす
る。
First, the operation of the communication processing apparatus according to the present embodiment at the start of communication will be described with reference to FIG. When the reception signal 9 is not received, the reception detection signal 7
Is L, and the communication error detection signal 6 is H. When the reception signal 9 is transmitted from another communication processing device, the reception signal 9 fluctuates between H and L. When the fluctuation of the reception signal 9 continues for a predetermined time, the reception detection circuit 3 determines that the reception signal 9 has been received, and sets the reception detection signal 7 to H. A predetermined frequency is set in the internal register 10 of the communication processing IC 2 in advance, and the communication processing IC 2 divides the frequency of the reception clock signal to that frequency and synchronizes the reception signal 9 with the reception clock signal. Convert to The communication processing IC 2 performs error detection processing on the received data and, if an error is detected, keeps the communication error detection signal 6 at H.

【0021】CPU1は、タイマに時間を計測させ、一
定時間経過後も通信エラー検出信号6がLとならない場
合、内部レジスタ10に他の周波数を設定することによ
って受信クロック信号の周波数の変更を行う。通信処理
用IC2は、再度、内部レジスタ10に設定された周波
数で受信信号9を受信データに変換し、受信データの誤
り検出処理を行う。そして、受信信号9が通信上位装置
12から送信される際に使用された送信クロック信号の
周波数と受信クロック信号の周波数とが一致した場合に
通信エラーはなくなり、通信エラー検出信号6はLとな
る。通信エラー検出信号6がLとなった場合、CPU1
は、その時に内部レジスタ10に設定されていた周波数
を受信クロック信号の正規の周波数として前記受信クロ
ック信号の周波数の調整を終了する。
The CPU 1 causes the timer to measure the time, and if the communication error detection signal 6 does not become L after a certain period of time, changes the frequency of the reception clock signal by setting another frequency in the internal register 10. . The communication processing IC 2 converts the reception signal 9 into reception data again at the frequency set in the internal register 10 and performs error detection processing of the reception data. Then, when the frequency of the transmission clock signal used when the reception signal 9 is transmitted from the communication host device 12 matches the frequency of the reception clock signal, no communication error occurs, and the communication error detection signal 6 becomes L. . When the communication error detection signal 6 becomes L, the CPU 1
Sets the frequency set in the internal register 10 at that time as the normal frequency of the received clock signal and ends the adjustment of the frequency of the received clock signal.

【0022】なお、図2(a)には、CPU1が受信ク
ロック信号の周波数の設定を行う期間として受信クロッ
ク信号周波数調整期間が図示されている。
FIG. 2A shows a reception clock signal frequency adjustment period as a period during which the CPU 1 sets the frequency of the reception clock signal.

【0023】次に、受信信号9が一時中断した場合につ
いて説明する。図2(b)は、本実施形態の通信処理装
置の通信中断時の動作を示すタイミングチャートであ
る。
Next, a case where the reception signal 9 is temporarily interrupted will be described. FIG. 2B is a timing chart illustrating the operation of the communication processing device of the present embodiment when communication is interrupted.

【0024】図2(b)に示すように、受信信号9が一
時中断した場合、受信検出回路3は受信検出信号7をH
からLとし、通信処理用IC2は、通信エラー検出信号
6をLからHとする。そして、再度受信信号9が入力さ
れた場合、受信検出回路3は、再び受信検出信号7をL
からHとする。そして、CPU1は通信開始時と同様に
受信クロック信号の周波数の調整を行い、受信信号9が
通信上位装置12から送信される際に使用された送信ク
ロック信号の周波数と受信クロック信号の周波数とが一
致した場合、通信処理用IC2は通信エラー検出信号6
をHからLとする。通信エラー信号6がLとなった場
合、CPU1は、その時に内部レジスタ10に設定され
ていた周波数を受信クロック信号の正規の周波数として
受信クロック信号の周波数の調整を終了する。
As shown in FIG. 2B, when the reception signal 9 is temporarily interrupted, the reception detection circuit 3 sets the reception detection signal 7 to H level.
To L, and the communication processing IC 2 changes the communication error detection signal 6 from L to H. When the reception signal 9 is input again, the reception detection circuit 3 sets the reception detection signal 7 to L again.
To H. Then, the CPU 1 adjusts the frequency of the reception clock signal in the same manner as at the start of communication, and the frequency of the transmission clock signal and the frequency of the reception clock signal used when the reception signal 9 is transmitted from the upper communication device 12 are adjusted. If they match, the communication processing IC 2 outputs the communication error detection signal 6
From H to L. When the communication error signal 6 becomes L, the CPU 1 sets the frequency set in the internal register 10 at that time as the normal frequency of the reception clock signal, and ends the adjustment of the frequency of the reception clock signal.

【0025】図3は、本実施形態の通信処理装置におけ
るCPU1の動作を示すフローチャートである。まず、
CPU1は受信検出信号7がHになるまで待つ(ステッ
プ101)。受信検出信号7がHとなった場合、CPU
1はタイマ(不図示)を起動し(ステップ102)、通
信エラー検出信号6がLであるか否か確認する(ステッ
プ103)。通信エラー検出信号6がLであった場合、
CPU1は、受信信号9が送信される際に使用された送
信クロック信号の周波数と受信クロック信号の周波数と
が一致したとして処理を終了する。通信エラー検出信号
6がLでない場合CPU1はタイムアウトが発生したか
否か確認し、タイムアウトが発生していなければステッ
プ103に戻る(ステップ104)。ステップ104に
おいて、タイムアウトが発生した場合、CPU1は所定
の周波数がすべて設定されたか否か確認し(ステップ1
05)、まだ設定していない周波数が残っていれば、内
部レジスタ10にその周波数を設定し(ステップ10
6)、ステップ102に戻る。ステップ105におい
て、すべての周波数の設定が完了していれば、CPU1
は通信エラー処理を行い(ステップ107)、処理を終
了する。
FIG. 3 is a flowchart showing the operation of the CPU 1 in the communication processing device of the present embodiment. First,
The CPU 1 waits until the reception detection signal 7 becomes H (step 101). When the reception detection signal 7 becomes H, the CPU
1 starts a timer (not shown) (step 102) and checks whether or not the communication error detection signal 6 is L (step 103). When the communication error detection signal 6 is L,
The CPU 1 terminates the processing on the assumption that the frequency of the transmission clock signal used when the reception signal 9 is transmitted matches the frequency of the reception clock signal. If the communication error detection signal 6 is not L, the CPU 1 checks whether a timeout has occurred, and if no timeout has occurred, returns to step 103 (step 104). If a timeout has occurred in step 104, the CPU 1 checks whether all the predetermined frequencies have been set (step 1).
05), if a frequency that has not been set remains, the frequency is set in the internal register 10 (step 10).
6) Return to step 102. If all the frequencies have been set in step 105, the CPU 1
Performs a communication error process (step 107) and ends the process.

【0026】上述のように、本実施形態の通信処理装置
では、受信信号9の受信を検出する受信検出回路3と、
受信クロック信号の周波数の調整を行うCPU1とを備
えることによって、受信信号9が送信される際に使用さ
れた送信クロック信号の周波数と受信クロック信号の周
波数とを通信中においても一致させることができる。
As described above, in the communication processing device of the present embodiment, the reception detection circuit 3 for detecting the reception of the reception signal 9,
By providing the CPU 1 that adjusts the frequency of the reception clock signal, the frequency of the transmission clock signal used when the reception signal 9 is transmitted and the frequency of the reception clock signal can be matched during communication. .

【0027】また、本実施形態の通信処理装置では、受
信信号9が受信される毎に受信クロック信号の周波数の
調整を行うことによって、受信信号9の送信元の送信ク
ロック信号の周波数が変化しても、受信クロック信号の
周波数を変更することによって受信信号9を正常に受信
することができる。
Further, in the communication processing apparatus of the present embodiment, the frequency of the transmission clock signal of the transmission source of the reception signal 9 is changed by adjusting the frequency of the reception clock signal every time the reception signal 9 is received. Even by changing the frequency of the reception clock signal, the reception signal 9 can be normally received.

【0028】[0028]

【発明の効果】上述したように、本発明の通信処理装置
では、受信信号の受信を検出する受信検出回路と、受信
クロック信号の周波数の調整を行うCPUとを備えるこ
とによって、通信中においても受信クロック信号の周波
数の変更を行うことができるため、受信クロック信号の
周波数をオンラインで調整することができ、受信信号の
送信元が受信信号を送信する際に使用した送信クロック
信号の周波数と受信クロック信号の周波数とを管理する
必要をなくすことができる。
As described above, the communication processing device of the present invention includes the reception detection circuit for detecting the reception of the reception signal and the CPU for adjusting the frequency of the reception clock signal, so that the communication processing device can perform the communication during the communication. Since the frequency of the receive clock signal can be changed, the frequency of the receive clock signal can be adjusted online, and the frequency of the transmit clock signal used when the source of the receive signal used to transmit the receive signal and the receive It is not necessary to manage the frequency of the clock signal.

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

【図1】本発明の一実施形態の通信処理装置の構成を示
すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a communication processing device according to an embodiment of the present invention.

【図2】本発明の一実施形態の通信処理装置の動作を示
すタイミングチャートである。
FIG. 2 is a timing chart showing an operation of the communication processing device according to the embodiment of the present invention.

【図3】本発明の一実施形態の通信処理装置におけるC
PUの動作を示すフローチャートである。
FIG. 3 shows C in the communication processing apparatus according to the embodiment of the present invention;
6 is a flowchart illustrating an operation of a PU.

【図4】従来の通信処理装置の構成を示すブロック図で
ある。
FIG. 4 is a block diagram illustrating a configuration of a conventional communication processing device.

【図5】多数の通信処理装置によって構成されたネット
ワークの構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a network including a plurality of communication processing devices.

【符号の説明】 1、15 CPU 2 通信処理用IC 3 受信検出回路 4 アドレスバス 5 データバス 6 通信エラー検出信号 7 受信検出信号 8 送信信号 9 受信信号 10 内部レジスタ 11 通信クロック設定用スイッチ 12 通信上位装置 13 通信端末装置 14 伝送路 101〜107 ステップ[Description of Signs] 1, 15 CPU 2 Communication processing IC 3 Reception detection circuit 4 Address bus 5 Data bus 6 Communication error detection signal 7 Reception detection signal 8 Transmission signal 9 Reception signal 10 Internal register 11 Communication clock setting switch 12 Communication Upper device 13 Communication terminal device 14 Transmission line 101 to 107 Step

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 内部レジスタに設定された周波数によっ
て受信クロック信号を分周し、受信した伝送信号を該受
信クロック信号に同期して受信データに変換し、該受信
データの誤り検出を行い前記受信データに誤りが認めら
れた場合に通信エラー検出信号を出力する通信処理用I
Cと、 前記内部レジスタに周波数を設定するCPUとを備える
通信処理装置において、 前記伝送信号の受信を検出した場合に受信検出信号を出
力する受信検出手段をさらに備え、 前記CPUは、前記受信検出信号が入力された場合前記
通信エラー検出信号を監視し、所定の時間が経過した後
も前記通信エラー検出信号の出力が解除されなかった時
には前記内部レジスタに設定される周波数を変更し、前
記通信エラー検出信号の出力が解除された時に前記内部
レジスタに設定されていた周波数を前記受信クロック信
号の周波数とすることを特徴とする通信処理装置。
1. A reception clock signal is divided by a frequency set in an internal register, a received transmission signal is converted into reception data in synchronization with the reception clock signal, and an error detection of the reception data is performed. A communication processing I that outputs a communication error detection signal when an error is detected in data
C, a communication processing device comprising: a CPU for setting a frequency in the internal register; further comprising: reception detection means for outputting a reception detection signal when the reception of the transmission signal is detected; When the signal is input, the communication error detection signal is monitored, and when the output of the communication error detection signal is not released even after a predetermined time has elapsed, the frequency set in the internal register is changed, A communication processing device, wherein the frequency set in the internal register when the output of the error detection signal is canceled is used as the frequency of the reception clock signal.
【請求項2】 前記受信検出手段は、前記伝送信号の変
動が所定の時間継続された場合に前記伝送信号を受信し
たとして前記受信検出信号を出力する請求項1に記載の
通信処理装置。
2. The communication processing apparatus according to claim 1, wherein the reception detecting unit outputs the reception detection signal assuming that the transmission signal has been received when the fluctuation of the transmission signal has continued for a predetermined time.
【請求項3】 伝送信号の変動を所定の時間監視するこ
とによって該伝送信号の受信を検出し、 前記伝送信号から変換された受信データに誤りがあった
場合に通信処理用ICから出力される通信エラー検出信
号を監視するとともに前記伝送信号を受信する通信処理
用ICの内部レジスタに設定された受信クロック信号の
設定を所定の周波数の中から選択して切り換え、 前記通信エラー検出信号の出力が解除された時に前記内
部レジスタに設定されていた周波数を前記受信クロック
信号の周波数とする通信処理装置の受信クロック周波数
調整方法。
3. A reception of the transmission signal is detected by monitoring a fluctuation of the transmission signal for a predetermined time, and is output from the communication processing IC when an error is detected in the reception data converted from the transmission signal. The communication error detection signal is monitored and the setting of the reception clock signal set in the internal register of the communication processing IC for receiving the transmission signal is selected and switched from a predetermined frequency, and the output of the communication error detection signal is A method for adjusting a reception clock frequency of a communication processing device, wherein the frequency set in the internal register when the communication clock is released is used as the frequency of the reception clock signal.
JP36103899A 1999-12-20 1999-12-20 Communication processor and method for adjusting its received clock frequency Pending JP2001177511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36103899A JP2001177511A (en) 1999-12-20 1999-12-20 Communication processor and method for adjusting its received clock frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36103899A JP2001177511A (en) 1999-12-20 1999-12-20 Communication processor and method for adjusting its received clock frequency

Publications (1)

Publication Number Publication Date
JP2001177511A true JP2001177511A (en) 2001-06-29

Family

ID=18471935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36103899A Pending JP2001177511A (en) 1999-12-20 1999-12-20 Communication processor and method for adjusting its received clock frequency

Country Status (1)

Country Link
JP (1) JP2001177511A (en)

Similar Documents

Publication Publication Date Title
JP2641999B2 (en) Data format detection circuit
CN109426299B (en) Sensor device and method thereof
JP2011035473A (en) Baud rate error detection circuit and baud rate error detection method
JP3919990B2 (en) Timing synchronization system, apparatus used in the system, and timing synchronization method
JPH04222130A (en) Interference detection circuit
JP2002252606A (en) Synchronization correction circuit
JPH09238175A (en) Device for detecting constitution parameter of asynchronous data link
JP2001177511A (en) Communication processor and method for adjusting its received clock frequency
KR100306349B1 (en) Data communication systems and devices for them
JP2003134098A (en) Serial receiver
JP3085448B2 (en) Communications system
JP3338801B2 (en) Digital MCA reception sensitivity measurement system and digital MCA reception sensitivity measurement method
JP2003152745A (en) Data transmission system, transmitter, and receiver
JPH11177543A (en) Serial communication equipment and its method
JP2004247856A (en) Data receiving apparatus and data transmission/ reception method
KR100555644B1 (en) transmitting/receiving method of bit stream
JPS62171349A (en) Communication control equipment
JP3266034B2 (en) Communication control device
JP2538682B2 (en) Reference clock source automatic switching method
JP3516152B2 (en) Synchronization establishing device
JPH1051515A (en) Communication abnormality detector
JP2001325216A (en) Communication system switching device and communication system switching method
KR200262927Y1 (en) Clock fail detector
JP2806854B2 (en) Bus synchronization check device
JP2008009520A (en) Data transfer circuit