JP2001060985A - Transmitter, receiver and communication equipment - Google Patents

Transmitter, receiver and communication equipment

Info

Publication number
JP2001060985A
JP2001060985A JP11232878A JP23287899A JP2001060985A JP 2001060985 A JP2001060985 A JP 2001060985A JP 11232878 A JP11232878 A JP 11232878A JP 23287899 A JP23287899 A JP 23287899A JP 2001060985 A JP2001060985 A JP 2001060985A
Authority
JP
Japan
Prior art keywords
clock
data
transmission
signal
reception
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
JP11232878A
Other languages
Japanese (ja)
Inventor
Hideki Yoshida
英喜 吉田
Daisuke Kawaguchi
大介 川口
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP11232878A priority Critical patent/JP2001060985A/en
Publication of JP2001060985A publication Critical patent/JP2001060985A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize the reduction of power consumption and the suppression of unnecessary radiation in communication equipment by controlling the frequency of a clock in accordance of a communication speed. SOLUTION: A clock selection and signal generation circuit 20 outputs a clock selection signal clksel and a clock stopping signal clkstp in accordance with the data accumulation quantity of a transmission/reception buffer 40, and a clock generation circuit 10 controls the frequency of a clock signal clk in accordance with clksel and stops the supply of the clock signal in accordance with clkstp. A signal processing circuit 30 successively writes transmission data corresponding to transmission information from a host to a transmission buffer at the time of answering and reads received data from a reception buffer at the time of reception to reproduce received information. A front end 50 successively reads transmission data from the transmission buffer at the time of transmission to output the data to a transmission line and receives data from a communication line at the time of reception to successively write them in the reception buffer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、送受信装置を含む
通信装置、特に送受信データの状況に応じて送受信時の
信号処理に用いられるクロック信号の周波数を制御する
ことにより低消費電力及び不要輻射の抑制を可能な通信
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication apparatus including a transmission / reception apparatus, and more particularly to a communication apparatus including a transmission / reception apparatus, which controls the frequency of a clock signal used for signal processing at the time of transmission / reception according to the status of transmission / reception data, thereby reducing power consumption and unnecessary radiation. The present invention relates to a communication device capable of suppressing the communication.

【0002】[0002]

【従来の技術】通信装置において、通信路の品質や通信
相手の通信処理能力などに応じて、実際の通信速度が変
化する。例えば、通信路の品質が高い場合、データの送
受信に用いられるクロック信号の周波数を高く設定で
き、高速な通信を実現できる。また、通信相手が通信処
理能力が高い場合に、送信側がそれに応じてデータ伝送
速度を高く設定でき、通信路の許容範囲内において高速
な通信を実現できる。
2. Description of the Related Art In a communication apparatus, the actual communication speed changes according to the quality of a communication path, the communication processing capacity of a communication partner, and the like. For example, when the quality of a communication channel is high, the frequency of a clock signal used for data transmission / reception can be set high, and high-speed communication can be realized. In addition, when the communication partner has a high communication processing capability, the transmission side can set the data transmission speed accordingly, and high-speed communication can be realized within the allowable range of the communication path.

【0003】[0003]

【発明が解決しようとする課題】ところで、従来の通信
装置においては、通信路の品質や通信相手の通信処理能
力にかかわらず、常に一定のクロック周波数で動作す
る。即ち、通信速度が通信路の品質または通信相手の能
力に応じて変化しても、通信装置に用いられるクロック
信号の周波数がほぼ一定である。このため、遅い通信を
行うとき、必要以上に高速なクロック信号が通信装置に
供給されることとなり、その結果必要以上の電力を消費
し、不要な電磁輻射が発生するなどの不利益が生じる。
By the way, the conventional communication device always operates at a constant clock frequency irrespective of the quality of the communication path and the communication processing capability of the communication partner. That is, even if the communication speed changes according to the quality of the communication path or the capability of the communication partner, the frequency of the clock signal used in the communication device is substantially constant. For this reason, when performing slow communication, an unnecessarily high-speed clock signal is supplied to the communication device, and as a result, unnecessarily large power is consumed and unnecessary electromagnetic radiation is generated.

【0004】本発明は、かかる事情に鑑みてなされたも
のであり、その目的は、実際の通信速度に応じて使用さ
れるクロック信号の周波数を制御することにより、送受
信回路がそれぞれ最適なクロック周波数で動作すること
ができ、消費電力の低減及び不要な電磁輻射の抑制を実
現できる通信装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to control the frequency of a clock signal used in accordance with an actual communication speed so that a transmitting / receiving circuit can optimize an optimum clock frequency. It is an object of the present invention to provide a communication device which can be operated with a communication device and can realize reduction of power consumption and suppression of unnecessary electromagnetic radiation.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明の送信装置は、所定の通信速度でデータの送
信を行う送信装置であって、送信データを記憶する送信
バッファと、周波数制御されたクロック信号を受けて、
当該クロック信号の周波数に応じた速度で動作し、送信
すべき情報データを送信データ系列として上記送信バッ
ファに順次書き込む信号処理回路と、上記クロック信号
を受けて、当該クロック信号の周波数に応じた速度で動
作し、上記送信バッファから上記送信データを順次読み
出して送信するインターフェース回路と、上記送信バッ
ファのデータ蓄積量に応じて、生成するクロック信号の
周波数を制御し、当該クロック信号を上記信号処理回路
及び上記インターフェース回路に供給し、所定の時間に
おいて上記送信データがない場合に、上記クロック信号
の供給を停止するクロック供給回路とを有する。
In order to achieve the above object, a transmitting apparatus of the present invention is a transmitting apparatus for transmitting data at a predetermined communication speed, comprising: a transmitting buffer for storing transmitting data; Received clock signal,
A signal processing circuit that operates at a speed corresponding to the frequency of the clock signal and sequentially writes information data to be transmitted as a transmission data sequence into the transmission buffer; And an interface circuit for sequentially reading and transmitting the transmission data from the transmission buffer, and controlling a frequency of a clock signal to be generated in accordance with an amount of data stored in the transmission buffer, and transmitting the clock signal to the signal processing circuit. And a clock supply circuit that supplies the clock signal to the interface circuit and stops the supply of the clock signal when there is no transmission data for a predetermined time.

【0006】また、本発明の受信装置は、所定の通信速
度で送信されたデータを受信する受信装置であって、受
信データを記憶する受信バッファと、周波数制御された
クロック信号を受けて、当該クロック信号の周波数に応
じた速度で動作し、上記受信バッファから受信データを
順次読み出し、当該受信データに応じた情報データを再
生する信号処理回路と、上記クロック信号を受けて、当
該クロック信号の周波数に応じた速度で動作し、受信デ
ータを受信して上記受信バッファに順次書き込むインタ
ーフェース回路と、上記受信バッファのデータ蓄積量に
応じて、生成するクロック信号の周波数を制御し、当該
クロック信号を上記信号処理回路及び上記インターフェ
ース回路に供給し、所定の時間において上記受信データ
がない場合に、上記クロック信号の供給を停止するクロ
ック供給回路とを有する。
A receiving apparatus according to the present invention is a receiving apparatus for receiving data transmitted at a predetermined communication speed, and receives a reception buffer for storing received data, and receives a frequency-controlled clock signal to receive the data. A signal processing circuit that operates at a speed corresponding to the frequency of the clock signal, sequentially reads the received data from the reception buffer, and reproduces information data corresponding to the received data; An interface circuit that operates at a speed according to and receives received data and sequentially writes the received data into the reception buffer, and controls the frequency of a clock signal to be generated in accordance with the amount of data stored in the reception buffer, and controls the clock signal to The signal is supplied to the signal processing circuit and the interface circuit. And a clock supply circuit for stopping the supply of the clock signal.

【0007】また、本発明の通信装置は、所定の通信速
度でデータの送受信を行う通信装置であって、送信デー
タを記憶する送信バッファと、受信データを記憶する受
信バッファと、周波数制御されたクロック信号を受け
て、当該クロック信号の周波数に応じた速度で動作し、
送信すべき情報データを送信データ系列として上記送信
バッファに順次書き込み、上記受信バッファから受信デ
ータを順次読み出し、当該受信データに応じた情報デー
タを再生する信号処理回路と、周波数制御されたクロッ
ク信号を受けて、当該クロック信号の周波数に応じた速
度で動作し、送信時に上記送信バッファから上記送信デ
ータを順次読み出して送信し、受信時に受信データを受
信して上記受信バッファに順次書き込むインターフェー
ス回路と、上記送信バッファ及び上記受信バッファのデ
ータ蓄積量に応じて、生成するクロック信号の周波数を
制御して上記信号処理回路及び上記インターフェース回
路に供給し、所定の時間において上記送信データ及び上
記受信データがない場合、上記クロック信号の供給を停
止するクロック供給回路とを有する。
A communication device according to the present invention is a communication device for transmitting and receiving data at a predetermined communication speed. The communication device has a transmission buffer for storing transmission data, a reception buffer for storing reception data, and a frequency-controlled transmission buffer. Receiving a clock signal, operating at a speed corresponding to the frequency of the clock signal,
A signal processing circuit for sequentially writing information data to be transmitted as a transmission data sequence to the transmission buffer, sequentially reading reception data from the reception buffer, and reproducing information data corresponding to the reception data, and a frequency-controlled clock signal. Receiving, operating at a speed according to the frequency of the clock signal, sequentially transmitting and transmitting the transmission data from the transmission buffer at the time of transmission, receiving the reception data at the time of reception, and sequentially writing to the reception buffer, The frequency of the generated clock signal is controlled and supplied to the signal processing circuit and the interface circuit according to the amount of data stored in the transmission buffer and the reception buffer, and the transmission data and the reception data do not exist in a predetermined time. Clock supply to stop the supply of the clock signal And a circuit.

【0008】また、本発明では、好適には、上記送信バ
ッファ及び受信バッファは、FIFOにより構成されて
いる。上記クロック供給回路は、上記送信バッファまた
は上記受信バッファのデータ蓄積量に応じて、クロック
選択信号を生成するクロック選択信号生成回路と、上記
クロック選択信号に応じた周波数を持つクロック信号を
生成するクロック生成回路とを有する。
In the present invention, preferably, the transmission buffer and the reception buffer are constituted by FIFO. The clock supply circuit includes: a clock selection signal generation circuit that generates a clock selection signal according to the amount of data stored in the transmission buffer or the reception buffer; and a clock that generates a clock signal having a frequency corresponding to the clock selection signal. And a generation circuit.

【0009】また、本発明では、好適には、上記送信バ
ッファに書き込まれるデータの量をカウントする第1の
書き込みカウンタと、上記送信バッファから読み出され
るデータの量をカウントする第1の読み出しカウンタと
を有し、上記クロック選択信号生成回路は、上記第1の
書き込みカウンタのカウント値と上記第1の読み出しカ
ウンタのカウント値に応じて、上記クロック選択信号を
生成する。もっと具体的に、例えば、上記クロック選択
信号生成回路は、上記第1の書き込みカウンタのカウン
ト値と上記第1の読み出しカウンタのカウント値との差
に応じて上記送信バッファのデータ蓄積量を算出し、当
該データ蓄積量に応じて上記クロック選択信号を生成す
る。
In the present invention, preferably, a first write counter for counting the amount of data written to the transmission buffer, and a first read counter for counting the amount of data read from the transmission buffer are provided. And the clock selection signal generation circuit generates the clock selection signal according to the count value of the first write counter and the count value of the first read counter. More specifically, for example, the clock selection signal generation circuit calculates the data accumulation amount of the transmission buffer according to the difference between the count value of the first write counter and the count value of the first read counter. The clock selection signal is generated according to the data storage amount.

【0010】また、本発明では、好適には、上記受信バ
ッファに書き込まれるデータの量をカウントする第2の
書き込みカウンタと、上記受信バッファから読み出され
るデータの量をカウントする第2の読み出しカウンタと
を有し、上記クロック選択信号生成回路は、上記第2の
書き込みカウンタのカウント値と上記第2の読み出しカ
ウンタのカウント値に応じて、上記クロック選択信号を
生成する。もっと具体的に、例えば、上記クロック選択
信号生成回路は、上記第2の書き込みカウンタのカウン
ト値と上記第2の読み出しカウンタのカウント値との差
に応じて上記受信バッファのデータ蓄積量を算出し、当
該データ蓄積量に応じて上記クロック選択信号を生成す
る。
In the present invention, preferably, a second write counter for counting the amount of data written to the reception buffer, and a second read counter for counting the amount of data read from the reception buffer are provided. And the clock selection signal generation circuit generates the clock selection signal according to the count value of the second write counter and the count value of the second read counter. More specifically, for example, the clock selection signal generation circuit calculates the data accumulation amount of the reception buffer according to the difference between the count value of the second write counter and the count value of the second read counter. The clock selection signal is generated according to the data storage amount.

【0011】さらに、本発明では、好適には、上記クロ
ック選択信号生成回路は、所定の時間において上記送信
データ及び上記受信データがないとき、上記クロック生
成回路にクロック停止信号を出力する。上記クロック生
成回路は、上記クロック選択信号生成回路から上記クロ
ック停止信号を受けたとき、上記クロック信号の供給を
停止する。
Further, in the present invention, preferably, the clock selection signal generation circuit outputs a clock stop signal to the clock generation circuit when there is no transmission data and no reception data in a predetermined time. The clock generation circuit stops supplying the clock signal when receiving the clock stop signal from the clock selection signal generation circuit.

【0012】本発明によれば、信号処理回路及びインタ
ーフェース回路は、クロック供給回路により供給される
クロック信号に応じてそれぞれ動作速度が制御される。
信号処理回路において、送信時に送信情報に応じた送信
データが生成され、送信バッファに順次書き込まれ、受
信時に受信バッファから受信データが順次読み出され、
それに応じて受信情報が再生される。インターフェース
回路により、送信時に送信バッファから送信データが順
次読み出されて通信路に出力され、受信時に通信路から
受信データが順次受信され、受信バッファに書き込まれ
る。送信バッファまたは受信バッファに蓄積した送信デ
ータまたは受信データの量に応じて、クロック信号供給
回路により供給されるクロック信号の周波数が制御され
るので、通信速度に応じて信号処理回路及びインターフ
ェース回路がそれぞれ最適な動作速度で動作するように
制御され、さらに、データの送受信が行われていないと
き、クロック信号の供給が停止するように制御されるの
で、消費電力の低減と不要な電磁輻射の防止を実現可能
である。
According to the present invention, the operation speed of each of the signal processing circuit and the interface circuit is controlled in accordance with the clock signal supplied from the clock supply circuit.
In the signal processing circuit, transmission data according to the transmission information is generated at the time of transmission, is sequentially written to the transmission buffer, and at the time of reception, the reception data is sequentially read from the reception buffer,
The received information is reproduced accordingly. The transmission circuit sequentially reads out the transmission data from the transmission buffer at the time of transmission and outputs the data to the communication path, and receives the reception data from the communication path at the time of reception and writes the data in the reception buffer. The frequency of the clock signal supplied by the clock signal supply circuit is controlled according to the amount of transmission data or reception data stored in the transmission buffer or the reception buffer. It is controlled to operate at the optimum operating speed, and furthermore, it is controlled so that the supply of the clock signal is stopped when data is not transmitted or received, so that power consumption is reduced and unnecessary electromagnetic radiation is prevented. It is feasible.

【0013】[0013]

【発明の実施の形態】図1は本発明に係る通信装置の一
実施形態を示す図であり、通信装置の全体の構成を示す
ブロック図である。図示のように、本発明の通信装置
は、クロック生成回路10、クロック選択信号生成回路
20、信号処理回路30、送受信バッファ40及びフロ
ントエンド50により構成されている。
FIG. 1 is a diagram showing an embodiment of a communication device according to the present invention, and is a block diagram showing an entire configuration of the communication device. As illustrated, the communication device of the present invention includes a clock generation circuit 10, a clock selection signal generation circuit 20, a signal processing circuit 30, a transmission / reception buffer 40, and a front end 50.

【0014】クロック生成回路10は、クロック選択信
号生成回路20からのクロック選択信号clkselに
応じた周波数を持つクロック信号clkを生成し、信号
処理回路30及びフロントエンド50にそれぞれ供給す
る。クロック生成回路10は、例えば、所定の周波数を
持つ基本クロックを生成し、当該基本クロックを所定の
分周比で分周し、周波数が2の巾乗で逓減する複数のク
ロック信号を生成し、クロック選択信号clkselに
応じて、これら複数のクロック信号から適宜一つを選択
して、クロック信号clkとして、信号処理回路30及
びフロントエンド50にそれぞれ出力する。この場合、
クロック生成回路10は、発振回路、分周回路及び選択
回路により構成できる。
The clock generation circuit 10 generates a clock signal clk having a frequency corresponding to the clock selection signal clksel from the clock selection signal generation circuit 20, and supplies the clock signal clk to the signal processing circuit 30 and the front end 50, respectively. The clock generation circuit 10 generates, for example, a basic clock having a predetermined frequency, divides the basic clock by a predetermined frequency division ratio, and generates a plurality of clock signals whose frequency is reduced by a power of 2; One of the plurality of clock signals is appropriately selected according to the clock selection signal clksel, and the selected one is output to the signal processing circuit 30 and the front end 50 as the clock signal clk. in this case,
The clock generation circuit 10 can be configured by an oscillation circuit, a frequency division circuit, and a selection circuit.

【0015】また、クロック生成回路10は、例えば、
周波数制御信号に応じて周波数が連続的に可変な発振回
路を用いて、クロック選択信号生成回路20からのクロ
ック選択信号clkselに応じて、上記周波数制御信
号を生成することにより、発振回路の発振周波数を所定
値に制御することができる。この場合、クロック生成回
路10は、例えば、PLL回路により構成することがで
きる。また、このように構成されたクロック生成回路1
0により、クロック信号clkの周波数を連続的に制御
でき、信号処理回路30及びフロントエンド50の処理
速度をきめ細かく制御することができる。
Further, the clock generation circuit 10 includes, for example,
By using an oscillation circuit whose frequency is continuously variable according to the frequency control signal and generating the frequency control signal in accordance with the clock selection signal clksel from the clock selection signal generation circuit 20, the oscillation frequency of the oscillation circuit Can be controlled to a predetermined value. In this case, the clock generation circuit 10 can be configured by, for example, a PLL circuit. In addition, the clock generation circuit 1 thus configured
With 0, the frequency of the clock signal clk can be continuously controlled, and the processing speed of the signal processing circuit 30 and the front end 50 can be finely controlled.

【0016】クロック選択信号生成回路20は、送受信
バッファ40からの読み出しアドレスrpと書き込みア
ドレスwpに応じて、送受信バッファ40に蓄積した送
信または受信データの量を求めて、当該データ蓄積量に
応じて、クロック信号clkの周波数を制御するクロッ
ク選択信号clkselを生成し、クロック生成回路1
0に出力する。また、所定の判定時間において、データ
の送受信が行われていないと判断した場合、クロック生
成回路10にクロック信号の供給を停止させるクロック
停止信号clkstpを出力する。クロック生成回路1
0は、このクロック停止信号clkstpを受けると、
クロック信号clkの出力を停止させる。
The clock selection signal generation circuit 20 obtains the amount of transmission or reception data stored in the transmission / reception buffer 40 according to the read address rp and the write address wp from the transmission / reception buffer 40, and determines the amount of data stored in the transmission / reception buffer 40 according to the data storage amount. Generates a clock selection signal clksel for controlling the frequency of the clock signal clk,
Output to 0. In addition, when it is determined that data transmission / reception is not performed during a predetermined determination time, the clock generation circuit 10 outputs a clock stop signal clkstp to stop the supply of the clock signal. Clock generation circuit 1
0 receives the clock stop signal clkstp,
The output of the clock signal clk is stopped.

【0017】信号処理回路30は、クロック生成回路1
0からのクロック信号clkに応じて動作する。即ち、
信号処理回路30の信号処理速度は、供給されるクロッ
ク信号clkの周波数によって制御される。クロック信
号clkの周波数が高いほど信号処理回路30の処理速
度が高くなり、逆に、クロック信号clkの周波数が低
いほど信号処理回路30の処理速度が低くなる。送信時
に、信号処理回路30は、例えば、ホストシステムから
の送信情報を受けて、当該送信情報に応じて所定の信号
処理により送信データ系列を生成し、順次送信バッファ
に書き込む。なお、送信時に行われる信号処理として、
例えば、送信情報の量子化、符号化処理などが含まれ
る。
The signal processing circuit 30 includes a clock generation circuit 1
It operates according to the clock signal clk from 0. That is,
The signal processing speed of the signal processing circuit 30 is controlled by the frequency of the supplied clock signal clk. The processing speed of the signal processing circuit 30 increases as the frequency of the clock signal clk increases, and conversely, the processing speed of the signal processing circuit 30 decreases as the frequency of the clock signal clk decreases. At the time of transmission, for example, the signal processing circuit 30 receives transmission information from the host system, generates a transmission data sequence by predetermined signal processing according to the transmission information, and sequentially writes the transmission data sequence to the transmission buffer. In addition, as signal processing performed at the time of transmission,
For example, quantization and coding of transmission information are included.

【0018】受信時に、信号処理回路30は、受信バッ
ファから受信データを読み出し、当該受信データ対して
所定の信号処理を行って、受信情報を生成し、例えば、
ホストシステムに出力する。なお、受信時に行われる信
号処理として、例えば、復号処理、誤り訂正処理などが
含まれる。複数のホストシステムを有し、これらのホス
トシステムが同時に通信を行う場合に、当該信号処理回
路30において、送信時に送信データの多重化処理を行
い、また、受信時に多重化した受信データを分離する分
離処理が行われる。なお、この多重化処理及び分離処理
は、例えば、フロントエンド50により行われることも
できる。図1において、便宜上送信データ及び受信デー
タを総じて通信データとして表記している。また、ホス
トシステムを単にホストと略記している。
At the time of reception, the signal processing circuit 30 reads out reception data from the reception buffer, performs predetermined signal processing on the reception data, and generates reception information.
Output to host system. Note that the signal processing performed at the time of reception includes, for example, decoding processing, error correction processing, and the like. When there are a plurality of host systems and these host systems simultaneously communicate, the signal processing circuit 30 performs multiplexing processing of transmission data at the time of transmission and separates multiplexed reception data at the time of reception. Separation processing is performed. The multiplexing process and the demultiplexing process can be performed by the front end 50, for example. In FIG. 1, transmission data and reception data are generally referred to as communication data for convenience. Also, the host system is simply abbreviated as host.

【0019】送受信バッファ40は、例えば、FIFO
(First-in, first-out )というバッファメモリにより
構成され、FIFOは、データの書き込みと読み出しを
順次に行い、さらに書き込みの順にデータが読み出され
ることが特徴である。送受信バッファ40には、送信バ
ッファと受信バッファがそれぞれ設けられている。送信
時に、信号処理回路30からの送信データが順次送信バ
ッファに書き込まれ、送信バッファに蓄積される。一
方、送信バッファに蓄積されたデータが順次フロントエ
ンド50に読み出される。フロントエンド50の読み出
し速度が通信速度によって決まるので、ある一定の通信
速度に対して、信号処理回路30の処理速度を下げる
と、送信バッファのデータ蓄積量が減少し、逆に、信号
処理回路30の処理速度を上げると、送信バッファのデ
ータ蓄積量が増加する。信号処理回路30による書き込
みに応じて、書き込みアドレスwpが更新され、また、
フロントエンド50による読み出しに応じて、読み出し
アドレスrpが更新される。このため、これらの書き込
みアドレスwp及び読み出しアドレスrpに応じて、当
該送信バッファのデータ蓄積量を算出できる。
The transmission / reception buffer 40 includes, for example, a FIFO
(First-in, first-out) buffer memory, and the FIFO is characterized in that data is written and read out sequentially, and data is read out in the order of writing. The transmission / reception buffer 40 includes a transmission buffer and a reception buffer. At the time of transmission, transmission data from the signal processing circuit 30 is sequentially written into the transmission buffer and accumulated in the transmission buffer. On the other hand, the data stored in the transmission buffer is sequentially read out to the front end 50. Since the reading speed of the front end 50 is determined by the communication speed, if the processing speed of the signal processing circuit 30 is reduced with respect to a certain communication speed, the amount of data stored in the transmission buffer is reduced. When the processing speed is increased, the amount of data stored in the transmission buffer increases. The write address wp is updated according to the write by the signal processing circuit 30, and
The read address rp is updated in accordance with the read by the front end 50. Therefore, the data storage amount of the transmission buffer can be calculated according to the write address wp and the read address rp.

【0020】受信時に、フロントエンド50により、通
信路から相手側の送信データを順次受信し、受信バッフ
ァに蓄積される。一方、受信バッファに蓄積されたデー
タが信号処理回路30により順次読み出される。フロン
トエンド50による受信データの書き込み速度が通信速
度によって決まるので、ある一定の通信速度に対して、
信号処理回路30の処理速度を下げると、受信バッファ
のデータ蓄積量が増加し、逆に、信号処理回路30の処
理速度を上げることで受信バッファのデータ蓄積量を減
らすことができる。フロントエンド50による書き込み
に応じて、書き込みアドレスwpが更新され、また、信
号処理回路30による読み出しに応じて、読み出しアド
レスrpが更新される。このため、これらの書き込みア
ドレスwp及び読み出しアドレスrpに応じて、当該受
信バッファのデータ蓄積量を算出できる。
At the time of reception, the transmission data of the other party is sequentially received from the communication path by the front end 50 and stored in the reception buffer. On the other hand, the data stored in the reception buffer is sequentially read by the signal processing circuit 30. Since the writing speed of the received data by the front end 50 is determined by the communication speed, for a certain communication speed,
Decreasing the processing speed of the signal processing circuit 30 increases the amount of data stored in the reception buffer. Conversely, increasing the processing speed of the signal processing circuit 30 can reduce the amount of data stored in the reception buffer. The write address wp is updated according to the writing by the front end 50, and the read address rp is updated according to the reading by the signal processing circuit 30. Therefore, the amount of data stored in the reception buffer can be calculated according to the write address wp and the read address rp.

【0021】フロントエンド50は、送受信バッファ4
0と通信路との間に設けられているインターフェース回
路である。フロントエンド50は、上述したように、ク
ロック生成回路10により供給されるクロック信号cl
kを受けて動作する。即ち、フロントエンド50の処理
速度は、クロック信号clkの周波数により制御され
る。クロック信号clkの周波数が高い場合、フロント
エンド50の処理速度が高くなり、逆に、クロック信号
clkの周波数が低い場合、フロントエンド50の処理
速度が低くなる。送信時に、フロントエンド50は、送
受信バッファ40にある送信バッファに蓄積した送信デ
ータを読み出し、通信路に出力し、受信時に、フロント
エンド50は、通信路から相手側の送信データを受信
し、受信バッファに書き込む。
The front end 50 includes a transmission / reception buffer 4
This is an interface circuit provided between the communication channel 0 and the communication path. The front end 50, as described above, receives the clock signal cl supplied by the clock generation circuit 10.
k. That is, the processing speed of the front end 50 is controlled by the frequency of the clock signal clk. When the frequency of the clock signal clk is high, the processing speed of the front end 50 increases, and conversely, when the frequency of the clock signal clk is low, the processing speed of the front end 50 decreases. At the time of transmission, the front end 50 reads out the transmission data stored in the transmission buffer in the transmission / reception buffer 40 and outputs it to the communication path. At the time of reception, the front end 50 receives the transmission data of the other party from the communication path, Write to buffer.

【0022】送受信バッファを用いる通信装置におい
て、送信時に送信バッファに蓄積した未送信データの量
により、通信装置の通信速度を知ることができる。ま
た、受信時に受信バッファに蓄積した未処理データの量
により、同様に通信装置の通信速度を知ることができ
る。この原理を利用して、通信装置における信号処理回
路30及びフロントエンド50に供給するクロック信号
clkの周波数を適宜に制御することが可能である。
In a communication device using a transmission / reception buffer, the communication speed of the communication device can be known from the amount of untransmitted data stored in the transmission buffer during transmission. Also, the communication speed of the communication device can be similarly determined from the amount of unprocessed data stored in the reception buffer at the time of reception. By utilizing this principle, the frequency of the clock signal clk supplied to the signal processing circuit 30 and the front end 50 in the communication device can be appropriately controlled.

【0023】本実施形態の通信装置において、クロック
選択信号生成回路20は、送受信バッファ40からの書
き込みアドレスwp及び読み出しアドレスrpに応じ
て、送受信バッファの蓄積データ量を算出し、これに応
じてクロック周波数を制御するクロック選択信号clk
selを生成し、クロック生成回路10に供給する。ク
ロック生成回路10は、クロック選択信号clksel
に応じて、生成するクロック信号clkの周波数を制御
する。この制御によって、送受信バッファに蓄積したデ
ータの量が増加すると、クロック生成回路10により供
給されるクロック信号clkの周波数が高く制御され、
これに応じて信号処理回路30及びフロントエンド50
の処理速度が向上する。逆に送受信バッファに蓄積した
データの量が減少すると、クロック生成回路10により
供給されるクロック信号clkの周波数が低く制御さ
れ、これに応じて信号処理回路30及びフロントエンド
50の処理速度が低下する。即ち、送受信データの量が
低減した場合、信号処理回路30及びフロントエンド5
0の処理速度を低減させることにより、消費電力の節約
及びこれらの回路からの不要輻射の低減を図る。
In the communication device according to the present embodiment, the clock selection signal generation circuit 20 calculates the amount of data stored in the transmission / reception buffer according to the write address wp and the read address rp from the transmission / reception buffer 40, and in response to this, Clock selection signal clk for controlling frequency
sel is generated and supplied to the clock generation circuit 10. The clock generation circuit 10 outputs the clock selection signal clksel
, The frequency of the generated clock signal clk is controlled. With this control, when the amount of data accumulated in the transmission / reception buffer increases, the frequency of the clock signal clk supplied by the clock generation circuit 10 is controlled to be high,
Accordingly, the signal processing circuit 30 and the front end 50
Processing speed is improved. Conversely, when the amount of data stored in the transmission / reception buffer decreases, the frequency of the clock signal clk supplied by the clock generation circuit 10 is controlled to be low, and the processing speed of the signal processing circuit 30 and the front end 50 decreases accordingly. . That is, when the amount of transmitted / received data is reduced, the signal processing circuit 30 and the front end 5
By reducing the processing speed of 0, power consumption is reduced and unnecessary radiation from these circuits is reduced.

【0024】さらに、実際にデータの送受信が行われて
いないとき、または伝送速度が非常に低い場合に、送受
信バッファの蓄積データ量が低くなる。クロック選択信
号生成回路20の制御により、一定の判定時間におい
て、送受信バッファに蓄積したデータの量が一定の基準
値を満たしていないとき、クロック信号clkの供給が
停止される。これに応じて、信号処理回路30及びフロ
ントエンド50はともに停止状態に保持され、これらの
回路の消費電力を低く抑制されるとともに、動作の停止
により不要な電磁輻射を抑制する効果が得られる。
Further, when data transmission / reception is not actually performed or when the transmission speed is extremely low, the amount of data stored in the transmission / reception buffer is reduced. Under the control of the clock selection signal generation circuit 20, the supply of the clock signal clk is stopped when the amount of data accumulated in the transmission / reception buffer does not satisfy a certain reference value during a certain determination time. Accordingly, the signal processing circuit 30 and the front end 50 are both held in a stopped state, whereby the power consumption of these circuits is suppressed to a low level, and the effect of suppressing unnecessary electromagnetic radiation by stopping the operation is obtained.

【0025】クロック信号clkの供給が停止したあ
と、クロック選択信号生成回路20は、引き続き送受信
バッファ40のデータ蓄積量を監視しつつ、当該データ
蓄積量が一定の基準値を上回るとき、データ蓄積量に応
じたクロック選択信号clkselをクロック生成回路
10に出力し、クロック信号clkの供給を再開させ
る。
After the supply of the clock signal clk is stopped, the clock selection signal generation circuit 20 continuously monitors the amount of data stored in the transmission / reception buffer 40, and when the amount of data stored exceeds a predetermined reference value, Is output to the clock generation circuit 10 to restart the supply of the clock signal clk.

