JP2518387B2 - Serial data transmission circuit - Google Patents

Serial data transmission circuit

Info

Publication number
JP2518387B2
JP2518387B2 JP1094646A JP9464689A JP2518387B2 JP 2518387 B2 JP2518387 B2 JP 2518387B2 JP 1094646 A JP1094646 A JP 1094646A JP 9464689 A JP9464689 A JP 9464689A JP 2518387 B2 JP2518387 B2 JP 2518387B2
Authority
JP
Japan
Prior art keywords
data
input
output
serial
signal
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.)
Expired - Fee Related
Application number
JP1094646A
Other languages
Japanese (ja)
Other versions
JPH02272944A (en
Inventor
隆二 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP1094646A priority Critical patent/JP2518387B2/en
Publication of JPH02272944A publication Critical patent/JPH02272944A/en
Priority to US07/950,969 priority patent/US5223832A/en
Application granted granted Critical
Publication of JP2518387B2 publication Critical patent/JP2518387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は信号処理装置に関し、特にシリアルにデータ
の伝送が行われる音声データの伝送回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing device, and more particularly to an audio data transmission circuit for serially transmitting data.

〔従来の技術〕[Conventional technology]

従来、この種のシリアルデータ伝送回路は、入力と出
力にそれぞれデータシフト回路を有する構成となってい
た。概略ブロック図を第6図に示す。
Conventionally, this type of serial data transmission circuit has a configuration having a data shift circuit for each of the input and the output. A schematic block diagram is shown in FIG.

第6図の従来例はシリアルデータ入力回路602,シリア
ルデータ出力回路603,シリアルデータ入力端子604,シリ
アルデータ出力端子605,シリアルデータ伝送クロック入
力端子606,シリアルデータ伝送クロック出力端子607,処
理ブロック608,タイミング制御回路609を有し、シリア
ルデータ入力端子604はシリアルデータ入力回路602の入
力に接続されシリアルデータ入力回路の出力は内部デー
タバス610に接続される。入力されたデータは内部デー
タバス610に接続される処理ブロックで処理され、再度
内部データバス610に出力され、同様に内部データバス6
10に接続されるシリアルデータ出力回路に入力される。
シリアルデータ出力回路の出力はシリアルデータ出力端
子605に接続される。また一方伝送クロックとワード周
期信号より構成されるシリアルデータ伝送クロックは、
シリアルデータ伝送クロック入力端子606より入力さ
れ、このシリアルデータ伝送クロック入力端子606に接
続されるタイミング制御回路609によりシリアルデータ
入力回路602とシリアルデータ出力回路603のシリアルデ
ータ伝送タイミングが制御される。
The conventional example of FIG. 6 is a serial data input circuit 602, a serial data output circuit 603, a serial data input terminal 604, a serial data output terminal 605, a serial data transmission clock input terminal 606, a serial data transmission clock output terminal 607, a processing block 608. Further, it has a timing control circuit 609, the serial data input terminal 604 is connected to the input of the serial data input circuit 602, and the output of the serial data input circuit is connected to the internal data bus 610. The input data is processed by the processing block connected to the internal data bus 610 and output again to the internal data bus 610.
Input to the serial data output circuit connected to 10.
The output of the serial data output circuit is connected to the serial data output terminal 605. On the other hand, the serial data transmission clock composed of the transmission clock and the word period signal is
A serial data transmission timing of the serial data input circuit 602 and the serial data output circuit 603 is controlled by a timing control circuit 609 which is input from the serial data transmission clock input terminal 606 and connected to the serial data transmission clock input terminal 606.

例えば、音声データの伝送は通常第2図にまたは第5
図に示すフォーマットでシリアルデータ伝送が行なわれ
る。この際、伝送クロックはビットクロックであり、1
ワード分の転送周期を示す信号がLRクロックである。こ
のLRクロックはオーディオデータのサンプリング周期と
一致しており、サンプリング周期ごとにサンプリングさ
れたオーディオデータがこのLRクロックに同期して1ワ
ードずつ転送され、最終的にはこのLRクロックに同期し
たアナログ信号に変換される。また音声データはシリア
ルデータ入力端子より入力される。
For example, the transmission of voice data is usually shown in FIG.
Serial data transmission is performed in the format shown. At this time, the transmission clock is a bit clock,
The signal indicating the transfer cycle for words is the LR clock. This LR clock matches the sampling cycle of audio data, and the audio data sampled at each sampling cycle is transferred word by word in synchronization with this LR clock, and finally an analog signal synchronized with this LR clock. Is converted to. Audio data is input from the serial data input terminal.

中途の音声信号処理装置では、このシリアルで伝送さ
れる音声データのパラレルに変換して取り出し、乗算,
加算等のフィルタリング処理を処し、再度シリアルに変
換してLRクロックに同期させて送り出すという操作が行
われる。
In the midway audio signal processing device, the audio data transmitted serially is converted into parallel data, extracted, multiplied,
An operation is performed in which filtering processing such as addition is performed, conversion to serial again and transmission in synchronization with the LR clock are performed.

伝送クロックとしては第2図の201,202に対応するワ
ード周期信号の48倍の周波数を用いる場合や、203に対
応する32倍の周波数を用いる場合、あるいは第5図に示
すとうり特に指定がない場合がある。また伝送されるデ
ータ長としても、18ビット長201,501や16ビット長202,2
03,502等がある。これらの伝送クロックレートや、伝送
データ長はシリアルデータ入力端子に接続される音声デ
ータ出力装置に依存する。このため多種のデータ伝送フ
ォーマットに対応するためには、多種の音声データ出力
装置で対応する必要がある。
As the transmission clock, the frequency of 48 times the word period signal corresponding to 201, 202 in FIG. 2 is used, the frequency of 32 times corresponding to 203 is used, or when there is no special designation as shown in FIG. There is. Also, the data length to be transmitted is 18 bits 201,501 and 16 bits 202,2.
There are 03,502 etc. These transmission clock rate and transmission data length depend on the audio data output device connected to the serial data input terminal. Therefore, in order to support various data transmission formats, it is necessary to support various audio data output devices.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のシリアルデータ伝送回路は、データシ
フト回路を入力側,出力側でそれぞれに持つ構成となっ
ているため、回路規模が増大し、さらにシリアルデータ
伝送のクロック数やデータビット数を複数種類に対応可
能とするために拡張性を持たせた場合には、入力側,出
力側のデータシフト回路でそれぞれに回路を構成する必
要があり、ますます回路規模が増大してしまうという欠
点がある。
The above-described conventional serial data transmission circuit has a data shift circuit on each of the input side and the output side, which increases the circuit scale and further increases the number of clocks and the number of data bits for serial data transmission. If it is designed to be compatible with the above, it is necessary to configure each circuit with the data shift circuit on the input side and the data shift circuit on the output side, which has the drawback of increasing the circuit scale. .

さらに、信号処理装置の動作モードを変更する際等に
データのとぎれをなくすために入力したシリアルデータ
をそのまま出力する場合、すなわち、ディジタル信号処
理装置においてデータに何の処理も処さずに出力する際
にも、入力側のデータシフト回路から出力側のデータシ
フト回路にデータ転送処理を実行する必要があり、この
ため内部データバスを占有してしまい、処理ブロックが
データ転送と独立に他の処理を実行しようとする場合の
処理スピードが落ちるという欠点がある。
Further, when the input serial data is output as it is in order to eliminate the interruption of data when changing the operation mode of the signal processing device, that is, when the digital signal processing device outputs the data without any processing. In addition, it is necessary to execute the data transfer processing from the data shift circuit on the input side to the data shift circuit on the output side, which occupies the internal data bus, and the processing block performs other processing independently of the data transfer. There is a drawback that the processing speed when executing is reduced.

また入力回路と出力回路が独立しているために、入力
回路側の伝送クロックと出力回路側の伝送クロックにジ
ッタが発生してしまうという欠点がある。
Further, since the input circuit and the output circuit are independent, there is a drawback that jitter occurs in the transmission clock on the input circuit side and the transmission clock on the output circuit side.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のシリアルデータ伝送回路は、シリアルデータ
入力端子と、シリアルデータ出力端子と、伝送クロック
入力端子と、ワード周期信号入力端子と、並列入力端子
と、並列出力端子と、データシフト手段と、ビット位置
変換手段と、第1のデータ保持手段と、第2のデータ保
持手段と、選択手段とを有している。
The serial data transmission circuit of the present invention includes a serial data input terminal, a serial data output terminal, a transmission clock input terminal, a word period signal input terminal, a parallel input terminal, a parallel output terminal, a data shift means, and a bit. It has a position conversion means, a first data holding means, a second data holding means, and a selection means.

すなわち、本発明では、シリアルデータの入力と出力
のデータシフト回路を1系統とし、1ワードのシリアル
データの転送周期に同期してシリアル入力端子より入力
されたデータを並列出力端子より読み出して入力データ
を保持し、同時に出力データを保持するデータ保持手段
の出力を並列入力端子より取り込み、シリアルデータ転
送クロックに同期して出力している。また本発明では、
入,出力のデータシフト回路が1系統であるために、入
力されたシリアルデータをそのまま出力する事によりデ
ィジタル信号処理装置内でデータに何の処理も処さない
場合には内部バスを介さずにデータ転送を行っている。
That is, in the present invention, the data shift circuit for inputting and outputting serial data is provided as one system, and the data input from the serial input terminal is read out from the parallel output terminal in synchronization with the transfer cycle of the serial data of one word to input data. , And the output of the data holding means that holds the output data at the same time is fetched from the parallel input terminal and output in synchronization with the serial data transfer clock. In the present invention,
Since the input / output data shift circuit has only one system, if the input serial data is output as it is and no processing is performed on the data in the digital signal processing device, the data is not passed through the internal bus. Transferring.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of an embodiment of the present invention.

本実施例は、シフトレジスタ101,バレルシフタ102,デ
ータラッチ103,104,選択回路105,シリアルデータ入力端
子106,シリアルデータ出力端子107,内部データバス121,
データ線122,123,124,125,126,127,128,129,130,131,13
2,133,データシフト信号141,データラッチ信号142,シフ
ト量制御信号143及び選択信号144より構成されている。
In this embodiment, the shift register 101, barrel shifter 102, data latches 103, 104, selection circuit 105, serial data input terminal 106, serial data output terminal 107, internal data bus 121,
Data line 122,123,124,125,126,127,128,129,130,131,13
2, 133, a data shift signal 141, a data latch signal 142, a shift amount control signal 143, and a selection signal 144.

シフトレジスタ101はシリアル入力並列入力,並列出
力機能を有する26ビット幅のシフトレジスタであり、シ
リアルデータ入力はデータ線122に接続され、データの
シフトタイミングはデータシフト信号141により与えら
れ、データラッチ信号142に同期して並列データを取り
込む。さらにシフトレジスタ101は各ビットを下位より
各々bit0,bit1,……,bit25とすると、bit0〜bit17の並
列データ入力はデータ線125に接続され、bit18〜bit25
の並列データ入力はデータ線129に接続される。さらにb
it0〜bit17の並列データ出力はデータ線126に接続さ
れ、bit23の出力はデータ線132に、bit25の出力はデー
タ線133に各々接続される。
The shift register 101 is a 26-bit wide shift register having a serial input / parallel input / parallel output function, a serial data input is connected to a data line 122, a data shift timing is given by a data shift signal 141, and a data latch signal. Parallel data is captured in synchronization with 142. Further, in the shift register 101, if each bit is set to bit0, bit1, ..., Bit25 from the lower order, the parallel data input of bit0 to bit17 is connected to the data line 125, and bit18 to bit25
The parallel data inputs of are connected to data line 129. And b
The parallel data output of it0 to bit17 is connected to the data line 126, the output of bit23 is connected to the data line 132, and the output of bit25 is connected to the data line 133.

バレルシフタ102は、18ビット幅のシフタであり、シ
フト量制御信号143の示す値により、18ビット幅のデー
タをそのまま出力するか、あるいは上位方向に2ビット
シフトして、ただし下位2ビットには“0"を入力して出
力する。入力にはデータ線126が接続され、出力にはデ
ータ線127が接続される。
The barrel shifter 102 is an 18-bit width shifter, and depending on the value indicated by the shift amount control signal 143, outputs the 18-bit width data as it is, or shifts it by 2 bits in the upper direction, but the lower 2 bits are " Input 0 "and output. The data line 126 is connected to the input and the data line 127 is connected to the output.

データラッチ103は18ビット幅のデータラッチであ
り、1ワード分のデータの転送終了タイミングを示す信
号であるデータラッチ信号142に同期して、データ線127
より入力されるデータをラッチする。データラッチ103
の出力はデータ線128に接続される。データラッチ104は
18ビット幅のデータラッチであり、入力はデータ線124
に接続され、出力はデータ線125に接続される。
The data latch 103 is an 18-bit wide data latch, and synchronizes with the data latch signal 142 which is a signal indicating the transfer end timing of the data of one word, and the data line 127.
Latch the input data. Data latch 103
Output is connected to data line 128. The data latch 104 is
18-bit wide data latch with data line 124 input
, And the output is connected to the data line 125.

選択回路105は選択信号144の示す値により4つの入力
のうち1つを選択し出力する回路であり、入力はデータ
線130,131,132,133に接続され、出力はデータ線123に接
続される。
The selection circuit 105 is a circuit that selects and outputs one of the four inputs according to the value indicated by the selection signal 144. The input is connected to the data lines 130, 131, 132, and 133, and the output is connected to the data line 123.

シリアルデータ入力端子106はデータ線122に接続され
る。
The serial data input terminal 106 is connected to the data line 122.

シリアルデータ出力端子107はデータ線123に接続され
る。
The serial data output terminal 107 is connected to the data line 123.

内部データバス121は18ビット幅のデータバスであ
る。
The internal data bus 121 is an 18-bit wide data bus.

データ線124,125,126,127,128は18ビット幅のデータ
線である。
The data lines 124, 125, 126, 127, 128 are 18-bit wide data lines.

データ線129はデータ線125の最上位ビットに接続され
る。
Data line 129 is connected to the most significant bit of data line 125.

データ線126を最下位ビットよりそれぞれbit0,bit1〜
bit17とすると、bit15はデータ線130に接続され、bit17
はデータ線131に接続される。
Data line 126 from bit 0, bit 1 to least significant bit
If bit17 is set, bit15 is connected to the data line 130 and bit17
Is connected to the data line 131.

以下に本実施例の動作説明を行う。 The operation of this embodiment will be described below.

本実施例は、音声データの入出力を行う音声信号処理
装置のデータ入出力回路である。
The present embodiment is a data input / output circuit of an audio signal processing device for inputting / outputting audio data.

音声データのシリアル伝送フォーマットとして通常、
第2図に示すフォーマットが用いられる。オーディオデ
ータはデータワードの属性を示すLRクロックに同期し
て、16ビットまたは18ビットの1ワードごとに転送され
る。また各ビットはLRクロックに対して32倍(16ビット
長のみ)または48倍(16ビットまたは18ビット)の周波
数のビットクロックに同期して転送される。
As a serial transmission format for audio data,
The format shown in FIG. 2 is used. Audio data is transferred in units of 16-bit or 18-bit words in synchronization with the LR clock indicating the attribute of the data word. Also, each bit is transferred in synchronism with a bit clock having a frequency of 32 times (16 bits only) or 48 times (16 bits or 18 bits) of the LR clock.

第2図に示すビットクロックは201,202に対応するも
のがLRクロックに対応し48倍の周波数であり、203に対
応するものが32倍の周波数である。またビットクロック
はデータシフト手段として用いられる。LRクロックはデ
ータラッチ信号として用いられる。音声データは、MSB
ファーストで1ビットずつビットクロックに同期して伝
送され、LRクロックの反転エッジに対して、右づめで送
られる。音声データはシリアルデータ入力端子より入力
される。シリアルデータ入力端子106からはサンプリン
グ周期ごとに16ビットまたは18ビットの音声データが入
力される。データのワードタイミングを示すLRクロック
のエッジに同期してデータラッチ信号142がアクティブ
となりまたデータシフト信号141にはビットクロックが
入力される。
In the bit clocks shown in FIG. 2, those corresponding to 201 and 202 correspond to the LR clock and have a frequency of 48 times, and those corresponding to 203 have a frequency of 32 times. The bit clock is used as a data shift means. The LR clock is used as a data latch signal. Audio data is MSB
It is transmitted bit by bit in synchronism with the bit clock at the first, and is sent to the right with respect to the inverted edge of the LR clock. Audio data is input from the serial data input terminal. 16-bit or 18-bit audio data is input from the serial data input terminal 106 for each sampling period. The data latch signal 142 becomes active in synchronization with the edge of the LR clock indicating the word timing of data, and the bit clock is input to the data shift signal 141.

まず、ビットクロックがLRクロックの32倍の場合の動
作について説明する。この時オーディオデータ長は16ビ
ットである。
First, the operation when the bit clock is 32 times the LR clock will be described. At this time, the audio data length is 16 bits.

内部データバス上には、この16ビットのオーディオデ
ータが上づめに入力されるものとする。
It is assumed that the 16-bit audio data is input to the internal data bus first.

シリアルデータ入力端子106より入力されたオーディ
オデータはデータシフト信号141に同期してシフトレジ
スタ101に取り込まれ16ビットのデータ転送が終了した
時にはシフトレジスタ101のbit15〜bit0までにデータが
保持されている。ここでシフト量制御信号143によりバ
レルシフタ102に上位への2ビットシフトを指定してお
くと、LRクロックの反転に同期して入力されるデータラ
ッチ信号142によりデータラッチ103には18ビットのうち
上づめ16ビットに音声データがラッチされる。また同時
にデータラッチ104に保持された音声データがシフトレ
ジスタ101に入力される。選択回路105によりデータ線13
1を選択しておくとシリアルデータ出力端子107からはシ
フトレジスタ101に保持されていた、出力音声データが
データシフト信号141すなわち、ビットクロックに同期
して出力される。音声信号処理装置では次のLRクロック
の反転までの任意のタイミングにデータラッチ103から
入力データを取り出し、またデータラッチ104に出力デ
ータを書き込む。
The audio data input from the serial data input terminal 106 is taken into the shift register 101 in synchronization with the data shift signal 141, and when the 16-bit data transfer is completed, the data is held in bit15 to bit0 of the shift register 101. . Here, if the shift amount control signal 143 is used to designate the 2-bit shift to the higher order to the barrel shifter 102, the data latch signal 142 input in synchronization with the inversion of the LR clock causes the data latch 103 to output the upper 18 bits. Audio data is latched in 16 bits each. At the same time, the audio data held in the data latch 104 is input to the shift register 101. Data line 13 by selection circuit 105
When 1 is selected, the output audio data held in the shift register 101 is output from the serial data output terminal 107 in synchronization with the data shift signal 141, that is, the bit clock. In the audio signal processing device, input data is taken out of the data latch 103 and output data is written in the data latch 104 at an arbitrary timing until the next LR clock inversion.

各タイミングでの内部データの様子を第3図に示す。 The state of internal data at each timing is shown in FIG.

301,302,303は第2図203に示すタイミングでの各レジ
スタ及びシフタの内部データの様子を示す。
Reference numerals 301, 302 and 303 show the internal data of each register and shifter at the timing shown in FIG.

301のタイミングでは、データラッチ104には次周期で
出力するデータであるデータB′が、シフトレジスタ10
1のbit0〜bit14には現在の入力データであるデータBの
うちMSB〜bit1までが、シフトレジスタ101のbit15〜bit
25には現在出力しているデータであるデータA′が、デ
ータラッチ103にはバレルシフタ102で上位方向へ2ビッ
トシフトされた前周期の入力データであるデータAがそ
れぞれ保持されている。このときデータラッチ103の下
位2bitには“0"がバレルシフタ102により設定される。
ここでデータA′について説明する。データA′は現時
点より前に入力され、既に所望の処理が済んだデータで
あり、現時点のデータAと同様にLSBより下位2bitに
“0"が付加されている。また、シフトレジスタ101の出
力はデータ線131が選択回路105により選択されているの
で、シフトレジスタ101のbit17が出力されている。よっ
て、現時点ではデータA′のLSB、すなわちデータA′
を18ビット幅として見たときのbit2がシリアルデータ出
力端子107より出力されている。
At the timing 301, the data latch 104 outputs the data B ′, which is the data to be output in the next cycle, to the shift register 10.
In bits 0 to 14 of 1, the MSB to bit 1 of the data B that is the current input data are the bits 15 to bits of the shift register 101.
The data A ', which is the data currently being output, is held in 25, and the data A, which is the input data of the previous cycle shifted by 2 bits in the upper direction by the barrel shifter 102, is held in the data latch 103. At this time, “0” is set to the lower 2 bits of the data latch 103 by the barrel shifter 102.
Here, the data A'will be described. The data A ′ is data that has been input before the present time and has already been subjected to the desired processing, and like the data A at the present time, “0” is added to the lower 2 bits of the LSB. Further, since the data line 131 is selected by the selection circuit 105, the shift register 101 outputs bit 17 of the shift register 101. Therefore, at the present time, the LSB of data A ', that is, data A'
When viewed as an 18-bit width, bit2 is output from the serial data output terminal 107.

302のタイミングでは、まず上段の図のようにシフト
レジスタ101にデータBが全ビット入力される。次にLR
クロックの発生により、下段の図のようにシフトレジス
タ101のデータBがバレルシフタ102で上位方向へ2ビッ
トシフトされてデータラッチ103へラッチされる。また
同時にデータラッチ104に保持されているデータB′を
シリアル出力するためにシフトレジスタ101へ取り込
む。この時点で、シフトレジスタ101のbit17にはデータ
B′のMSBが格納されることになる。
At timing 302, first, all bits of data B are input to the shift register 101 as shown in the upper diagram. Then LR
When the clock is generated, the data B in the shift register 101 is shifted by 2 bits in the upper direction by the barrel shifter 102 and latched in the data latch 103 as shown in the lower diagram. At the same time, the data B'held in the data latch 104 is taken into the shift register 101 for serial output. At this point, the MSB of the data B'is stored in the bit 17 of the shift register 101.

303のタイミングでは、シフトレジスタ101のbit0には
入力データCのMSBが取り込まれる。よって、データ
B′は上位方向に1ビットシフトされるのでシリアルデ
ータ出力端子からはデータB′のbit14、すなわちデー
タB′を18ビット幅として見たときのbit16が出力され
る。
At the timing of 303, the MSB of the input data C is taken into the bit 0 of the shift register 101. Therefore, since the data B'is shifted by 1 bit in the upper direction, the serial data output terminal outputs bit14 of the data B ', that is, bit16 when the data B'is viewed as 18 bits wide.

以上をまとめると、入力されたシリアルデータはまず
シフトレジスタ101に取り込まれ、バレルシフタ102、デ
ータラッチ103を通って内部データバス121に送られる。
そして従来例と同様に処理ブロックによって音声信号処
理がなされた後、データラッチ104に格納され、再びシ
フトレジスタ101に取り込まれ、シリアル出力されるこ
とになる。
In summary, the input serial data is first captured by the shift register 101 and sent to the internal data bus 121 through the barrel shifter 102 and the data latch 103.
Then, as in the conventional example, after the audio signal processing is performed by the processing block, it is stored in the data latch 104, fetched again in the shift register 101, and serially output.

またこの時データラッチ信号142をマスクし、選択回
路105によりデータ線130を選択する事により入力された
音声データをそのまま出力する事が可能となる。
Further, at this time, the data latch signal 142 is masked, and the selected circuit 105 selects the data line 130, whereby the input audio data can be output as it is.

次にビットクロックがLRクロックの48倍でありオーデ
ィオデータ長が16ビットの場合の動作について説明す
る。
Next, the operation when the bit clock is 48 times the LR clock and the audio data length is 16 bits will be described.

シリアルデータ入力端子106より入力されたオーディ
オデータはデータシフト信号141に同期して、シフトレ
ジスタ101に取り込まれ、1ワード分のデータ転送終了
時には、シフトレジスタ101のbit15〜bit0までに16ビッ
トのデータが保持される。ここでシフト量制御信号143
によりバレルシフタ102に上位への2ビットシフトを指
定することにより、LRクロックの反転に同期して入力さ
れるデータラッチ信号142によりデータラッチ103には18
ビットのうち上づめ16ビットに音声データがラッチされ
る。同時にデータラッチ104に保持された音声データが
シフトレジスタ101に入力される。選択回路105によりデ
ータ線133を選択する事により、シリアルデータ出力端
子107からはシフトレジスタ101に保持された出力音声デ
ータは、第2図202に示すフォーマットで出力される。
音声信号処理装置では次のLRクロックの反転までの任意
のタイミングでデータラッチ103から入力データを読み
出し、またデータラッチ104に出力データを書き込む。
The audio data input from the serial data input terminal 106 is taken into the shift register 101 in synchronization with the data shift signal 141, and at the end of the data transfer of one word, 16-bit data from bit15 to bit0 of the shift register 101 Is retained. Here, the shift amount control signal 143
By designating a 2-bit shift to the high order to the barrel shifter 102, the data latch signal 142 input in synchronization with the inversion of the LR clock causes 18
Audio data is latched in the upper 16 bits of the bits. At the same time, the audio data held in the data latch 104 is input to the shift register 101. By selecting the data line 133 by the selection circuit 105, the output audio data held in the shift register 101 is output from the serial data output terminal 107 in the format shown in FIG.
In the audio signal processing device, input data is read from the data latch 103 and output data is written in the data latch 104 at any timing until the next LR clock inversion.

また、この時データラッチ信号142をマスクし、選択
回路105によりデータ線132を選択する事により入力され
た音声データをそのまま出力する事が可能となる。
Further, at this time, the data latch signal 142 is masked and the selection circuit 105 selects the data line 132, whereby the input audio data can be output as it is.

次にビットクロックがLRクロックの48倍であり、オー
ディオデータ長が18ビットの場合の動作について説明す
る。
Next, the operation when the bit clock is 48 times the LR clock and the audio data length is 18 bits will be described.

シリアルデータ入力端子106より入力されたオーディ
オデータは、データシフト信号141に同期してシフトレ
ジスタ101に取り込まれ、1ワード分のデータ転送終了
時にはシフトレジスタ101のbit17〜bit0までに18ビット
のデータが保持される。ここでシフト量制御信号143に
よりバレルシフタ102のシフト量をゼロに指定する事に
よりLRクロックの反転に同期して入力されるデータラッ
チ信号142によりデータラッチ103には18ビットのオーデ
ィオデータがラッチされる。同時にデータラッチ104に
保持された音声データがシフトレジスタ101に入力され
る。選択回路105によりデータ線132を選択する事により
シリアルデータ出力端子107からは、シフトレジスタ101
に保持された出力音声データは第2図201に示すフォー
マットで出力される。音声信号処理装置では次のLRCKの
反転までの任意のタイミングでデータラッチ103から入
力データを読み出し、またデータラッチ104に出力音声
データを書き込む。
The audio data input from the serial data input terminal 106 is taken into the shift register 101 in synchronization with the data shift signal 141, and at the end of the data transfer for one word, the 18-bit data from bit17 to bit0 of the shift register 101 is output. Retained. Here, by designating the shift amount of the barrel shifter 102 to zero by the shift amount control signal 143, 18-bit audio data is latched in the data latch 103 by the data latch signal 142 input in synchronization with the inversion of the LR clock. . At the same time, the audio data held in the data latch 104 is input to the shift register 101. By selecting the data line 132 by the selection circuit 105, the shift register 101 is output from the serial data output terminal 107.
The output audio data held in the above is output in the format shown in FIG. In the audio signal processing device, input data is read from the data latch 103 and output audio data is written in the data latch 104 at an arbitrary timing until the next LRCK inversion.

またこの時、データラッチ信号142をマスクし選択回
路105によりデータ線132を選択する事により入力された
音声データをそのまま出力する事が可能となる。
Further, at this time, the data latch signal 142 is masked and the selection circuit 105 selects the data line 132, so that the input audio data can be output as it is.

選択回路105は選択信号144の値によりデータ線130,13
1,132,133のうち1つをデータ線123に接続する。
The selection circuit 105 selects the data lines 130, 13 depending on the value of the selection signal 144.
One of 1,132,133 is connected to the data line 123.

選択手段144の示す値が“0"のときにはデータ線130が
データ線123に接続される。データ線130はシフトレジス
タ101のbit15の出力に接続され、この時同時にデータラ
ッチ信号142をマスクする事により、第2図に示す伝送
フォーマット203によりデータ伝送が行われる際に、内
部でのデータ転送動作を行う事なく入力された16ビット
のデータをそのまま次の周期に出力する事が可能とな
る。
When the value indicated by the selection means 144 is “0”, the data line 130 is connected to the data line 123. The data line 130 is connected to the output of bit 15 of the shift register 101, and at the same time, by masking the data latch signal 142, internal data transfer is performed when data transmission is performed according to the transmission format 203 shown in FIG. It is possible to output the input 16-bit data as it is in the next cycle without performing any operation.

選択信号144の示す値が“1"のときにはデータ線131が
データ線123に接続される。データ線131はシフトレジス
タ101のbit17の出力に接続される。この時データシフト
信号141に同期して、データラッチ104に保持されていた
出力データの上位16ビットが出力され、第2図に示すデ
ータ伝送フォーマット203に従ったデータ伝送が可能と
なる。
When the value indicated by the selection signal 144 is “1”, the data line 131 is connected to the data line 123. The data line 131 is connected to the output of bit 17 of the shift register 101. At this time, in synchronization with the data shift signal 141, the upper 16 bits of the output data held in the data latch 104 are output, and the data transmission according to the data transmission format 203 shown in FIG. 2 becomes possible.

選択信号144の示す値が“2"の場合にはデータ線132が
データ線123に接続される。データ線132はシフトレジス
タ101のbit23の出力に接続される。この時データラッチ
104に保持されていたデータの拡張されたMSB6ビットに
引き続き18ビットのデータが出力され、第2図に示すデ
ータ伝送フォーマット201に従ってデータ伝送が可能と
なる。またこの時、同時にデータラッチ信号142をマス
クする事により、シリアル入力端子より入力された24ビ
ットのデータを次の周期にそのまま出力する事が可能と
なり、内部でのデータ転送を行うことなく、データ伝送
フォーマット201または202の伝送フォーマットに従った
データ伝送を行うことが可能となる。
When the value indicated by the selection signal 144 is “2”, the data line 132 is connected to the data line 123. The data line 132 is connected to the output of bit 23 of the shift register 101. Data latch at this time
18-bit data is output following the expanded MSB 6 bits of the data held in 104, and data transmission becomes possible according to the data transmission format 201 shown in FIG. At this time, by masking the data latch signal 142 at the same time, the 24-bit data input from the serial input terminal can be output as it is in the next cycle, and data can be transferred without internal data transfer. It becomes possible to perform data transmission according to the transmission format of the transmission format 201 or 202.

選択信号144の示す値が“3"の場合にはデータ線133が
データ線123に接続される。データ線133はシフトレジス
タ101のbit25の出力に接続される。この時データラッチ
104に保持されていたデータの拡張されたMSB8ビットに
引き続き上位16ビットのデータが出力され、データ伝送
フォーマット202に従ったデータ伝送が可能となる。
When the value indicated by the selection signal 144 is “3”, the data line 133 is connected to the data line 123. The data line 133 is connected to the output of bit 25 of the shift register 101. Data latch at this time
The upper 16-bit data is continuously output after the expanded MSB 8 bits of the data held in 104, and data transmission according to the data transmission format 202 becomes possible.

第4図は本発明の他の実施例のブロック図である。 FIG. 4 is a block diagram of another embodiment of the present invention.

本実施例はシフトレジスタ401,バレルシフタ402,デー
タラッチ403,404,選択回路405,シリアルデータ入力端子
406,シリアルデータ出力端子407,カウンタ408,2入力NAN
Dゲート409,インバータ410,Dタイプフリップフロップ41
1,内部データバス421,データ線422,423,424,425,426,42
7,428,429,430,データシフト信号441,データラッチ信号
442,シフト量制御信号443,選択手段444,データ長指示信
号445,データシフトイネーブル信号446,データシフト信
号447,データラッチ信号448より構成される。
This embodiment has a shift register 401, a barrel shifter 402, data latches 403, 404, a selection circuit 405, a serial data input terminal.
406, serial data output terminal 407, counter 408, 2-input NAN
D gate 409, inverter 410, D type flip-flop 41
1, internal data bus 421, data line 422,423,424,425,426,42
7,428,429,430, Data shift signal 441, Data latch signal
442, shift amount control signal 443, selecting means 444, data length instruction signal 445, data shift enable signal 446, data shift signal 447, and data latch signal 448.

シフトレジスタ401は並列入力,並列出力機能を有す
る18ビット幅のシフトレジスタであり、シリアルデータ
入力はデータ線422に接続され、データのシフトタイミ
ングはデータシフト信号447により与えられ、並列デー
タの取り込みタイミングは、データラッチ信号448によ
り与えられる。さらにシフトレジスタ401の並列データ
入力はデータ線425に接続され、並列データ出力はデー
タ線426に接続される。
The shift register 401 is an 18-bit wide shift register having a parallel input and parallel output function. The serial data input is connected to the data line 422, the data shift timing is given by the data shift signal 447, and the parallel data fetch timing is provided. Are provided by the data latch signal 448. Further, the parallel data input of the shift register 401 is connected to the data line 425, and the parallel data output is connected to the data line 426.

バレルシフタ402は18ビット幅のシフタであり、シフ
ト量制御信号443の示す値により、18ビット幅のデータ
をそのまま出力するか、あるいは上位方向に2ビットシ
フトして出力する。ただしこの時下位2ビットにはデー
タ“0"が出力される。バレルシフタ402の入力にはデー
タ線426が接続され、出力にはデータ線427が接続され
る。
The barrel shifter 402 is an 18-bit width shifter, and depending on the value indicated by the shift amount control signal 443, the 18-bit width data is output as it is or is shifted by 2 bits in the upper direction and output. However, at this time, data "0" is output to the lower 2 bits. The data line 426 is connected to the input of the barrel shifter 402, and the data line 427 is connected to the output.

データラッチ403は18ビット幅のデータラッチであ
り、1ワード分のデータ転送終了タイミングを示す信号
であるデータラッチ信号448のタイミングによりデータ
線427より入力されるデータを取り込む。出力はデータ
線428に接続される。
The data latch 403 is a data latch having an 18-bit width, and captures the data input from the data line 427 at the timing of the data latch signal 448 which is a signal indicating the data transfer end timing for one word. The output is connected to the data line 428.

データラッチ404は18ビット幅のデータラッチであ
り、入力はデータ線424に接続され、出力はデータ線425
に接続される。
Data latch 404 is an 18-bit wide data latch whose input is connected to data line 424 and whose output is data line 425.
Connected to.

選択回路405は選択手段144の示す値により2つの入力
のうち1つを選択し出力する回路であり、入力はデータ
線429,430に接続され、出力はデータ線423に接続され
る。
The selection circuit 405 is a circuit that selects and outputs one of the two inputs according to the value indicated by the selection means 144, and the input is connected to the data lines 429 and 430 and the output is connected to the data line 423.

シリアルデータ入力端子406はデータ線422に接続され
る。
The serial data input terminal 406 is connected to the data line 422.

シリアルデータ出力端子407はデータ線423に接続され
る。
The serial data output terminal 407 is connected to the data line 423.

カウンタ408はデータ長指示信号の示す値によりデー
タラッチ信号442がアクティブとなった次のデータシフ
ト信号441の立下りエッジよりデータシフト信号441の16
周期あるいは18周期の間データシフトイネーブル信号44
6をアクティブとする。
The counter 408 detects 16 of the data shift signal 441 from the falling edge of the next data shift signal 441 when the data latch signal 442 becomes active according to the value indicated by the data length instruction signal.
Data shift enable signal 44 for 18 cycles or 18 cycles
Make 6 active.

内部データバス421は18ビット幅のデータバスであ
る。
The internal data bus 421 is an 18-bit wide data bus.

データ線424,425,426,427,428は18ビット幅のデータ
線である。
The data lines 424, 425, 426, 427, 428 are 18-bit wide data lines.

データ線426を最下位ビットより、それぞれbit0〜bit
17とすると、bit15はデータ線429に接続され、bit17は
データ線430に接続される。
The data line 426 is bit0 to bit from the least significant bit.
If it is set to 17, bit15 is connected to the data line 429, and bit17 is connected to the data line 430.

以下に本実施例の動作説明を行う。 The operation of this embodiment will be described below.

本実施例は音声データの入出力を行う音声信号処理装
置のデータ入出力回路である。
This embodiment is a data input / output circuit of an audio signal processing device for inputting / outputting audio data.

音声データのシリアル伝送フォーマットの一例として
第5図に示すInter IC Sound(以下I2Sと略す)フォー
マットがある。
An example of the serial transmission format of audio data is the Inter IC Sound (hereinafter abbreviated as I 2 S) format shown in FIG.

I2Sフォーマットによるオーディオデータの伝送ではL
Rクロックの反転エッジに対してビットクロック1周期
後からMSBフォーマットでシリアルデータが伝送され
る。
L for audio data transmission in I 2 S format
Serial data is transmitted in the MSB format after one cycle of the bit clock with respect to the inverted edge of the R clock.

第5図に示すビットクロックは伝送クロックとしてデ
ータシフト信号441に入力され、LRクロックはワード周
期信号として、データラッチ信号442に入力され、デー
タはシリアルデータ入力端子406に入力される。
The bit clock shown in FIG. 5 is input to the data shift signal 441 as the transmission clock, the LR clock is input to the data latch signal 442 as the word period signal, and the data is input to the serial data input terminal 406.

オーディオデータ長は16ビット又は18ビットとし、デ
ータは内部バスに対して上づめに入力されるものとす
る。
The audio data length is 16 bits or 18 bits, and the data is input to the internal bus first.

シリアルデータ入力端子406からはサンプリング周期
ごとに16ビットあるいは18ビットの音声データが入力さ
れ、データのワードタイミングを示すLRクロックのエッ
ジに同期してデータラッチ信号442がアクティブとな
り、またデータシフト信号441にはビットクロックが入
力される。
16-bit or 18-bit audio data is input from the serial data input terminal 406 every sampling period, the data latch signal 442 becomes active in synchronization with the edge of the LR clock indicating the word timing of the data, and the data shift signal 441. A bit clock is input to.

まず、オーディオデータ長が16ビットの場合について
説明する。
First, the case where the audio data length is 16 bits will be described.

シリアルデータ入力端子406より入力されたオーディ
オデータはデータシフト信号447に同期してシフトレジ
スタ401に取り込まれる。この時、データシフト手段447
はカウンタ408の出力データシフトイネーブル信号446が
アクティブな間、すなわち、データラッチ信号442がア
クティブとなった次の立下りエッジより16ビット分入力
される。このため16ビットのデータ転送が終了した際に
はシフトレジスタ401のbit15〜bit0にデータが保持され
る。この時、シフト量制御信号443によりバレルシフタ4
02に上位への2ビットシフトを指定しておく。この状態
で次のLRクロックの反転エッジすなわちデータラッチ信
号442がアクティブとなるのを待つ。データラッチ信号4
42がアクティブとなると、データシフト信号441の1周
期分遅れてデータラッチ信号448がアクティブとなり、
シフトレジスタ401に保持されていた16ビットの音声デ
ータがデータラッチ403に上づめに取り入れられ、同時
にデータラッチ404に保持される出力音声データがシフ
トレジスタ401に入力される。この時選択信号444により
選択回路405の入力をデータ線430側に選択しておくと、
シリアルデータ出力端子407からはデータシフト信号447
に同期して16ビットの出力音声データが出力される。
The audio data input from the serial data input terminal 406 is loaded into the shift register 401 in synchronization with the data shift signal 447. At this time, the data shift means 447
16 bits are input while the output data shift enable signal 446 of the counter 408 is active, that is, from the next falling edge when the data latch signal 442 becomes active. Therefore, when the transfer of 16-bit data is completed, the data is held in bits 15 to 0 of the shift register 401. At this time, the barrel shifter 4 is driven by the shift amount control signal 443.
Specify the 2-bit shift to the higher order in 02. In this state, it waits for the next inverted edge of the LR clock, that is, for the data latch signal 442 to become active. Data latch signal 4
When 42 becomes active, the data latch signal 448 becomes active with a delay of one cycle of the data shift signal 441,
The 16-bit audio data held in the shift register 401 is taken into the data latch 403, and the output audio data held in the data latch 404 is input to the shift register 401 at the same time. At this time, if the input of the selection circuit 405 is selected to the data line 430 side by the selection signal 444,
Data shift signal 447 from serial data output terminal 407
16-bit output audio data is output in synchronization with.

この時データラッチ信号448をマスクし、選択回路405
によりデータ線429を選択する事により入力された音声
データをそのまま出力する事が可能となる。
At this time, the data latch signal 448 is masked and the selection circuit 405
By this, it becomes possible to output the input voice data as it is by selecting the data line 429.

次にオーディオデータ長が18ビットの場合の動作につ
いて説明する。
Next, the operation when the audio data length is 18 bits will be described.

シリアルデータ入力端子406より入力されたオーディ
オデータはデータシフト信号447に同期して、シフトレ
ジスタ401に取り込まれる。この時、データシフト信号4
47はカウンタ408の出力、データシフトイネーブル信号4
46がアクティブな間、すなわちデータラッチ信号442が
アクティブとなった次の立下りエッジより18ビット分入
力される。18ビットのデータ転送が終了した際にはシフ
トレジスタ401のbit17〜bit0にデータが保持される。こ
の時シフト量制御信号443によりバレルシフタ402のシフ
ト禁止を指定しておく。この状態で次のLRクロックの反
転を待ち、データラッチ信号442に引き続き、データラ
ッチ信号448がアクティブとなると、シフトレジスタ401
に保持されていた18ビットの入力音声データは、データ
ラッチ403に取り込まれ、同時にデータラッチ404に保持
される出力音声データがシフトレジスタ401に入力され
る。選択回路405によりデータ線430を選択しておくと、
シリアルデータ出力端子407からはデータシフト信号447
に同期して18ビットの出力音声データが出力される。
The audio data input from the serial data input terminal 406 is taken into the shift register 401 in synchronization with the data shift signal 447. At this time, the data shift signal 4
47 is the output of the counter 408, the data shift enable signal 4
18 bits are input while 46 is active, that is, from the next falling edge after the data latch signal 442 becomes active. When the 18-bit data transfer is completed, the data is held in bit17 to bit0 of the shift register 401. At this time, the shift prohibition of the barrel shifter 402 is designated by the shift amount control signal 443. In this state, wait for the next inversion of the LR clock, and if the data latch signal 448 becomes active subsequent to the data latch signal 442, the shift register 401
The 18-bit input voice data held in the data latch 403 is taken into the data latch 403, and at the same time, the output voice data held in the data latch 404 is input into the shift register 401. If the data line 430 is selected by the selection circuit 405,
Data shift signal 447 from serial data output terminal 407
The 18-bit output audio data is output in synchronization with.

またこの時データラッチ信号448をマスクし選択回路4
05によりデータ線430を選択する事により、入力された
音声データをそのまま出力する事が可能となる。
At this time, the data latch signal 448 is masked and the selection circuit 4
By selecting the data line 430 with 05, the input voice data can be output as it is.

選択回路405は選択信号444の値によりデータ線429ま
たは430のうち一方を選択し、データ線423に接続する。
The selection circuit 405 selects one of the data lines 429 or 430 according to the value of the selection signal 444 and connects it to the data line 423.

選択信号444が“0"の場合には、データ線429がデータ
線423に接続される。データ線429はシフトレジスタ401
のbit15に接続される。この時、同時にデータラッチ信
号442をマスクし、データ長指示信号445によりデータ長
を16ビットに選択する事により、シリアルデータ入力40
6より入力された16ビットの音声データを内部での転送
動作を行うことなく出力する事が可能となり、第5図に
示す伝送フォーマット502に従ったデータ伝送が可能と
なる。
When the selection signal 444 is “0”, the data line 429 is connected to the data line 423. Data line 429 is shift register 401
Connected to bit15. At this time, by simultaneously masking the data latch signal 442 and selecting the data length to 16 bits by the data length instruction signal 445, the serial data input 40
The 16-bit audio data input from 6 can be output without performing an internal transfer operation, and data transmission according to the transmission format 502 shown in FIG. 5 is possible.

選択信号444が“1"の場合には、データ線430がデータ
線423に接続される。データ線430はシフトレジスタ401
のbit17に接続される。この時、データ長指示信号445に
よりデータ長を16ビットに選択するとデータラッチ404
に保持されていたデータがデータシフト信号441に同期
して、上位16ビットのデータが出力され第5図に示すデ
ータ伝送フォーマット502に従ってデータ伝送が可能と
なる。
When the selection signal 444 is “1”, the data line 430 is connected to the data line 423. Data line 430 is shift register 401
Connected to bit17 of. At this time, if the data length is set to 16 bits by the data length instruction signal 445, the data latch 404
The data held in the data is synchronized with the data shift signal 441, and the upper 16-bit data is output, and the data can be transmitted according to the data transmission format 502 shown in FIG.

またデータ長指示信号445によりデータ長を18ビット
に選択すると、データラッチ404に保持されていた出力
データがデータシフト信号441に同期して出力され、デ
ータ伝送フォーマット501に従ったデータ伝送が可能と
なる。
Further, when the data length is selected to 18 bits by the data length instruction signal 445, the output data held in the data latch 404 is output in synchronization with the data shift signal 441, and the data transmission according to the data transmission format 501 becomes possible. Become.

さらにこの時データ長指示信号445によりデータ長を1
8ビットに選択し、同時にデータラッチ信号448をマスク
することにより、内部でデータ転送動作を行うことな
く、入力された18ビットのオーディオデータを次の同期
に出力する事が可能となる。
At this time, the data length is set to 1 by the data length instruction signal 445.
By selecting 8 bits and masking the data latch signal 448 at the same time, it is possible to output the input 18-bit audio data in the next synchronization without performing the data transfer operation internally.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、シリアルデータの入力
側と、出力側のデータシフト回路を1系統とすることに
より、回路規模を従来のシフトレジスタ2系統に対して
1/2に縮小でき、シリアルデータの入力と出力とのクロ
ックが同一であるため、データ伝送中の伝送クロックの
ジッタを減少させる事ができ、さらにディジタル信号処
理装置内でデータに対し何ら処理を処さない時には、デ
ータ転送等、特別に動作を実行することなく、入力され
たデータをそのまま出力する事ができるため、情報処理
装置内でデータ伝送とは独立に他の処理を行おうとした
場合の処理能力を向上させることができるという効果が
ある。
As described above, according to the present invention, the data shift circuit on the input side of serial data and the data shift circuit on the output side are provided in one system, so that the circuit scale can be compared with the conventional two systems of shift registers.
It can be reduced to 1/2, and since the input and output clocks of serial data are the same, the jitter of the transmission clock during data transmission can be reduced, and no further processing is performed on the data in the digital signal processing device. When not processing, the input data can be output as it is without performing any special operation such as data transfer. Therefore, it is possible to perform other processing independently of the data transmission in the information processing device. There is an effect that the processing capacity can be improved.

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

第1図は本発明の第1の実施例のブロック図、第2図は
シリアルデータインターフェースのフォーマットを示す
図、第3図は本実施例のデータタイミングチャート、第
4図は本発明の第2の実施例のブロック図、第5図はシ
リアルデータインターフェースのフォーマットを示す
図、第6図は従来のシリアルデータ伝送回路のブロック
図である。 101,401……シフトレジスタ、102,402……バレルシフ
タ、103,104,403,404……データラッチ、105,405……選
択回路、106,406,604……シリアルデータ入力端子、10
7,407,605……シリアルデータ出力端子、408……カウン
タ、409……2入力NANDゲート、410……インバータ、41
1……Dタイプフリップフロップ、121,421,610……内部
データバス、122,123,124,125,126,127,128,129,130,13
1,132,133,422,423,424,425,426,427,428,429,430……
データ線、141,441,447……データシフト信号、142,44
2,448……データラッチ信号、143,443……シフト量制御
信号、144,444……選択信号、445……データ長指示信
号、446……データシフトイネーブル信号、601……信号
処理装置、602……シリアルデータ入力回路、603……シ
リアルデータ出力回路、606……シリアルデータ伝送ク
ロック入力端子、607……シリアルデータ伝送クロック
出力端子、608……処理ブロック、609……タイミング制
御回路。
FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a diagram showing a format of a serial data interface, FIG. 3 is a data timing chart of the present embodiment, and FIG. 4 is a second of the present invention. 5 is a block diagram of an embodiment of the present invention, FIG. 5 is a diagram showing a format of a serial data interface, and FIG. 6 is a block diagram of a conventional serial data transmission circuit. 101,401 ...... Shift register, 102,402 ...... Barrel shifter, 103,104,403,404 …… Data latch, 105,405 …… Selection circuit, 106,406,604 …… Serial data input terminal, 10
7,407,605 …… Serial data output terminal, 408 …… Counter, 409 …… 2-input NAND gate, 410 …… Inverter, 41
1 …… D type flip-flop, 121,421,610 …… Internal data bus, 122,123,124,125,126,127,128,129,130,13
1,132,133,422,423,424,425,426,427,428,429,430 ……
Data line, 141,441,447 ... Data shift signal, 142,44
2,448 …… Data latch signal, 143,443 …… Shift amount control signal, 144,444 …… Selection signal, 445 …… Data length instruction signal, 446 …… Data shift enable signal, 601 …… Signal processing device, 602 …… Serial data input Circuit, 603 ... serial data output circuit, 606 ... serial data transmission clock input terminal, 607 ... serial data transmission clock output terminal, 608 ... processing block, 609 ... timing control circuit.

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】シリアルデータ入力端子と、シリアルデー
タ出力端子と、伝送クロック入力端子と、ワード周期信
号入力端子と、並列入力端子及び並列出力端子をもつデ
ータシフト手段と、ビット位置変換手段と、第1のデー
タ保持手段と、第2のデータ保持手段と、選択手段とを
有し、前記データシフト手段のシリアル入力には前記シ
リアルデータ入力端子が接続され、前記データシフト手
段の並列入力端子には前記第2のデータ保持手段の出力
が接続され、前記データシフト手段の並列出力端子は前
記ビット位置変換手段の入力に接続され、前記データシ
フト手段の並列出力端子のうち特定の端子が前記選択手
段の入力に接続され、前記ビット位置変換手段の出力は
前記第1のデータ保持手段の入力に接続され、前記選択
手段の出力は前記シリアルデータ出力端子に接続される
ことを特徴とするシリアルデータ伝送回路。
1. A serial data input terminal, a serial data output terminal, a transmission clock input terminal, a word period signal input terminal, a data shift means having a parallel input terminal and a parallel output terminal, and a bit position conversion means. It has a first data holding means, a second data holding means, and a selection means. The serial data input terminal is connected to the serial input of the data shift means, and the serial input terminal is connected to the parallel input terminal of the data shift means. Is connected to the output of the second data holding means, the parallel output terminal of the data shift means is connected to the input of the bit position conversion means, and a specific terminal of the parallel output terminals of the data shift means is selected. Connected to the input of the means, the output of the bit position conversion means is connected to the input of the first data holding means, and the output of the selection means is the Serial data transfer circuit, characterized in that it is connected to the real data output terminal.
【請求項2】特許請求の範囲第1項記載のシリアルデー
タ伝送回路において、前記第1のデータ保持手段の入力
と前記第2のデータ保持手段の出力とがデータバスに共
通して接続されることを特徴とするシリアルデータ伝送
回路。
2. A serial data transmission circuit according to claim 1, wherein an input of said first data holding means and an output of said second data holding means are commonly connected to a data bus. A serial data transmission circuit characterized by the above.
【請求項3】特許請求の範囲第1項記載のシリアルデー
タ伝送回路において、前記ビット位置変換手段は上位側
にビット位置変換を行う場合には、変換したビット数
分、下位に“0"を付加する回路を有することを特徴とす
るシリアルデータ伝送回路。
3. The serial data transmission circuit according to claim 1, wherein when the bit position conversion means performs bit position conversion on the upper side, the converted bit number is set to "0" at the lower side. A serial data transmission circuit having a circuit to be added.
【請求項4】特許請求の範囲第1項記載のシリアルデー
タ伝送回路において、前記第1のデータ保持手段は前記
ワード周期信号に同期して、前記データシフト手段の並
列出力端子から入力データを取り込む回路を有すること
を特徴とするシリアルデータ伝送回路。
4. The serial data transmission circuit according to claim 1, wherein the first data holding means fetches input data from a parallel output terminal of the data shift means in synchronization with the word period signal. A serial data transmission circuit having a circuit.
【請求項5】特許請求の範囲第1項記載のシリアルデー
タ伝送回路において、前記データシフト手段は前記伝送
クロックに同期してデータシフトを行う回路と、前記ワ
ード周期信号に同期して前記並列入力端子から並列デー
タを取り込む回路を有することを特徴とするシリアルデ
ータ伝送回路。
5. The serial data transmission circuit according to claim 1, wherein the data shift means performs data shift in synchronization with the transmission clock, and the parallel input in synchronization with the word cycle signal. A serial data transmission circuit having a circuit for fetching parallel data from a terminal.
【請求項6】特許請求の範囲第1項記載のシリアルデー
タ伝送回路において、前記シリアルデータ入力端子に
は、音声データが入力されることを特徴とするシリアル
データ伝送回路。
6. The serial data transmission circuit according to claim 1, wherein audio data is input to the serial data input terminal.
JP1094646A 1989-04-14 1989-04-14 Serial data transmission circuit Expired - Fee Related JP2518387B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1094646A JP2518387B2 (en) 1989-04-14 1989-04-14 Serial data transmission circuit
US07/950,969 US5223832A (en) 1989-04-14 1992-09-23 Serial data transmission circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1094646A JP2518387B2 (en) 1989-04-14 1989-04-14 Serial data transmission circuit

Publications (2)

Publication Number Publication Date
JPH02272944A JPH02272944A (en) 1990-11-07
JP2518387B2 true JP2518387B2 (en) 1996-07-24

Family

ID=14116022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1094646A Expired - Fee Related JP2518387B2 (en) 1989-04-14 1989-04-14 Serial data transmission circuit

Country Status (1)

Country Link
JP (1) JP2518387B2 (en)

Also Published As

Publication number Publication date
JPH02272944A (en) 1990-11-07

Similar Documents

Publication Publication Date Title
US5422914A (en) System and method for synchronizing data communications between two devices operating at different clock frequencies
KR960005751B1 (en) Data in-/out-put circuit
US5774708A (en) Method to test the running of a program of instructions carried out by an ASIC and ASIC pertaining thereto
WO1991010955A1 (en) Address processor for a signal processor
JP2518387B2 (en) Serial data transmission circuit
JPH11110214A (en) Command control system and method for the same
EP0312615B1 (en) Method and apparatus for data transfer
US5223832A (en) Serial data transmission circuit
JPH05315971A (en) Serial/parallel conversion circuit
JP2634609B2 (en) Data transfer device
JP2588042B2 (en) Data processing circuit
JPH0668055A (en) Digital signal processor
JPH0664517B2 (en) Hold type analog input data acquisition method
JPH0876930A (en) A/d converter and data processor with built-in converter
JPH0267665A (en) Interface circuit
JP3115756B2 (en) Demultiplexer circuit
JP2000215658A (en) Method for transferring data
JPH09319863A (en) Set data changing device for image processor
JP2696091B2 (en) Test pattern generation apparatus and method
JPH0512011A (en) Pipeline circuit
JPH08288849A (en) Digital signal processor
JPS60136830A (en) Operation processor
JPH0332814B2 (en)
JPS59214322A (en) Serial-parallel converting circuit
JPH0522120A (en) Counter circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees