JPH07226686A - Serial input/output circuit and mobile communication equipment - Google Patents

Serial input/output circuit and mobile communication equipment

Info

Publication number
JPH07226686A
JPH07226686A JP1914194A JP1914194A JPH07226686A JP H07226686 A JPH07226686 A JP H07226686A JP 1914194 A JP1914194 A JP 1914194A JP 1914194 A JP1914194 A JP 1914194A JP H07226686 A JPH07226686 A JP H07226686A
Authority
JP
Japan
Prior art keywords
serial
data
circuit
clock
output
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
JP1914194A
Other languages
Japanese (ja)
Inventor
Yutaka Nishiki
豊 西喜
Yasuaki Takahara
保明 高原
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1914194A priority Critical patent/JPH07226686A/en
Publication of JPH07226686A publication Critical patent/JPH07226686A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform serial transmissions/receptions by a designated number of bits and to improve processing efficiency by using a transmission side circuit and a reception side circuit which have prescribed constitutions for the data of the designated number of bits. CONSTITUTION:The number of bits to be transmitted from a transmission control circuit 3 is set to a register 6 and the number of bits to be received from a reception control circuit 9 is set to a register 12. In a matching detection circuit 7, the output signals of the register 6 and a transmission data count counter 5 are inputted. A signal inhibiting the output of a clock and a signal permitting the output of the clock are transmitted to a clock control circuit 8 when these two signals are matched and when the signals are not matched, respectively. In an initial state, the circuit 7 sets the signal inhibiting the output of the clock and a matching detection circuit 13 sets the signal permitting the output of the clock. The circuit 8 outputs the clock only when the two signals are permitted. When the WR signal that the circuit 3 outputs when the circuit 3 writes parallel data in a parallel/serial conversion circuit 4 is inputted in the circuit 7, the inhibition of the clock is switched to the permission of the clock.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、通信装置等に用いられ
るデータをシリアルに入出力する入出力回路に関するも
ので、特にパラレルデータを一旦シリアルデータに変換
して送出し、シリアルデータに誤り検出、誤り訂正、ス
クランブル等の処理を行った後、あるいはそのまま伝送
されたシリアルデータを再びパラレルデータに変換する
回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output circuit for serially inputting / outputting data used in a communication device or the like, and in particular, parallel data is once converted into serial data and sent out to detect an error in serial data. The present invention relates to a circuit for converting serial data, which has been subjected to error correction, scramble, or the like, or has been transmitted as it is, into parallel data.

【0002】[0002]

【従来の技術】シリアル入出力回路の構成にはデータの
送出側にはパラレルシリアル変換用のシフトレジスタ、
受信側にはシリアルパラレル変換用のシフトレジスタが
用いられることが知られている。このシリアル入出力回
路ではクロックがシフトレジスタに入力されるとシフト
動作が行われ特定の個数のデータを処理することは出来
ない。
2. Description of the Related Art A serial input / output circuit has a shift register for parallel-serial conversion on the data transmission side,
It is known that a shift register for serial / parallel conversion is used on the receiving side. In this serial input / output circuit, when the clock is input to the shift register, the shift operation is performed and a specific number of data cannot be processed.

【0003】この問題に対し、特定バイトで送受信が行
えるシリアル入出力回路が特開平3−97055号公報
に示されている。
To solve this problem, Japanese Patent Laid-Open No. 3-97055 discloses a serial input / output circuit capable of transmitting / receiving a specific byte.

【0004】図6はその特開平3−97055号公報に
記載のシリアル入出力回路の構成を示したものである。
図6において21はクロック信号CKに同期してデータ
をシフトするシフトレジスタ、22はシフトレジスタ2
1においてデータが特定回数シフトしたことを知らせる
ためにクロック信号CKをカウントするクロックカウン
タ(第1のカウンタ)、23はクロックカウンタ2が特
定の回数カウントしたときに出力されるクロックカウン
ト信号をカウントするバイトカウンタ(第2のカウン
タ)、24はバイトカウンタ3のカウント値が特定値に
なったときにシフトレジスタ1のクロック信号CKによ
るシフト動作を許可する制御を行うクロック制御回路、
25はシリアル入出力の送受信が終了したことを示す送
受信終了信号を制御する終了信号制御回路である。図6
において、クロックカウンタ22はシフトレジスタ21
の段数と同じ値に設定され、クロック信号CKを設定さ
れた数だけカウントするたびにオーバーフロー信号を出
力する。バイトカウンタ23はこのオーバーフロー信号
をカウントしカウント値が所定の値になっている間、シ
リアル送受信が行えるようにクロック制御回路24と終
了信号制御回路25に制御信号を出力する。ここでバイ
トカウンタを例えばダウンカウンタとし、その内容が0
になっている間のみ制御信号を出力するものとする。こ
こでバイトカウンタ23に、送信を行わないクロック信
号CKのバイト数を書き込むと、クロックカウンタ22
からのオーバーフロー信号によりバイトカウンタ23は
ダウンカウントし、その内容が0になるまでシリアル送
受信は行わず、0になったときのみ送受信が行われる。
その後バイトカウンタ23はさらにダウンカウントを行
うためクロック信号CKでは送受信は行われなくなる。
FIG. 6 shows the configuration of the serial input / output circuit described in Japanese Patent Laid-Open No. 3-97055.
In FIG. 6, 21 is a shift register that shifts data in synchronization with the clock signal CK, and 22 is a shift register 2.
In 1, a clock counter (first counter) that counts the clock signal CK to notify that the data has been shifted a specific number of times, and 23 counts a clock count signal that is output when the clock counter 2 counts a specific number of times. A byte counter (second counter) 24 is a clock control circuit for controlling the shift operation by the clock signal CK of the shift register 1 when the count value of the byte counter 3 reaches a specific value.
An end signal control circuit 25 controls a transmission / reception end signal indicating that the transmission / reception of serial input / output has ended. Figure 6
In the clock counter 22, the shift register 21
Is set to the same value as the number of stages, and an overflow signal is output each time the clock signal CK is counted by the set number. The byte counter 23 counts this overflow signal and outputs a control signal to the clock control circuit 24 and the end signal control circuit 25 so that serial transmission / reception can be performed while the count value is a predetermined value. Here, the byte counter is, for example, a down counter, and its content is 0.
The control signal is output only during the period. Here, when the number of bytes of the clock signal CK which is not transmitted is written in the byte counter 23, the clock counter 22
The byte counter 23 counts down in response to the overflow signal from No., serial transmission / reception is not performed until the content becomes 0, and transmission / reception is performed only when it becomes 0.
After that, the byte counter 23 further counts down, so that transmission / reception is not performed with the clock signal CK.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
技術に係わるシリアル入出力回路では、前述したように
制御信号にバイトカウンタの出力を用いるため、バイト
単位の送受信を行うことはできたが、特定ビット数のシ
リアル送受信を行うことが出来ないという問題があっ
た。また、従来技術では送出されたシリアルデータの処
理、シリアルデータを受信してパラレルデータに変換す
る受信側の構成については記述されていない。また、従
来技術では送出のバイト数の指定だけで受信については
指定することは出来ないという問題があった。
However, in the serial input / output circuit according to the conventional technique, the output of the byte counter is used for the control signal as described above, so that it is possible to perform transmission / reception in byte units. There was a problem that serial transmission / reception with a bit number could not be performed. Further, the prior art does not describe the processing of transmitted serial data and the configuration of the receiving side that receives serial data and converts it into parallel data. Further, in the conventional technique, there is a problem in that it is not possible to specify reception only by specifying the number of bytes to be sent.

【0006】本発明はこのような課題を解決し、指定し
たビット数だけシリアル送受信を行うことが出来るシリ
アル入出力回路を提供することを目的とする。また、送
出されたシリアルデータにスクランブル、誤り検出、誤
り訂正等の処理を行うことが出来るシリアル入出力回路
を提供することを目的とする。
An object of the present invention is to solve such problems and to provide a serial input / output circuit capable of performing serial transmission / reception by a designated number of bits. Another object of the present invention is to provide a serial input / output circuit that can perform processing such as scrambling, error detection, and error correction on the transmitted serial data.

【0007】[0007]

【課題を解決するための手段】本発明のシリアル入出力
装置は、指定されたビット数のデータを送受信するため
に、送るビットを指定するレジスタと送るビットを計数
するカウンタとクロックを制御する回路とパラレルデー
タをシリアルデータに変換するシフトレジスタで構成さ
れる送り側回路と、受けるビットを指定するレジスタと
受けるビットを計数するカウンタとクロックを制御する
回路とシリアルデータをパラレルデータに変換するシフ
トレジスタで構成される送り側回路とを備えること特徴
とする。
SUMMARY OF THE INVENTION A serial input / output device of the present invention is a circuit for controlling a clock and a register for counting a bit to be transmitted, a register for designating a bit to be transmitted, in order to transmit and receive data of a designated number of bits. And a shifter circuit configured to convert parallel data to serial data, a register that specifies the received bit, a counter that counts the received bit, a circuit that controls the clock, and a shift register that converts the serial data to parallel data. And a sending side circuit configured by.

【0008】[0008]

【作用】送出するシリアルデータ長、受信するシリアル
データ長を自由に可変できるため不要なシリアル送受信
を行う必要がなく、効率よくシリアルデータの転送が行
える。シフトレジスタへのデータ入力タイミングおよび
シフトレジスタからの出力タイミングの制御を行う必要
がないため処理が簡単になる。
Since the length of serial data to be sent and the length of serial data to be received can be freely changed, there is no need to perform unnecessary serial transmission / reception, and serial data can be efficiently transferred. The process is simplified because it is not necessary to control the data input timing to the shift register and the output timing from the shift register.

【0009】以上のことからシリアル入出力の制御を行
う例えばマイクロコンピュータは他の処理を行うことが
できるため、処理効率の向上を図ることができる。ま
た、この装置をスクランブル、誤り検出、誤り訂正等の
処理に用いれば、効率よく処理の高速化が図れる。
From the above, for example, a microcomputer that controls serial input / output can perform other processing, so that the processing efficiency can be improved. If this device is used for scrambling, error detection, error correction, etc., the processing speed can be increased efficiently.

【0010】[0010]

【実施例】以下、図面を用いて本発明を詳細に説明す
る。
The present invention will be described in detail below with reference to the drawings.

【0011】図1は本発明の第1実施例に係わるシリア
ルデータ入出力回路を示した構成図である。図1におい
て1はパラレルデータをシリアルに変換して送信する送
信回路、2はシリアルデータを受信してパラレルデータ
に変換する受信回路、3は送信データあるいはレジスタ
に値を設定する送信制御回路、9は送信データあるいは
レジスタに値を設定する受信制御回路である。
FIG. 1 is a block diagram showing a serial data input / output circuit according to the first embodiment of the present invention. In FIG. 1, 1 is a transmission circuit for converting parallel data into serial data and transmitting, 2 is a reception circuit for receiving serial data and converting it into parallel data, 3 is a transmission control circuit for setting transmission data or a value in a register, 9 Is a reception control circuit for setting a value in transmission data or a register.

【0012】次に動作について説明する。まず第一に送
信制御回路より送信したいビット数をレジスタ6に、受
信制御回路より受信したいビット数をレジスタ12に設
定する。一致検出回路7にはレジスタ6と送信データ計
数カウンタ5の出力信号が入力されこの2つの信号が一
致した時にはクロックの出力を禁止、一致しないときに
はクロックの出力を許可する信号をクロック制御回路8
に出力する。一致検出回路13についてもその動作は同
様である。初期状態では一致検出回路7はクロックの出
力を禁止、一致検出回路13はクロックの出力を許可す
る信号を出力するようあらかじめ設定しておき、クロッ
ク制御回路8はこの2つの信号の両方が許可のときだけ
クロックを出力する。また、一致検出回路7は送信制御
回路3がパラレルシリアル変換回路4にパラレルデータ
を書き込むときに出力するWR信号が入力されるとクロ
ック出力禁止の信号からクロック出力許可の信号に切り
換えを行う。一致検出回路13については受信制御回路
9がシリアルパラレル変換回路10からパラレルデータ
を読み出すときに出力するRD信号が入力されると同様
の切り換えを行う。
Next, the operation will be described. First, the number of bits to be transmitted from the transmission control circuit is set in the register 6, and the number of bits to be received from the reception control circuit is set in the register 12. The output signals of the register 6 and the transmission data counting counter 5 are input to the coincidence detection circuit 7, and when the two signals coincide, the clock output is prohibited, and when they do not coincide, the clock control circuit 8 outputs a signal that permits the clock output.
Output to. The operation of the coincidence detection circuit 13 is similar. In the initial state, the coincidence detection circuit 7 is prohibited from outputting the clock, the coincidence detection circuit 13 is preset to output a signal permitting the clock output, and the clock control circuit 8 permits both of these two signals. Output clock only when. Further, the coincidence detection circuit 7 switches from the clock output prohibition signal to the clock output permission signal when the WR signal output when the transmission control circuit 3 writes parallel data to the parallel-serial conversion circuit 4 is input. The match detection circuit 13 is switched in the same manner as when the RD signal output when the reception control circuit 9 reads parallel data from the serial-parallel conversion circuit 10 is input.

【0013】ここで仮にレジスタ6に10、レジスタ1
2に8を設定して送受信する場合について説明する。送
信制御回路3より10ビットのパラレルデータをパラレ
ルシリアル変換回路4に書き込むと一致検出回路7にW
R信号を出力する。一致検出回路7ではWR信号が入力
されると前述したようにクロック制御回路8にクロック
出力許可信号を出力する。クロック制御回路8はこの信
号に従いクロックを出力し、パラレルシリアル変換回路
4はシリアル送信を開始する。また、送信データ計数カ
ウンタ5、カウンタ6はそれぞれ送信ビット、受信ビッ
トのカウントを開始する。この後受信データ計数カウン
タ11のカウント値が8になるまで送受信を行う。受信
データ計数カウンタ11のカウント値が8に達すると一
致検出回路13はレジスタ12の出力と受信データ計数
カウンタ11のカウント値が一致したことを検出し、ク
ロック出力禁止信号をクロック制御回路8に出力する。
クロック制御回路8はこの信号によってクロックの出力
を停止し、送受信が停止する。ここで受信制御回路9が
シリアルパラレル変換回路10より受信したデータを読
み出すとRD信号が一致検出回路13に出力され、一致
検出回路13はクロック出力許可信号を出力すると同時
にカウンタ6のリセットを行う。これにより、再び送受
信が再開され、2ビット送信されると送信データ計数送
信データ計数カウンタ5のカウント値が10となり一致
検出回路7はクロック出力禁止信号を出力し送受信が停
止する。ここで送信制御回路3からパラレルシリアル変
換回路4に次の送信データを書き込むとWR信号が出力
され一致検出回路7よりのクロック出力許可信号により
送信データ計数カウンタ5がリセットされ、送受信が再
開される。この動作を繰り返すことによりシリアル送受
信を行う。
Here, suppose that register 6 is 10 and register 1 is
A case where 2 is set to 8 and transmission / reception is performed will be described. When 10-bit parallel data is written from the transmission control circuit 3 to the parallel-serial conversion circuit 4, the match detection circuit 7 receives W.
Output the R signal. When the WR signal is input, the coincidence detection circuit 7 outputs the clock output enable signal to the clock control circuit 8 as described above. The clock control circuit 8 outputs a clock according to this signal, and the parallel-serial conversion circuit 4 starts serial transmission. Further, the transmission data counting counter 5 and the counter 6 start counting transmission bits and reception bits, respectively. After that, transmission / reception is performed until the count value of the reception data counting counter 11 reaches 8. When the count value of the reception data count counter 11 reaches 8, the match detection circuit 13 detects that the output of the register 12 and the count value of the reception data count counter 11 match and outputs a clock output prohibition signal to the clock control circuit 8. To do.
The clock control circuit 8 stops the output of the clock by this signal, and the transmission / reception is stopped. Here, when the reception control circuit 9 reads the data received from the serial-parallel conversion circuit 10, the RD signal is output to the coincidence detection circuit 13, and the coincidence detection circuit 13 outputs the clock output enable signal and simultaneously resets the counter 6. Thereby, the transmission / reception is restarted again, and when 2 bits are transmitted, the count value of the transmission data count transmission data count counter 5 becomes 10 and the coincidence detection circuit 7 outputs the clock output prohibition signal and the transmission / reception is stopped. Here, when the next transmission data is written from the transmission control circuit 3 to the parallel-serial conversion circuit 4, a WR signal is output and the transmission data counting counter 5 is reset by the clock output permission signal from the coincidence detection circuit 7 and the transmission and reception are restarted. . Serial transmission / reception is performed by repeating this operation.

【0014】以上のようにパラレルシリアル変換回路、
シリアルパラレル変換回路のビット数及び送信制御回
路、受信制御回路の書き込み、読みだしのビット数によ
らずシリアル送受信ができる。また、RD信号とWR信
号を用いて回路全体の動作、停止を制御するため不要な
送受信を行うことがない。
As described above, the parallel-serial conversion circuit,
Serial transmission / reception can be performed regardless of the number of bits of the serial / parallel conversion circuit and the number of bits of writing / reading of the transmission control circuit and the reception control circuit. Further, since the operation and stop of the entire circuit are controlled by using the RD signal and the WR signal, unnecessary transmission / reception is not performed.

【0015】次に本発明の第2実施例について説明す
る。
Next, a second embodiment of the present invention will be described.

【0016】図2は本発明の第2実施例に係わるシリア
ル入出力回路の構成を示した図である。
FIG. 2 is a diagram showing the configuration of a serial input / output circuit according to the second embodiment of the present invention.

【0017】第2実施例ではシリアル入出力回路をTD
MA通信のような高速なデータ処理を行う装置に適用し
た場合について説明し、送信制御と受信制御を1つのマ
イクロコンピュータで行うところと、送出したシリアル
データに誤り訂正等の処理を行った後、受信するところ
が第1実施例と異なる。
In the second embodiment, the serial input / output circuit has a TD.
A case where the present invention is applied to a device that performs high-speed data processing such as MA communication will be described. A case where transmission control and reception control are performed by one microcomputer and after performing processing such as error correction on transmitted serial data, The reception is different from that of the first embodiment.

【0018】図2において1と2は図1に示した送信回
路と受信回路、14はBCH回路、15はCRC回路、
16はスクランブラ回路、17は送受信の制御を行うマ
イクロコンピュータである。携帯電話のようなTDMA
通信のシステムでは、送信或いは受信したデータ列にス
クランブル、誤り検出、誤り訂正の処理を高速に行う必
要がある。
In FIG. 2, 1 and 2 are the transmitting circuit and the receiving circuit shown in FIG. 1, 14 is a BCH circuit, 15 is a CRC circuit,
Reference numeral 16 is a scrambler circuit, and 17 is a microcomputer for controlling transmission / reception. TDMA like a mobile phone
In a communication system, it is necessary to perform scrambling, error detection, and error correction processing on a transmitted or received data string at high speed.

【0019】次に動作について説明する。Next, the operation will be described.

【0020】マイクロコンピュータ17は処理の対象と
なるパラレルデータを送信回路1に書き込むと送信回路
1はシリアルデータの送出を開始する。マイクロコンピ
ュータ17はBCH回路14、CRC回路15、スクラ
ンブル回路16にあらかじめ初期値を書き込んでおく。
ここで、図3は誤り検出を行うCRC回路15、図4は
誤り訂正符号を付加するBCH回路14、図5はランダ
ム符号を発生するスクランブル回路16の構成の1例を
示した図である。送信回路より送出されたシリアルデー
タはBCH回路14とCRC回路15に入力され同時に
処理を行う。CRC回路15では入力されたデータ列を
シフトレジスタ30〜37で1ビットづつシフトして誤
り検出符号を生成し、生成したデータをマイクロコンピ
ュータ17に出力する。マイクロコンピュータ17はこ
の出力を処理する対象データの後ろに付加して送信回路
1に書き込む。BCH回路14では入力されたデータ列
にCRC回路と同様にレジスタ38〜41を1ビットづ
つシフトすることにより誤り訂正符号の生成と付加を行
った後、データを出力する。スクランブル回路16は設
定された初期値にしたがってランダム符号を発生し、B
CH回路14より出力されたシリアルデータと排他的論
理和をとることによってスクランブルをかけ、その結果
を受信回路2に出力する。受信回路2では第1実施例で
説明ように処理されたシリアルデータをパラレルデータ
に変換しその結果をCPU17が読み込み必要なデータ
処理が終了する。
When the microcomputer 17 writes parallel data to be processed in the transmission circuit 1, the transmission circuit 1 starts sending serial data. The microcomputer 17 writes the initial values in the BCH circuit 14, the CRC circuit 15, and the scramble circuit 16 in advance.
Here, FIG. 3 is a diagram showing an example of the configuration of the CRC circuit 15 that performs error detection, FIG. 4 is a diagram of the configuration of the BCH circuit 14 that adds an error correction code, and FIG. 5 is a diagram showing an example of the configuration of the scramble circuit 16 that generates a random code. The serial data sent from the transmission circuit is input to the BCH circuit 14 and the CRC circuit 15 and processed simultaneously. In the CRC circuit 15, the input data string is shifted by 1 bit by the shift registers 30 to 37 to generate an error detection code, and the generated data is output to the microcomputer 17. The microcomputer 17 adds this output after the target data to be processed and writes it in the transmission circuit 1. In the BCH circuit 14, the error correction code is generated and added by shifting the registers 38 to 41 to the input data string by 1 bit like the CRC circuit, and then the data is output. The scramble circuit 16 generates a random code according to the set initial value, and B
It scrambles by taking the exclusive OR with the serial data output from the CH circuit 14, and outputs the result to the receiving circuit 2. In the receiving circuit 2, the serial data processed as described in the first embodiment is converted into parallel data, the result is read by the CPU 17, and the necessary data processing is completed.