【0026】以下、図2〜図7を参照しつつ、本実施形
態の通信装置における送信時及び受信時の動作について
それぞれ詳述する。図2は、送受信バッファ40にある
送信バッファ41、リード(読み出し)アドレスカウン
タ43、ライト(書き込み)アドレスカウンタ44及び
クロック選択信号生成回路20、タイマー回路42を含
む部分回路の構成を示すブロック図である。図2に示す
この部分回路は、本実施形態の通信装置における送信動
作に係わるものである。
Hereinafter, the operations at the time of transmission and at the time of reception in the communication apparatus of the present embodiment will be described in detail with reference to FIGS. FIG. 2 is a block diagram showing the configuration of a partial circuit including a transmission buffer 41, a read (read) address counter 43, a write (write) address counter 44, a clock selection signal generation circuit 20, and a timer circuit 42 in the transmission / reception buffer 40. is there. This partial circuit shown in FIG. 2 relates to the transmission operation in the communication device of the present embodiment.

【0027】送信バッファ41に、図1に示す信号処理
回路30からの送信データsd0が順次書き込まれる。
一方、送信バッファ41に蓄積したデータがフロントエ
ンド50に順次読み出され、当該読み出された送信デー
タsd1がフロントエンド50を介して、通信路に出力
される。
The transmission data sd0 from the signal processing circuit 30 shown in FIG.
On the other hand, the data stored in the transmission buffer 41 is sequentially read to the front end 50, and the read transmission data sd1 is output to the communication path via the front end 50.

【0028】タイマー回路42は、所定の時間を設定す
るために設けられている。図2に示すように、タイマー
回路42は、クロック選択信号生成回路20からの指示
信号に従って所定の時間を設定して、時間のカウントを
始める。そして設定した時間が経過したとき、クロック
選択信号生成回路20に時間経過を示す信号を出力す
る。クロック選択信号生成回路20は、タイマー回路4
2を用いて所定の時間を設定し、その間送信バッファの
状態を監視することによって、クロック選択信号clk
selまたはクロック停止信号clkstpを適宜に生
成する。
The timer circuit 42 is provided for setting a predetermined time. As shown in FIG. 2, the timer circuit 42 sets a predetermined time according to the instruction signal from the clock selection signal generation circuit 20, and starts counting the time. Then, when the set time has elapsed, a signal indicating the lapse of time is output to the clock selection signal generation circuit 20. The clock selection signal generation circuit 20 includes a timer circuit 4
2, a predetermined time is set, and during that time, the state of the transmission buffer is monitored, whereby the clock selection signal clk
sel or the clock stop signal clkstp is generated as appropriate.

【0029】リードアドレスカウンタ43は、フロント
エンド50が送信バッファ41に蓄積した送信データs
d1を読み出すときの読み出しアドレスrpを生成す
る。ここで、送信データsd1の読み出しは、ビット単
位、バイト単位またはワイド単位の何れかで行われると
すると、1単位の送信データがフロントエンド50に読
み出される毎に読み出しアドレスrpが1づつ増加す
る。ライトアドレスカウンタ44は、信号処理回路30
が送信バッファ41に送信データsd0を書き込むとき
の書き込みアドレスwpを生成する。例えば、データの
書き込みはバイト単位で行われる場合に、1バイトの送
信データが送信バッファ41に書き込まれる毎に書き込
みアドレスwpが1づつ増加する。
The read address counter 43 stores the transmission data s stored in the transmission buffer 41 by the front end 50.
A read address rp for reading d1 is generated. Here, assuming that reading of the transmission data sd1 is performed in any of a bit unit, a byte unit, and a wide unit, the read address rp increases by one each time one unit of transmission data is read out to the front end 50. The write address counter 44 includes the signal processing circuit 30
Generates a write address wp for writing the transmission data sd0 to the transmission buffer 41. For example, when data is written in byte units, the write address wp increases by one each time one byte of transmission data is written to the transmission buffer 41.

【0030】クロック選択信号生成回路20は、ホスト
システムからの送信要求信号send_req、リード
アドレスカウンタ43からの読み出しアドレスrp及び
ライトアドレスカウンタ44からの書き込みアドレスw
pに応じて、クロックの周波数を制御するクロック選択
信号clksel及びクロック停止信号clkstpを
生成し、図1に示すクロック生成回路10に出力する。
The clock selection signal generation circuit 20 transmits a transmission request signal send_req from the host system, a read address rp from the read address counter 43, and a write address w from the write address counter 44.
A clock selection signal clksel and a clock stop signal clkstp for controlling the frequency of the clock are generated in accordance with p, and output to the clock generation circuit 10 shown in FIG.

【0031】クロック選択信号生成回路20は、ホスト
システムからの送信要求信号send_reqに応じ
て、クロック選択信号clkselの生成を始める。こ
の場合、クロック選択信号生成回路20は、書き込みア
ドレスwp及び読み出しアドレスrpに応じて、送信バ
ッファ41に蓄積した未送信データの量を算出する。例
えば、送信開始時のリセット動作により、書き込みアド
レスwp及び読み出しアドレスrpがともに0にリセッ
トされるとすると、送信開始後、送信バッファ41への
書き込み及び送信バッファ41からの読み出し毎に書き
込みアドレスwp及び読み出しアドレスが1づつ逓増さ
れるので、任意の時刻における送信バッファ41の未送
信データの量ΔDs は、次式により求められる。
The clock selection signal generation circuit 20 starts generating the clock selection signal clksel in response to the transmission request signal send_req from the host system. In this case, the clock selection signal generation circuit 20 calculates the amount of untransmitted data stored in the transmission buffer 41 according to the write address wp and the read address rp. For example, assuming that both the write address wp and the read address rp are reset to 0 by the reset operation at the start of transmission, the write address wp and the read address rp are set every time writing to the transmission buffer 41 and reading from the transmission buffer 41 are started. Since the read address is incremented by one, the amount ΔD s of untransmitted data in the transmission buffer 41 at an arbitrary time is obtained by the following equation.

【0032】[0032]

【数1】 ΔDs =wp−rp …(1)ΔD s = wp−rp (1)

【0033】クロック選択信号生成回路20は、式
(1)に応じて算出した未送信データの量ΔDs に応じ
て、クロック選択信号clkselを生成する。また、
未送信データの量ΔDs が所定の時間TS においてある
所定の基準値Dref またはそれ以下に保持されている場
合、クロック信号の供給を停止させるクロック停止信号
clkstpを生成し、クロック生成回路10に出力す
る。なお、上記基準値Dref は、例えば、0に設定する
ことができる。
The clock selection signal generation circuit 20, depending on the amount [Delta] D s unsent data calculated in accordance with equation (1), and generates a clock selection signal CLKSEL. Also,
When the amount of untransmitted data ΔD s is maintained at or below a predetermined reference value D ref at a predetermined time T S , a clock stop signal clkstp for stopping the supply of the clock signal is generated, and the clock generation circuit 10 Output to Note that the reference value Dref can be set to 0, for example.

【0034】図3は、送信時におけるクロック選択信号
生成回路20の動作状態を示す状態遷移図である。図示
のように、送信時に3つの動作状態、即ち、送信待機状
態SST1、送信開始状態SST2及び送信停止状態
(サスペント状態)SST0が存在する。クロック選択
信号生成回路20は、送信バッファ41に蓄積した未送
信データの量ΔDs に応じて、これらの状態のうち何れ
かに保持される。初期状態として、クロック選択信号生
成回路20は送信待機状態SST1に保持される。この
状態において、クロック選択信号生成回路20は、クロ
ック生成回路10にもっとも低い周波数のクロックを出
力するようにクロック選択信号clkselを生成し、
クロック生成回路10に出力する。そして、書き込みア
ドレスwpと読み出しアドレスrpが、(wp=rp)
を満たしている間、即ち、未送信データの量ΔDs が0
に保たれている間このクロック選択信号を出力し続け
る。
FIG. 3 is a state transition diagram showing an operation state of the clock selection signal generation circuit 20 at the time of transmission. As shown in the figure, there are three operation states at the time of transmission, that is, a transmission standby state SST1, a transmission start state SST2, and a transmission stop state (suspend state) SST0. The clock selection signal generation circuit 20 is held in any one of these states according to the amount ΔD s of untransmitted data accumulated in the transmission buffer 41. As an initial state, the clock selection signal generation circuit 20 is held in the transmission standby state SST1. In this state, the clock selection signal generation circuit 20 generates the clock selection signal clksel so as to output the lowest frequency clock to the clock generation circuit 10,
Output to the clock generation circuit 10. Then, the write address wp and the read address rp are (wp = rp)
Is satisfied, that is, the amount of untransmitted data ΔD s is 0
, The clock selection signal is continuously output.

【0035】送信待機状態SST1において、クロック
選択信号生成回路20が(wp>rp)、即ち、送信バ
ッファ41に未送信データを検出した場合、送信開始状
態SST2に遷移する。送信開始状態SST2におい
て、クロック選択信号生成回路20は、書き込みアドレ
スwp及び読み出しrpに応じて、クロック選択信号c
lkselの生成及び状態の遷移を制御する。例えば、
(wp>rp)のとき、クロック選択信号生成回路20
は、式(1)に応じて未送信データ量ΔDs を算出し、
これに応じてクロック選択信号clkselを適宜生成
する。一方、(wp=rp)の状態が時間Ts2以上続い
たとき、送信待機状態SST1に状態遷移する。
In the transmission standby state SST1, when the clock selection signal generation circuit 20 detects (wp> rp), that is, when untransmitted data is detected in the transmission buffer 41, the state transits to the transmission start state SST2. In the transmission start state SST2, the clock selection signal generation circuit 20 generates the clock selection signal c according to the write address wp and the read rp.
It controls generation of lksel and state transition. For example,
When (wp> rp), the clock selection signal generation circuit 20
Calculates the untransmitted data amount ΔD s according to equation (1),
In response to this, the clock selection signal clksel is appropriately generated. On the other hand, when the (wp = rp) state of the lasted time T s2 or more, state transition to transmit standby state SST1.