【0021】以上のように通信装置に必要な一連のデー
タ処理を一括して行うことができ、処理の高速化を図る
ことができる。
As described above, the series of data processing required for the communication device can be collectively performed, and the processing speed can be increased.

【0022】なお、本実施例では通信装置の送信時の処
理について説明したが、受信時の処理についても同様に
適用できる。
Although the processing at the time of transmission of the communication device has been described in the present embodiment, the processing at the time of reception can be similarly applied.

【0023】また、本実施例に記載した送信回路のみを
単独で用いることができるのは言うまでもない。
Needless to say, only the transmission circuit described in this embodiment can be used alone.

【0024】また、受信回路については送信回路と同様
に一致検出回路13の出力で制御するクロック制御回路
を設ければ単独で使用できる。
The receiving circuit can be used independently if a clock control circuit for controlling the output by the coincidence detecting circuit 13 is provided as in the transmitting circuit.

【0025】[0025]

【発明の効果】このようにシリアル送受信を行うことに
よりパラレルシリアル変換回路、シリアルパラレル変換
回路のビット数及び送信制御回路、受信制御回路の書き
込み、読みだしのビット数によらずシリアル送受信がで
きる。
By thus performing serial transmission / reception, serial transmission / reception can be performed regardless of the number of bits of the parallel / serial conversion circuit, the serial / parallel conversion circuit, and the writing / reading bits of the transmission control circuit and the reception control circuit.

【0026】つまり状況に応じてその必要なビット数に
よりデータを送信もしくは受信できるので、従来の固定
されたビット数でのデータの送受信に比べて、高効率な
データ伝送が可能となる。
In other words, data can be transmitted or received with the required number of bits depending on the situation, so that highly efficient data transmission can be performed as compared with the conventional data transmission / reception with a fixed number of bits.

【0027】また、不要な送受信を行うことがないため
送受信の制御に用いる例えばCPUは他の処理に専念す
ることができ、処理効率の向上が図れる。
Further, since unnecessary transmission / reception is not performed, for example, the CPU used for transmission / reception control can concentrate on other processing, and the processing efficiency can be improved.

【0028】通信装置等のシリアルデータ処理に用いれ
ば効率よくデータを処理することができ、処理の高速化
が図れる。
If used for serial data processing of a communication device or the like, data can be processed efficiently and the processing speed can be increased.

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

【図1】本発明の第1実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing the first embodiment of the present invention.

【図2】本発明の第2実施例を示すブロック構成図であ
る。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【図3】図2におけるCRC回路の構成を示すブロック
図である。
FIG. 3 is a block diagram showing a configuration of a CRC circuit in FIG.

【図4】図2におけるBCH回路の構成を示すブロック
図である。
4 is a block diagram showing a configuration of a BCH circuit in FIG.

【図5】図2におけるスクランブル回路の構成を示すブ
ロック図である。
5 is a block diagram showing a configuration of a scramble circuit in FIG.

【図6】従来のシリアル入出力回路を示すブロック構成
図である。
FIG. 6 is a block diagram showing a conventional serial input / output circuit.

【符号の説明】 1…送信回路、 2…受信回路、 3…送信制御回路、 4…パラレルシリアル変換回路、 5…送信データ計数カウンタ、 7,13…一致検出回路、 8…クロック制御回路、 9…受信制御回路、 10…シリアルパラレル変換回路、 11…受信データ計数カウンタ、 14…BCH回路、 15…CRC回路、 16…スクランブル回路、 17…マイクロコンピュータ。[Explanation of Codes] 1 ... Transmission circuit, 2 ... Reception circuit, 3 ... Transmission control circuit, 4 ... Parallel-serial conversion circuit, 5 ... Transmission data counter, 7, 13 ... Match detection circuit, 8 ... Clock control circuit, 9 ... reception control circuit, 10 ... serial-parallel conversion circuit, 11 ... reception data counter, 14 ... BCH circuit, 15 ... CRC circuit, 16 ... scramble circuit, 17 ... microcomputer.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】送信側において、伝送すべきパラレルデー
タをパラレルシリアル変換部にてシリアルデータに変換
して送出し、受信側において前記シリアルデータをシリ
アルパラレル変換部にてパラレルデータに変換し、前記
送信側、または受信側のいずれかから発生される、送受
信側に共通のクロックに従って送信タイミングが設定さ
れるシリアルデータ入出力回路において、 前記送信側にパラレルデータをシリアルデータに変換す
るビット数を指定する制御手段と前記制御手段の指定値
を記憶する記憶手段と送出したシリアルデータの数を計
数する計数手段と前記記憶手段と前記計数手段の出力を
比較する比較手段と前記比較手段の出力を入力して送受
信のクロックを制御するクロック制御手段とを備えたこ
とを特徴とするシリアル入出力回路。
1. A transmission side converts parallel data to be transmitted into parallel data by a parallel-serial conversion unit and sends the serial data, and a reception side converts the serial data into parallel data by a serial-parallel conversion unit. In a serial data input / output circuit that is generated from either the transmitting side or the receiving side and whose transmission timing is set according to a clock common to the transmitting and receiving sides, specify the number of bits for converting parallel data to serial data in the transmitting side. Control means and storage means for storing the designated value of the control means, counting means for counting the number of serial data sent, comparison means for comparing the outputs of the storage means and the counting means, and the output of the comparison means Serial input / output, characterized by including a clock control means for controlling a transmission / reception clock circuit.
【請求項2】送信側において、伝送すべきパラレルデー
タをパラレルシリアル変換部にてシリアルデータに変換
して送出し、受信側において前記シリアルデータをシリ
アルパラレル変換部にてパラレルデータに変換し、前記
送信側、または受信側のいずれかから発生される、送受
信側に共通のクロックに従って送信タイミングが設定さ
れるシリアルデータ入出力回路において、 前記送信側にパラレルデータをシリアルデータに変換す
るビット数を指定する制御手段と前記制御手段の指定値
を記憶する記憶手段と送出したシリアルデータの数を計
数する計数手段と前記記憶手段と前記計数手段の出力を
比較する比較手段と前記比較手段の出力を入力して送受
信のクロックを制御するクロック制御手段とを備えたこ
とを特徴とするシリアル入出力回路。
2. A transmission side converts parallel data to be transmitted into parallel data by a parallel-serial conversion unit and sends the serial data, and a reception side converts the serial data into parallel data by a serial-parallel conversion unit. In a serial data input / output circuit that is generated from either the transmitting side or the receiving side and whose transmission timing is set according to a clock common to the transmitting and receiving sides, specify the number of bits for converting parallel data to serial data in the transmitting side. Control means and storage means for storing the designated value of the control means, counting means for counting the number of serial data sent, comparison means for comparing the outputs of the storage means and the counting means, and the output of the comparison means Serial input / output, characterized by including a clock control means for controlling a transmission / reception clock circuit.
【請求項3】送信側において、伝送すべきパラレルデー
タをパラレルシリアル変換部にてシリアルデータに変換
して送出し、受信側において前記シリアルデータをシリ
アルパラレル変換部にてパラレルデータに変換し、前記
送信側、または受信側のいずれかから発生される、送受
信側に共通のクロックに従って送信タイミングが設定さ
れるシリアルデータ入出力回路において、 前記送信側にパラレルデータをシリアルデータに変換す
るビット数を指定する第1の制御手段と前記第1の制御
手段の指定値を記憶する第1の記憶手段と送出したシリ
アルデータの数を計数する第1の計数手段と前記第1の
記憶手段と前記第1の計数手段の出力を比較する第1の
比較手段と前記第1の比較手段の出力を入力して送受信
のクロックを制御する第1のクロック制御手段と前記受
信側にシリアルデータをパラレルデータに変換するビッ
ト数を指定する第2の制御手段と前記第2の制御手段の
指定値を記憶する第2の記憶手段と送出したシリアルデ
ータの数を計数する第2の計数手段と前記第2の記憶手
段と前記第2の計数手段の出力を比較する第2の比較手
段と前記第2の比較手段の出力を入力して送受信のクロ
ックを制御する第2のクロック制御手段とを備えたこと
を特徴とするシリアル入出力回路。
3. On the transmitting side, parallel data to be transmitted is converted into serial data by a parallel-serial conversion section and sent out, and on the receiving side, the serial data is converted into parallel data by a serial-parallel conversion section, In a serial data input / output circuit that is generated from either the transmitting side or the receiving side and whose transmission timing is set according to a clock common to the transmitting and receiving sides, specify the number of bits for converting parallel data to serial data in the transmitting side. First control means, first storage means for storing specified values of the first control means, first counting means for counting the number of transmitted serial data, the first storage means, and the first First comparing means for comparing the outputs of the counting means and the first clock for inputting the output of the first comparing means to control the transmission / reception clock. Lock control means, second control means for designating the number of bits for converting serial data to parallel data on the receiving side, second storage means for storing the designated value of the second control means, and transmitted serial data. The second counting means for counting the number, the second storage means and the second comparing means for comparing the outputs of the second counting means and the output of the second comparing means are input to transmit and receive clocks. A serial input / output circuit comprising: a second clock control unit for controlling.
【請求項4】送信側より出力されるシリアルデータを入
力して誤り検出符号の生成、付加、検出を行う誤り検出
手段と前記誤り検出出手段の出力を入力して誤り訂正符
号の生成、付加、検出を行う誤り訂正手段と乱数を発生
してシリアルデータにスクランブルを施すスクランブル
手段と請求項3に記載のシリアル入出力回路を備えたこ
とを特徴とする移動通信装置。
4. An error detecting means for generating, adding and detecting an error detecting code by inputting serial data output from a transmitting side and an output of the error detecting and outputting means for generating and adding an error correcting code. A mobile communication device comprising: an error correction means for detecting; a scrambling means for generating a random number to scramble serial data; and the serial input / output circuit according to claim 3.
JP1914194A 1994-02-16 1994-02-16 Serial input/output circuit and mobile communication equipment Pending JPH07226686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1914194A JPH07226686A (en) 1994-02-16 1994-02-16 Serial input/output circuit and mobile communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1914194A JPH07226686A (en) 1994-02-16 1994-02-16 Serial input/output circuit and mobile communication equipment