【0036】送信開始状態SST2において、クロック
選択信号生成回路20は、式(1)に応じて未送信デー
タ量ΔDs を算出し、これに応じてクロック選択信号c
lkselを適宜生成する。例えば、時間tにおける書
き込みアドレス、読み出しアドレス及びクロック周波数
をそれぞれwp(t),rp(t)及びfck(t)と
すると、異なる二つの時刻t1,t2において、受信バ
ッファ45の未処理データ量ΔDs (t1),ΔD
s (t2)はそれぞれ次式に応じて算出される。
In the transmission start state SST2, the clock selection signal generation circuit 20 calculates the untransmitted data amount ΔD s according to the equation (1), and accordingly, the clock selection signal c.
lksel is generated appropriately. For example, if the write address, read address, and clock frequency at time t are wp (t), rp (t), and fck (t), respectively, the unprocessed data amount ΔD of the reception buffer 45 at two different times t1 and t2. s (t1), ΔD
s (t2) is calculated according to the following equations.

【0037】[0037]

【数2】 (Equation 2)

【0038】クロック選択信号生成回路20は、ΔDs
(t1)>ΔDs (t2)の場合、fck(t1)<f
ck(t2)を満たすようクロック選択信号clkse
lを生成する。
The clock selection signal generation circuit 20 generates ΔD s
If (t1)> ΔD s (t2), fck (t1) <f
clock selection signal clkse so as to satisfy ck (t2)
Generate l.

【0039】クロック選択信号生成回路20は、送信待
機状態SST1が時間Ts1以上続いたとき、サスペンド
状態SST0に遷移する。サスペンド状態SST0に遷
移したあと、まずクロック選択信号生成回路20はクロ
ック停止信号clkstpをクロック生成回路10に出
力する。これに応じて、クロック生成回路10はクロッ
ク信号clkの供給を停止するので、信号処理回路30
及びフロントエンド50の動作がそれぞれ停止する。
The clock selection signal generation circuit 20, when the transmission standby state SST1 lasted time T s1 above, a transition to the suspend state SST0. After transitioning to the suspend state SST0, first, the clock selection signal generation circuit 20 outputs the clock stop signal clkstp to the clock generation circuit 10. In response, the clock generation circuit 10 stops supplying the clock signal clk.
And the operation of the front end 50 is stopped.

【0040】サスペンド状態SST0において、クロッ
ク選択信号生成回路20は、送信バッファ41の状態を
監視し続けて、送信バッファ41に未送信データがない
場合、即ち(wp=rp)の場合、サスペンド状態SS
T0に保持される。送信バッファ41に未送信データを
検出した場合、即ち(wp>rp)のとき、送信待機状
態SST1に遷移する。
In the suspend state SST0, the clock selection signal generation circuit 20 keeps monitoring the state of the transmission buffer 41, and when there is no untransmitted data in the transmission buffer 41, that is, when (wp = rp), the suspend state SS
It is held at T0. When untransmitted data is detected in the transmission buffer 41, that is, when (wp> rp), the state transits to the transmission standby state SST1.

【0041】上述したように、クロック選択信号生成回
路20は、送信バッファ41の状態、具体的に送信バッ
ファ41に蓄積した未送信データの量ΔDs に対応し
て、送信待機状態SST1、送信開始状態SST2及び
サスペント状態SST0の何れかに保持される。それぞ
れの状態において、クロック選択信号生成回路20は送
信バッファのデータ量ΔDs に応じてクロック選択信号
clkselまたはクロック停止信号clkstpを適
宜生成し、クロック生成回路10に供給することによ
り、送信データを最適な速度で通信路に出力することが
でき、かつ送信データがない場合、信号処理回路30及
びフロントエンド50の動作を停止させることによっ
て、無駄な消費電力と不要な輻射の発生を防止できる。
[0041] As described above, the clock selection signal generation circuit 20, the state of the transmission buffer 41, corresponding to the amount [Delta] D s unsent data stored in the transmission buffer 41 specifically, transmission standby state SST1, start transmission It is held in either the state SST2 or the suspend state SST0. In each state, the clock selection signal generation circuit 20 appropriately generates the clock selection signal clksel or the clock stop signal clkstp according to the data amount ΔD s of the transmission buffer and supplies the clock selection signal clkstp to the clock generation circuit 10 to optimize the transmission data. When the signal can be output to the communication path at a high speed and there is no transmission data, the operation of the signal processing circuit 30 and the front end 50 is stopped, so that unnecessary power consumption and unnecessary radiation can be prevented.

【0042】図4は、本発明の通信装置における送信時
の動作の流れを示すフローチャートである。以下、図4
を参照しつつ、送信動作について説明する。送信動作
は、例えば、ホストシステムからの送信要求信号sen
d_reqを受けて始まる。まず、クロック選択信号生
成回路20により、所定の周波数を持つデフォルトクロ
ック信号clk0を選択するクロック選択信号clks
elが出力され、これに応じて信号処理回路30及びフ
ロントエンド50にクロック信号clk0がそれぞれ供
給される。フロントエンド50は、当該クロックにおい
て通信路を介して受信側との接続を確立する(ステップ
SS1)。
FIG. 4 is a flowchart showing a flow of an operation at the time of transmission in the communication apparatus of the present invention. Hereinafter, FIG.
The transmission operation will be described with reference to FIG. The transmission operation includes, for example, a transmission request signal sen from the host system.
Starts receiving d_req. First, the clock selection signal clks for selecting the default clock signal clk0 having a predetermined frequency by the clock selection signal generation circuit 20.
The clock signal clk0 is supplied to the signal processing circuit 30 and the front end 50, respectively. The front end 50 establishes a connection with the receiving side via the communication path at the clock (step SS1).

【0043】次に、クロック選択信号生成回路20は、
送信待機状態に保持される(ステップSS2)。この状
態において、送信バッファ41に未送信データの有無を
検出し、検出の結果に応じて送信をスタートさせる(ス
テップSS3)。
Next, the clock selection signal generation circuit 20
The transmission is kept in a standby state (step SS2). In this state, the presence or absence of untransmitted data is detected in the transmission buffer 41, and transmission is started according to the detection result (step SS3).

【0044】送信開始後、クロック選択信号生成回路2
0は、送信バッファ41のステータス(状態)を検出し
(ステップSS4)、送信バッファ41に蓄積した未送
信データの量ΔDs に応じて最適なクロック信号を選択
するクロック選択信号clkselを生成する(ステッ
プSS5)。
After starting transmission, the clock selection signal generation circuit 2
0 detects the status (state) of the transmission buffer 41 (step SS4), and generates a clock selection signal clksel for selecting an optimal clock signal according to the amount ΔD s of untransmitted data accumulated in the transmission buffer 41 (step SS4). Step SS5).

【0045】そして、クロック生成回路10は、クロッ
ク選択信号clkselにより選択して最適なクロック
信号clkを生成し、信号処理回路30及びフロントエ
ンド50にそれぞれ供給する。フロントエンド50は、
供給されたクロック信号clkにおいて受信側との接続
を確立し、送信バッファ41から送信データを読み出
し、通信路を介在して受信側に伝送する(ステップSS
6)。
Then, the clock generation circuit 10 generates an optimum clock signal clk by selecting it with the clock selection signal clksel, and supplies it to the signal processing circuit 30 and the front end 50, respectively. The front end 50
A connection with the receiving side is established with the supplied clock signal clk, transmission data is read from the transmission buffer 41, and transmitted to the receiving side via a communication path (step SS).
6).

【0046】そして、クロック選択信号生成回路20
は、例えば、ホストシステムからの送信要求信号sen
d_req及び送信バッファ41の未送信データの量Δ
s に応じて、送信終了するかを判断する(ステップS
S7)。送信を継続する場合、ステップSS4に戻る。
このように、本実施形態の通信装置において、送信バッ
ファ41に蓄積した送信データが0になるまで、蓄積し
た送信データの量ΔDsに応じて最適なクロック信号を
選択し、選択したクロック信号において受信側との接続
を確立し、そして送信バッファ41から送信データを読
み出して受信側に伝送する一連の動作が繰り返して行わ
れる。
Then, the clock selection signal generation circuit 20
Is, for example, a transmission request signal sen from the host system.
d_req and amount Δ of untransmitted data in the transmission buffer 41
Depending on the D s, it is determined whether the transmission is completed (step S
S7). If transmission is to be continued, the process returns to step SS4.
As described above, in the communication device of the present embodiment, until the transmission data stored in the transmission buffer 41 becomes 0, the optimum clock signal is selected in accordance with the amount ΔD s of the stored transmission data, and the selected clock signal is A series of operations for establishing a connection with the reception side, reading transmission data from the transmission buffer 41 and transmitting the data to the reception side are repeatedly performed.

【0047】次に、図5〜図7を参照しつつ、本実施形
態の通信装置における受信時の動作について説明する。
Next, the operation at the time of reception in the communication apparatus of the present embodiment will be described with reference to FIGS.

【0048】図5は、送受信バッファ40にある受信バ
ッファ45、ライトアドレスカウンタ46、リードアド
レスカウンタ47及びクロック選択信号生成回路20、
タイマー回路42を含む部分回路の構成を示すブロック
図である。図5に示すこの部分回路は、本実施形態の通
信装置の受信動作に係わるものである。
FIG. 5 shows a reception buffer 45, a write address counter 46, a read address counter 47, and a clock selection signal generation circuit 20 in the transmission / reception buffer 40.
FIG. 3 is a block diagram showing a configuration of a partial circuit including a timer circuit 42. This partial circuit shown in FIG. 5 relates to the receiving operation of the communication device of the present embodiment.

【0049】受信バッファ45に、図1に示すフロント
エンド50からの受信データrd1が順次書き込まれ
る。一方、受信バッファ45に蓄積したデータが信号処
理回路30に順次読み出され、当該読み出された受信デ
ータrd0が、信号処理回路30により処理され、送信
相手側によって伝送される情報データが再生されてホス
トシステムに出力される。
The reception data rd1 from the front end 50 shown in FIG. On the other hand, the data accumulated in the reception buffer 45 is sequentially read out to the signal processing circuit 30, the read reception data rd0 is processed by the signal processing circuit 30, and the information data transmitted by the transmission partner is reproduced. Output to the host system.

【0050】タイマー回路42は、クロック選択信号生
成回路20からの指示信号に従って所定の時間を設定し
て、時間のカウントを始める。そして設定した時間が経
過したとき、クロック選択信号生成回路20に時間経過
を示す信号を出力する。クロック選択信号生成回路20
は、タイマー回路42を用いて所定の時間を設定し、そ
の間送信バッファの状態を監視することによって、クロ
ック選択信号clkselまたはクロック停止信号cl
kstpを適宜に生成する。
The timer circuit 42 sets a predetermined time according to the instruction signal from the clock selection signal generation circuit 20, and starts counting the time. Then, when the set time has elapsed, a signal indicating the lapse of time is output to the clock selection signal generation circuit 20. Clock selection signal generation circuit 20
Sets a predetermined time using a timer circuit 42, and monitors the state of the transmission buffer during that time, whereby the clock selection signal clksel or the clock stop signal cl
kstp is generated appropriately.