Publications (1)

Publication Number Publication Date
JPH07226686A true JPH07226686A (en) 1995-08-22

Family

ID=11991184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1914194A Pending JPH07226686A (en) 1994-02-16 1994-02-16 Serial input/output circuit and mobile communication equipment

Country Status (1)

Country Link
JP (1) JPH07226686A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227609A (en) * 2007-03-08 2008-09-25 Sanyo Electric Co Ltd Serial-parallel conversion circuit and liquid crystal display driving circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227609A (en) * 2007-03-08 2008-09-25 Sanyo Electric Co Ltd Serial-parallel conversion circuit and liquid crystal display driving circuit

Similar Documents

Publication Publication Date Title
US4593393A (en) Quasi parallel cyclic redundancy checker
KR100240873B1 (en) Serial interface unit having the same register for reception/transmission
JPH0376613B2 (en)
US5222141A (en) Apparatus and method for encoding data
JP3264670B2 (en) Data communication system
US4642810A (en) Repetitive sequence data transmission system
JPH07226686A (en) Serial input/output circuit and mobile communication equipment
US5432853A (en) Digital signal processing system
JP4012907B2 (en) Asynchronous transmission method and circuit thereof
JPH08161259A (en) Receiving device and transfer device for serial data
US5734684A (en) Demodulation device and communication processing apparatus provided with same
JPS58170117A (en) Serial/parallel-parallel/serial converting circuit
JPH0738626B2 (en) Word sync detection circuit
US20010034861A1 (en) Apparatus for processing output data of base station modem for use in IS-2000 mobile communication system
US20060126834A1 (en) M6 block cipher system and method for encoding content and authenticating a device
JP2005151056A (en) Descrambling circuit
JPH04344732A (en) Data transmission system
JP3224310B2 (en) Parallel transmission line decoding processor
JP3245622B2 (en) Pattern comparison method
JPH0294841A (en) Data transmission system for scramble processing code
KR880001023B1 (en) Self-clocking data transmission system
JPH052478A (en) Program protecting system
JPH03232344A (en) Same code continuity suppressing system
JPS5945738A (en) System for checking serial transfer data
JPH0697918A (en) Radio communication system