【0051】ライトアドレスカウンタ46は、フロント
エンド50が受信バッファ45に受信データsd1を書
き込むときの書き込みアドレスwpを生成する。例え
ば、データの書き込みはバイト単位で行われる場合に、
1バイトの受信データが受信バッファ45に書き込まれ
る毎に書き込みアドレスwpが1づつ増加する。リード
アドレスカウンタ47は、信号処理回路30が受信バッ
ファ45から蓄積した受信データrd0を読み出すとき
の読み出しアドレスrpを生成する。例えば、受信デー
タの読み出しは、バイト単位で行われる場合に、1バイ
トの受信データが信号処理回路30に読み出される毎に
読み出しアドレスrpが1づつ増加する。
The write address counter 46 generates a write address wp when the front end 50 writes the reception data sd1 in the reception buffer 45. For example, when writing data is performed in byte units,
Each time one byte of received data is written to the reception buffer 45, the write address wp increases by one. The read address counter 47 generates a read address rp when the signal processing circuit 30 reads the received data rd0 accumulated from the reception buffer 45. For example, when reading of received data is performed in byte units, the read address rp increases by one each time one byte of received data is read by the signal processing circuit 30.

【0052】クロック選択信号生成回路20は、ライト
アドレスカウンタ46からの書き込みアドレスwp及び
リードアドレスカウンタ47からの読み出しアドレスr
pに応じて、クロックの周波数を制御するクロック選択
信号clksel及びクロック停止信号clkstpを
生成し、図1に示すクロック生成回路10に出力する。
The clock selection signal generation circuit 20 calculates the write address wp from the write address counter 46 and the read address r from the read address counter 47.
A clock selection signal clksel and a clock stop signal clkstp for controlling the frequency of the clock are generated in accordance with p, and output to the clock generation circuit 10 shown in FIG.

【0053】クロック選択信号生成回路20は、書き込
みアドレスwp及び読み出しアドレスrpに応じて、受
信バッファ45に蓄積した未処理データの量を算出す
る。例えば、受信開始時のリセット動作により、書き込
みアドレスwp及び読み出しアドレスrpがともに0に
リセットされるとすると、受信開始後、受信バッファ4
5への書き込み及び受信バッファ45からの読み出し毎
に書き込みアドレスwp及び読み出しアドレスが1づつ
増加するので、任意の時刻における受信バッファ45の
未処理データの量ΔDr は、次式により求められる。
The clock selection signal generation circuit 20 calculates the amount of unprocessed data stored in the reception buffer 45 according to the write address wp and the read address rp. For example, if the write address wp and the read address rp are both reset to 0 by the reset operation at the start of reception, the reception buffer 4
Since the write address wp and the read address are incremented by one each time data is written to the read buffer 5 and read from the receive buffer 45, the amount ΔD r of unprocessed data in the receive buffer 45 at an arbitrary time can be obtained by the following equation.

【0054】[0054]

【数3】 ΔDr =wp−rp …(3)ΔD r = wp−rp (3)

【0055】クロック選択信号生成回路20は、式
(2)に応じて算出した未処理データの量ΔDr に応じ
て、クロック選択信号clkselを生成する。また、
未処理データの量ΔDr が所定の時間Tr においてある
所定の基準値Dref またはそれ以下に保持されている場
合、クロック信号の供給を停止させるクロック停止信号
clkstpを生成し、クロック生成回路10に出力す
る。なお、上記基準値Dref は、例えば、0に設定する
ことができる。
The clock selection signal generation circuit 20 generates the clock selection signal clksel according to the unprocessed data amount ΔD r calculated according to the equation (2). Also,
If the amount of unprocessed data ΔD r is held at or below a predetermined reference value D ref at a predetermined time Tr , a clock stop signal clkstp for stopping the supply of the clock signal is generated, and the clock generation circuit 10 Output to Note that the reference value Dref can be set to 0, for example.

【0056】図6は、受信時におけるクロック選択信号
生成回路20の動作状態を示す状態遷移図である。図示
のように、受信時に3つの動作状態、即ち、受信待機状
態RST1、受信開始状態RST2及び受信停止状態
(サスペント状態)RST0が存在する。クロック選択
信号生成回路20は、受信バッファ45に蓄積した未処
理データの量ΔDr に応じて、これらの状態のうち何れ
かに保持される。初期状態として、クロック選択信号生
成回路20は受信待機状態RST1に保持される。この
状態において、クロック選択信号生成回路20は、クロ
ック生成回路10にもっとも低い周波数のクロックを出
力するようにクロック選択信号clkselを生成し、
クロック生成回路10に出力する。そして、書き込みア
ドレスwpと読み出しアドレスrpが、(wp=rp)
を満たしている間、即ち、未処理データの量ΔDr が0
に保たれている間このクロック選択信号を出力し続け
る。
FIG. 6 is a state transition diagram showing an operation state of clock selection signal generation circuit 20 at the time of reception. As shown, there are three operating states at the time of reception, that is, a reception standby state RST1, a reception start state RST2, and a reception stop state (suspend state) RST0. The clock selection signal generation circuit 20 is held in one of these states according to the amount ΔD r of the unprocessed data accumulated in the reception buffer 45. As an initial state, the clock selection signal generation circuit 20 is held in the reception standby state RST1. In this state, the clock selection signal generation circuit 20 generates the clock selection signal clksel so as to output the lowest frequency clock to the clock generation circuit 10,
Output to the clock generation circuit 10. Then, the write address wp and the read address rp are (wp = rp)
While the amount of unprocessed data ΔD r is zero.
, The clock selection signal is continuously output.

【0057】受信待機状態RST1において、クロック
選択信号生成回路20が(wp>rp)、即ち、受信バ
ッファ45に未処理データを検出した場合、受信開始状
態RST2に遷移する。受信開始状態RST2におい
て、クロック選択信号生成回路20は、書き込みアドレ
スwp及び読み出しrpに応じて、クロック選択信号c
lkselの生成及び状態の遷移を制御する。例えば、
(wp>rp)のとき、受信バッファの状態に応じてク
ロック選択信号clkselを適宜生成し、一方、(w
p=rp)の状態が時間Tr2以上続いたとき、受信待機
状態RST1に状態遷移する。
In the reception standby state RST1, when the clock selection signal generation circuit 20 detects (wp> rp), that is, when unprocessed data is detected in the reception buffer 45, the state transitions to the reception start state RST2. In the reception start state RST2, the clock selection signal generation circuit 20 generates the clock selection signal c according to the write address wp and the read rp.
It controls generation of lksel and state transition. For example,
When (wp> rp), the clock selection signal clksel is appropriately generated according to the state of the reception buffer.
When the state of (p = rp) continues for the time Tr2 or more, the state transits to the reception standby state RST1.

【0058】受信開始状態RST2において、クロック
選択信号生成回路20は、式(3)に応じて未処理デー
タ量ΔDr を算出し、これに応じてクロック選択信号c
lkselを適宜生成する。例えば、時間tにおける書
き込みアドレス、読み出しアドレス及びクロック周波数
をそれぞれwp(t),rp(t)及びfck(t)と
すると、異なる二つの時刻t1,t2において、受信バ
ッファ45の未処理データ量ΔDr (t1),ΔD
r (t2)はそれぞれ次式に応じて算出される。
[0058] In reception start condition RST2, clock selection signal generation circuit 20 calculates the raw data amount [Delta] D r depending on equation (3), the clock selection signal c in response thereto
lksel is generated appropriately. For example, if the write address, read address, and clock frequency at time t are wp (t), rp (t), and fck (t), respectively, the unprocessed data amount ΔD of the reception buffer 45 at two different times t1 and t2. r (t1), ΔD
r (t2) is calculated according to the following equations.

【0059】[0059]

【数4】 (Equation 4)

【0060】クロック選択信号生成回路20は、ΔDr
(t1)>ΔDr (t2)の場合、fck(t1)>f
ck(t2)を満たすようクロック選択信号clkse
lを生成する。
The clock selection signal generation circuit 20 calculates ΔD r
If (t1)> ΔD r (t2), fck (t1)> f
clock selection signal clkse so as to satisfy ck (t2)
Generate l.

【0061】クロック選択信号生成回路20は、受信待
機状態RST1が時間Tr1以上続いたとき、サスペンド
状態RST0に遷移する。サスペンド状態RST0に遷
移したあと、まずクロック選択信号生成回路20はクロ
ック停止信号clkstpをクロック生成回路10に出
力する。これに応じて、クロック生成回路10はクロッ
ク信号clkの供給を停止するので、信号処理回路30
及びフロントエンド50の動作がそれぞれ停止する。
When the reception standby state RST1 has continued for the time Tr1 or more, the clock selection signal generation circuit 20 transitions to the suspend state RST0. After transition to the suspend state RST0, the clock selection signal generation circuit 20 first outputs the clock stop signal clkstp to the clock generation circuit 10. In response, the clock generation circuit 10 stops supplying the clock signal clk.
And the operation of the front end 50 is stopped.

【0062】サスペンド状態RST0において、クロッ
ク選択信号生成回路20は、受信バッファ45の状態を
監視し続けて、受信バッファ45に未処理データがない
場合、即ち(wp=rp)の場合、サスペンド状態RS
T0に保持される。受信バッファ45に未処理データを
検出した場合、即ち(wp>rp)のとき、受信待機状
態RST1に遷移する。
In the suspend state RST0, the clock selection signal generation circuit 20 keeps monitoring the state of the receiving buffer 45, and when there is no unprocessed data in the receiving buffer 45, that is, when (wp = rp), the suspend state RS
It is held at T0. When unprocessed data is detected in the reception buffer 45, that is, when (wp> rp), the state transits to the reception standby state RST1.

【0063】上述したように、クロック選択信号生成回
路20は、受信バッファ45の状態、具体的に受信バッ
ファ45に蓄積した未処理データの量ΔDr に対応し
て、受信待機状態RST1、受信開始状態RST2及び
サスペント状態RST0の何れかに保持される。それぞ
れの状態において、クロック選択信号生成回路20は受
信バッファの未処理データ量ΔDr に応じてクロック選
択信号clkselまたはクロック停止信号clkst
pを適宜生成し、クロック生成回路10に供給すること
により、信号処理回路30及びフロントエンド50の動
作速度を最適に設定することができ、かつ受信データが
ない場合、信号処理回路30及びフロントエンド50の
動作を停止させることによって、無駄な消費電力と不要
な輻射の発生を防止できる。
As described above, the clock selection signal generation circuit 20 responds to the state of the reception buffer 45, specifically, the reception standby state RST1 and the reception start state according to the amount of unprocessed data ΔD r accumulated in the reception buffer 45. It is held in either the state RST2 or the suspend state RST0. In each state, the clock selection signal clock selection signal generation circuit 20 in response to the raw data amount [Delta] D r of receive buffer clksel or clock stop signal clkst
By appropriately generating p and supplying it to the clock generation circuit 10, the operation speeds of the signal processing circuit 30 and the front end 50 can be set optimally. By stopping the operation of 50, useless power consumption and generation of unnecessary radiation can be prevented.

【0064】図7は、本発明の通信装置における受信時
の動作の流れを示すフローチャートである。以下、図7
を参照しつつ、受信動作について説明する。受信動作開
始後、まず、クロック選択信号生成回路20により、所
定の周波数を持つデフォルトクロック信号clk0を選
択するクロック選択信号clkselが出力され、これ
に応じて信号処理回路30及びフロントエンド50にク
ロック信号clk0がそれぞれ供給される。フロントエ
ンド50は、当該クロックにおいて通信路を介して送信
側との接続を確立する(ステップSR1)。
FIG. 7 is a flowchart showing a flow of an operation at the time of reception in the communication apparatus of the present invention. Hereinafter, FIG.
The receiving operation will be described with reference to FIG. After the start of the receiving operation, first, the clock selection signal generation circuit 20 outputs a clock selection signal clksel for selecting the default clock signal clk0 having a predetermined frequency, and in response to this, outputs the clock signal to the signal processing circuit 30 and the front end 50. clk0 is supplied. The front end 50 establishes a connection with the transmission side via the communication path at the clock (step SR1).

【0065】次に、クロック選択信号生成回路20は、
受信待機状態に保持され(ステップSR2)る。この状
態において、受信バッファ45に未処理データの有無を
検出し、検出の結果に応じて受信をスタートさせる(ス
テップSR3)。
Next, the clock selection signal generation circuit 20
The reception standby state is maintained (step SR2). In this state, the presence or absence of unprocessed data in the reception buffer 45 is detected, and reception is started according to the result of the detection (step SR3).

【0066】受信開始後、クロック選択信号生成回路2
0は、受信バッファ45のステータスを検出し(ステッ
プSR4)、受信バッファ45に蓄積した未処理データ
の量ΔDr に応じて最適なクロック信号を選択するクロ
ック選択信号clkselを生成する(ステップSR
5)。
After the start of reception, the clock selection signal generation circuit 2
0 detects the status of the receive buffer 45 (step SR4), generates a clock selection signal clksel selecting an optimum clock signal in accordance with the amount [Delta] D r of raw data stored in the reception buffer 45 (step SR
5).

【0067】そして、クロック生成回路10は、クロッ
ク選択信号clkselにより選択して最適なクロック
信号clkを生成し、信号処理回路30及びフロントエ
ンド50にそれぞれ供給する。フロントエンド50は、
供給されたクロック信号clkにおいて通信先との接続
を確立し、通信路から受信データを受信し、受信バッフ
ァ45に書き込む(ステップSR6)。
Then, the clock generation circuit 10 generates an optimum clock signal clk by selecting it with the clock selection signal clksel and supplies it to the signal processing circuit 30 and the front end 50, respectively. The front end 50
The connection with the communication destination is established by the supplied clock signal clk, the reception data is received from the communication path, and the reception data is written into the reception buffer 45 (step SR6).

【0068】そして、クロック選択信号生成回路20
は、例えば、受信バッファ45の未処理データの量ΔD
r に応じて、受信終了するかを判断する(ステップSR
7)。受信を継続する場合、ステップSR4に戻る。こ
のように、本実施形態の通信装置において、受信バッフ
ァ45に蓄積した受信データが0になるまで、蓄積した
未処理データの量ΔDr に応じて最適なクロック信号を
選択し、選択したクロック信号において送信側との接続
を確立し、そして通信路から受信データを受けて受信バ
ッファ45に書き込む一連の動作が繰り返して行われ
る。
Then, the clock selection signal generation circuit 20
Is, for example, the amount ΔD of the unprocessed data in the reception buffer 45.
It is determined whether the reception is terminated according to r (step SR
7). If reception is to be continued, the process returns to step SR4. As described above, in the communication device of the present embodiment, until the received data stored in the reception buffer 45 becomes 0, the optimum clock signal is selected in accordance with the amount ΔD r of the stored unprocessed data, and the selected clock signal is selected. , A series of operations for establishing a connection with the transmitting side, receiving the received data from the communication path, and writing the received data to the reception buffer 45 are repeatedly performed.

【0069】上述したように、送信及び受信動作におい
て、それぞれ送信バッファ41または受信バッファ45
の蓄積データ量に応じて、信号処理回路30及びフロン
トエンド50に供給されるクロック信号clkの周波数
が最適に制御される。送受信がそれぞれ独立に行われて
いる場合、例えば、もっとも高速なクロック信号を要求
する方を優先してクロックの選択が行われる。また、送
信装置と受信装置が別々に備わった通信装置において、
送信装置と受信装置それぞれにおいて最適なクロック信
号の選択を行うことも可能である。
As described above, in the transmission and reception operations, the transmission buffer 41 or the reception buffer 45
, The frequency of the clock signal clk supplied to the signal processing circuit 30 and the front end 50 is optimally controlled. When transmission and reception are performed independently, for example, clock selection is performed with priority given to the one requesting the fastest clock signal. In a communication device having a transmitting device and a receiving device separately,
It is also possible to select an optimal clock signal in each of the transmitting device and the receiving device.

【0070】また、上述送信動作において、クロック選
択信号生成回路20は送信開始状態SST2において一
定の時間以上送信データが検出されないとき送信開始状
態SST2から送信待機状態SST1に遷移し、送信待
機状態SST1に一定の時間以上保持されたあと、サス
ペンド状態SST0に遷移するように状態遷移が制御さ
れるが、送信待機状態SST1を経由せず、直接サスペ
ンド状態SST0に遷移することも可能である。また、
受信動作においても同様に、受信開始状態RST2にお
いて一定の時間以上受信データが検出されないとき送信
開始状態RST2から受信待機状態RST1を経由せ
ず、直接サスペンド状態RST0に遷移するように状態
の遷移を制御できる。
In the above-described transmission operation, the clock selection signal generation circuit 20 shifts from the transmission start state SST2 to the transmission standby state SST1 when no transmission data is detected for a certain period of time in the transmission start state SST2, and shifts to the transmission standby state SST1. After being held for a certain period of time or more, the state transition is controlled so as to transit to the suspend state SST0, but it is also possible to transit directly to the suspend state SST0 without passing through the transmission standby state SST1. Also,
Similarly, in the reception operation, when the reception data is not detected for a predetermined time or more in the reception start state RST2, the state transition is controlled such that the state transition directly from the transmission start state RST2 to the suspend state RST0 without passing through the reception standby state RST1. it can.

【0071】[0071]

【発明の効果】以上説明したように、本発明の通信装置
によれば、通信速度に応じて必要最小限のクロック周波
数を持つクロック信号を供給し、これに応じて送受信動
作を行うことによって、消費電力の低減が図れると同時
に、不要な輻射の発生を抑制できる。また、通信装置が
ハードウェアの制御により、サスペンド状態に制御する
ことが可能であり、ソフトによる制御が回避され、CP
Uの負担を低減できる。さらに、送信、受信装置が別々
に備わった通信装置において、送信と受信装置にそれぞ
れ最適なクロック周波数制御を実現できるので、非対称
な通信方式においても通信装置における消費電力の低減
及び不要な電磁輻射の抑制を実現できる利点がある。
As described above, according to the communication apparatus of the present invention, a clock signal having a minimum required clock frequency is supplied according to the communication speed, and the transmission / reception operation is performed accordingly. Power consumption can be reduced, and at the same time, generation of unnecessary radiation can be suppressed. Further, the communication device can control the communication device to be in the suspend state by controlling the hardware.
The burden on U can be reduced. Furthermore, in a communication device having separate transmitting and receiving devices, optimal clock frequency control can be realized for each of the transmitting and receiving devices, so that even in an asymmetric communication system, the power consumption of the communication device can be reduced and unnecessary electromagnetic radiation can be reduced. There is an advantage that suppression can be realized.

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

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

【図2】送信動作に係る部分回路の構成を示すブロック
図である。
FIG. 2 is a block diagram illustrating a configuration of a partial circuit related to a transmission operation.

【図3】送信時のクロック選択信号生成回路の状態遷移
図である。
FIG. 3 is a state transition diagram of a clock selection signal generation circuit during transmission.

【図4】送信時の動作を示すフローチャートである。FIG. 4 is a flowchart showing an operation at the time of transmission.

【図5】受信動作に係る部分回路の構成を示すブロック
図である。
FIG. 5 is a block diagram showing a configuration of a partial circuit related to a receiving operation.

【図6】受信時のクロック選択信号生成回路の状態遷移
図である。
FIG. 6 is a state transition diagram of the clock selection signal generation circuit at the time of reception.

【図7】受信時の動作を示すフローチャートである。FIG. 7 is a flowchart showing an operation at the time of reception.

【符号の説明】[Explanation of symbols]

10…クロック生成回路、20…クロック選択信号生成
回路、30…信号処理回路、40…送受信バッファ、4
1…送信バッファ、42…タイマー回路、43…リード
アドレスカウンタ、44…ライトアドレスカウンタ、4
5…受信バッファ、46…ライトアドレスカウンタ、4
7…リードアドレスカウンタ、50…フロントエンド。
DESCRIPTION OF SYMBOLS 10 ... Clock generation circuit, 20 ... Clock selection signal generation circuit, 30 ... Signal processing circuit, 40 ... Transmission / reception buffer, 4
1 ... Transmission buffer, 42 ... Timer circuit, 43 ... Read address counter, 44 ... Write address counter, 4
5 reception buffer, 46 write address counter, 4
7: Read address counter, 50: Front end.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】所定の通信速度でデータの送信を行う送信
装置であって、 送信データを記憶する送信バッファと、 周波数制御されたクロック信号を受けて、当該クロック
信号の周波数に応じた速度で動作し、送信すべき情報デ
ータを送信データ系列として上記送信バッファに順次書
き込む信号処理回路と、 上記クロック信号を受けて、当該クロック信号の周波数
に応じた速度で動作し、上記送信バッファから上記送信
データを順次読み出して送信するインターフェース回路
と、 上記送信バッファのデータ蓄積量に応じて、生成するク
ロック信号の周波数を制御して上記信号処理回路及び上
記インターフェース回路に供給し、所定の時間において
上記送信データがない場合に、上記クロック信号の供給
を停止するクロック供給回路とを有する送信装置。
1. A transmission apparatus for transmitting data at a predetermined communication speed, comprising: a transmission buffer for storing transmission data; a frequency-controlled clock signal, receiving a frequency-controlled clock signal at a speed corresponding to the frequency of the clock signal. A signal processing circuit for operating and sequentially writing information data to be transmitted as a transmission data sequence to the transmission buffer; receiving the clock signal, operating at a speed corresponding to the frequency of the clock signal; An interface circuit for sequentially reading and transmitting data; and controlling the frequency of a generated clock signal according to the amount of data stored in the transmission buffer to supply the clock signal to the signal processing circuit and the interface circuit, and transmitting the data at a predetermined time. A clock supply circuit for stopping the supply of the clock signal when there is no data. Communication device.
【請求項2】所定の通信速度で送信されたデータを受信
する受信装置であって、 受信データを記憶する受信バッファと、 周波数制御されたクロック信号を受けて、当該クロック
信号の周波数に応じた速度で動作し、上記受信バッファ
から受信データを順次読み出し、当該受信データに応じ
た情報データを再生する信号処理回路と、 上記クロック信号を受けて、当該クロック信号の周波数
に応じた速度で動作し、受信データを受信して上記受信
バッファに順次書き込むインターフェース回路と、 上記受信バッファのデータ蓄積量に応じて、生成するク
ロック信号の周波数を制御して上記信号処理回路及び上
記インターフェース回路に供給し、所定の時間において
上記受信データがない場合に、上記クロック信号の供給
を停止するクロック供給回路とを有する受信装置。
2. A receiving apparatus for receiving data transmitted at a predetermined communication speed, comprising: a receiving buffer for storing received data; A signal processing circuit that operates at a speed, sequentially reads received data from the reception buffer, and reproduces information data corresponding to the received data; and receives the clock signal, and operates at a speed corresponding to the frequency of the clock signal. An interface circuit that receives received data and sequentially writes the received data into the reception buffer, and controls the frequency of the generated clock signal according to the amount of data stored in the reception buffer to supply the clock signal to the signal processing circuit and the interface circuit; Clock supply for stopping supply of the clock signal when there is no received data for a predetermined time A receiving device having a circuit.
【請求項3】所定の通信速度でデータの送受信を行う通
信装置であって、 送信データを記憶する送信バッファと、 受信データを記憶する受信バッファと、 周波数制御されたクロック信号を受けて、当該クロック
信号の周波数に応じた速度で動作し、送信すべき情報デ
ータを送信データ系列として上記送信バッファに順次書
き込み、上記受信バッファから受信データを順次読み出
し、当該受信データに応じた情報データを再生する信号
処理回路と、 周波数制御されたクロック信号を受けて、当該クロック
信号の周波数に応じた速度で動作し、送信時に上記送信
バッファから上記送信データを順次読み出して送信し、
受信時に受信データを受信して上記受信バッファに順次
書き込むインターフェース回路と、 上記送信バッファ及び上記受信バッファのデータ蓄積量
に応じて、生成するクロック信号の周波数を制御して上
記信号処理回路及び上記インターフェース回路に供給
し、所定の時間において上記送信データ及び上記受信デ
ータがない場合、上記クロック信号の供給を停止するク
ロック供給回路とを有する通信装置。
3. A communication device for transmitting and receiving data at a predetermined communication speed, comprising: a transmission buffer for storing transmission data; a reception buffer for storing reception data; It operates at a speed corresponding to the frequency of the clock signal, sequentially writes information data to be transmitted to the transmission buffer as a transmission data sequence, sequentially reads reception data from the reception buffer, and reproduces information data according to the reception data. A signal processing circuit, receiving the frequency-controlled clock signal, operating at a speed corresponding to the frequency of the clock signal, sequentially reading and transmitting the transmission data from the transmission buffer during transmission,
An interface circuit that receives received data at the time of reception and sequentially writes the received data into the reception buffer; and a signal processing circuit and the interface that control a frequency of a clock signal to be generated according to an amount of data stored in the transmission buffer and the reception buffer. A communication device comprising: a clock supply circuit that supplies a clock signal to a circuit when the transmission data and the reception data do not exist for a predetermined time.
【請求項4】上記送信バッファ及び受信バッファは、F
IFOにより構成されている請求項3記載の通信装置。
4. The transmission buffer and the reception buffer,
The communication device according to claim 3, wherein the communication device is configured by an IFO.
【請求項5】上記クロック供給回路は、上記送信バッフ
ァまたは上記受信バッファの上記データ蓄積量に応じ
て、クロック選択信号を生成するクロック選択信号生成
回路と、 上記クロック選択信号に応じた周波数を持つクロック信
号を生成するクロック生成回路とを有する請求項3記載
の通信装置。
5. The clock supply circuit according to claim 1, wherein the clock supply circuit generates a clock selection signal in accordance with the amount of data stored in the transmission buffer or the reception buffer, and has a frequency corresponding to the clock selection signal. The communication device according to claim 3, further comprising a clock generation circuit that generates a clock signal.
【請求項6】上記送信バッファに書き込まれるデータの
量をカウントする第1の書き込みカウンタと、 上記送信バッファから読み出されるデータの量をカウン
トする第1の読み出しカウンタとを有し、 上記クロック選択信号生成回路は、上記第1の書き込み
カウンタのカウント値と上記第1の読み出しカウンタの
カウント値に応じて、上記クロック選択信号を生成する
請求項5記載の通信装置。
6. A clock selection signal, comprising: a first write counter for counting an amount of data written to the transmission buffer; and a first read counter for counting an amount of data read from the transmission buffer. 6. The communication device according to claim 5, wherein the generation circuit generates the clock selection signal according to a count value of the first write counter and a count value of the first read counter.
【請求項7】上記クロック選択信号生成回路は、上記第
1の書き込みカウンタのカウント値と上記第1の読み出
しカウンタのカウント値との差に応じて上記送信バッフ
ァのデータ蓄積量を算出し、当該データ蓄積量に応じて
上記クロック選択信号を生成する請求項6記載の通信装
置。
7. The clock selection signal generation circuit calculates a data accumulation amount of the transmission buffer according to a difference between a count value of the first write counter and a count value of the first read counter. 7. The communication device according to claim 6, wherein the clock selection signal is generated according to a data storage amount.
【請求項8】上記クロック選択信号生成回路は、所定の
時間において上記送信データがない場合に、上記クロッ
ク生成回路にクロック停止信号を出力する請求項7記載
の通信装置。
8. The communication device according to claim 7, wherein said clock selection signal generation circuit outputs a clock stop signal to said clock generation circuit when there is no transmission data in a predetermined time.
【請求項9】上記クロック生成回路は、上記クロック選
択信号生成回路から上記クロック停止信号を受けたと
き、上記クロック信号の供給を停止する請求項8記載の
通信装置。
9. The communication device according to claim 8, wherein said clock generation circuit stops supplying said clock signal when receiving said clock stop signal from said clock selection signal generation circuit.
【請求項10】上記受信バッファに書き込まれるデータ
の量をカウントする第2の書き込みカウンタと、 上記受信バッファから読み出されるデータの量をカウン
トする第2の読み出しカウンタとを有し、 上記クロック選択信号生成回路は、上記第2の書き込み
カウンタのカウント値と上記第2の読み出しカウンタの
カウント値に応じて、上記クロック選択信号を生成する
請求項5記載の通信装置。
10. A clock selection signal, comprising: a second write counter for counting an amount of data written to the reception buffer; and a second read counter for counting an amount of data read from the reception buffer. The communication device according to claim 5, wherein the generation circuit generates the clock selection signal according to a count value of the second write counter and a count value of the second read counter.
【請求項11】上記クロック選択信号生成回路は、上記
第2の書き込みカウンタのカウント値と上記第2の読み
出しカウンタのカウント値との差に応じて上記受信バッ
ファのデータ蓄積量を算出し、当該データ蓄積量に応じ
て上記クロック選択信号を生成する請求項10記載の通
信装置。
11. The clock selection signal generation circuit calculates a data accumulation amount of the reception buffer according to a difference between a count value of the second write counter and a count value of the second read counter. The communication device according to claim 10, wherein the clock selection signal is generated according to a data storage amount.
【請求項12】上記クロック選択信号生成回路は、所定
の時間において上記受信データがない場合に、上記クロ
ック生成回路にクロック停止信号を出力する請求項11
記載の通信装置。
12. The clock selection signal generation circuit outputs a clock stop signal to the clock generation circuit when there is no received data in a predetermined time.
The communication device as described.
【請求項13】上記クロック生成回路は、上記クロック
選択信号生成回路から上記クロック停止信号を受けたと
き、上記クロック信号の供給を停止する請求項12記載
の通信装置。
13. The communication device according to claim 12, wherein said clock generation circuit stops supplying said clock signal when receiving said clock stop signal from said clock selection signal generation circuit.
JP11232878A 1999-08-19 1999-08-19 Transmitter, receiver and communication equipment Pending JP2001060985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11232878A JP2001060985A (en) 1999-08-19 1999-08-19 Transmitter, receiver and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11232878A JP2001060985A (en) 1999-08-19 1999-08-19 Transmitter, receiver and communication equipment

Publications (1)

Publication Number Publication Date
JP2001060985A true JP2001060985A (en) 2001-03-06

Family

ID=16946262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11232878A Pending JP2001060985A (en) 1999-08-19 1999-08-19 Transmitter, receiver and communication equipment

Country Status (1)

Country Link
JP (1) JP2001060985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881483B2 (en) 2003-11-11 2011-02-01 Matech, Inc. Two-way communications device having a single transducer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881483B2 (en) 2003-11-11 2011-02-01 Matech, Inc. Two-way communications device having a single transducer

Similar Documents

Publication Publication Date Title
JP5173880B2 (en) Serial data transfer device
JP2002084264A (en) Synchronization control apparatus
US6901462B2 (en) Receiving apparatus and flow control method therefor and transmitting apparatus and flow control method therefor
US6496879B2 (en) Data processing apparatus, external storage apparatus, data processing system and data transmitting method
JPWO2006043699A1 (en) External storage device and power management method thereof
US10171092B2 (en) Time clock signal processing system and method thereof
JP2008293230A (en) Data transfer device
US7082547B2 (en) Data signal processing method and data processor implementing independent and asynchronous system and data clocks
JP2001060985A (en) Transmitter, receiver and communication equipment
US6871241B2 (en) Interface apparatus, communication device including same, and communication method using same
JP4463040B2 (en) Signal converter
JPH09270779A (en) Data synchronization system
US11233514B2 (en) Semiconductor device including subsystem interfaces and communications method thereof
JP2005522799A (en) Selectable clocking architecture
JP2005122303A (en) Data transfer controller, electronic equipment and data transfer control method
JP4093034B2 (en) Content transmission / reception system and content transmission apparatus
JP2005057409A (en) Data receiving system
JP6488756B2 (en) Communication control apparatus and image forming apparatus
JP2771514B2 (en) Speed conversion circuit and data transmission device using the same
JPH09205426A (en) Transmission speed adjustment device
JP4481329B2 (en) Audio data transmitter / receiver
JP2001320384A (en) Transmission controller and transmitter
JPH0624395B2 (en) Data communication device
JP3198251B2 (en) Information communication terminal
CN117837120A (en) Communication device and communication system