Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0337776B2 - - Google Patents
[go: Go Back, main page]

JPH0337776B2 - - Google Patents

Info

Publication number
JPH0337776B2
JPH0337776B2 JP59195319A JP19531984A JPH0337776B2 JP H0337776 B2 JPH0337776 B2 JP H0337776B2 JP 59195319 A JP59195319 A JP 59195319A JP 19531984 A JP19531984 A JP 19531984A JP H0337776 B2 JPH0337776 B2 JP H0337776B2
Authority
JP
Japan
Prior art keywords
data
signal
clock signal
shift register
address
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
Application number
JP59195319A
Other languages
Japanese (ja)
Other versions
JPS6172441A (en
Inventor
Toshuki Ozawa
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP59195319A priority Critical patent/JPS6172441A/en
Publication of JPS6172441A publication Critical patent/JPS6172441A/en
Publication of JPH0337776B2 publication Critical patent/JPH0337776B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、オーデイオ分野において、システム
コントローラと各種周辺ICとの間で行なわれる
データ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a data transfer method performed between a system controller and various peripheral ICs in the audio field.

(ロ) 従来の技術 東芝レビユー(38巻13号)の第1145頁〜1148頁
に示されているように、オーデイオ分野において
も、システムコントローラとしてマイクロコンピ
ユータを用い、PLLICや表示用IC、あるいはグ
ラフイツクイコライザや電子ボリユーム等の各種
周辺ICとの間でデータ転送を行ない、トータル
的な制御をすることが、近年、開発されるように
なつた。
(b) Conventional technology As shown on pages 1145 to 1148 of Toshiba Review (Vol. 38, No. 13), in the audio field, microcomputers are used as system controllers, and PLLIC, display ICs, or graph In recent years, the ability to perform total control by transferring data between various peripheral ICs such as equalizers and electronic volumes has been developed.

従来、このような転送方式においては、第6図
イに示すように、周辺IC1,2の内部にはデー
タ転送用のインターフエース3,4が設けられて
おり、システムコントローラ5と周辺IC1との
間でデータのやり取りを行なう場合は4本のシリ
アルラインで、そして、周辺IC2へデータを一
方的に転送する場合は3本のシリアルラインで、
システムコントローラ5とインターフエース3,
4とが接続され、このインターフエース3,4と
PLL回路6や表示用回路7がデータバス8を介
して接続されていた。そして、コントローラ側か
らデータを転送する際には、第7図イ〜ハに示す
ように、先ず、アドレスコードC1〜C4である
シリアルデータSIとクロツク信号CKを送出し、
次にデータD1〜D4であるシリアルデータSIと
クロツク信号CKを送出し、これらコード及びデ
ータの転送後にパルス状のストローブ信号STB
を送出していた。又、コントローラ側へデータを
取込む際は、第7図ニ〜トに示すように、同様
に、先ず、クロツク信号CKとアドレスコードC
1〜C4を送出し、ストローブ信号STBを送出
した後、データD1〜D4であるシリアルデータ
SOを取込むため、クロツク信号CKを送出し、更
にストローブ信号STBを送出していた。
Conventionally, in such a transfer method, as shown in FIG. When exchanging data between the two, use four serial lines, and when transferring data unilaterally to the peripheral IC2, use three serial lines.
system controller 5 and interface 3,
4 is connected, and this interface 3, 4 and
A PLL circuit 6 and a display circuit 7 were connected via a data bus 8. When data is transferred from the controller side, as shown in Fig. 7 A to C, first, serial data SI, which is address codes C1 to C4, and a clock signal CK are sent,
Next, serial data SI, which is data D1 to D4, and clock signal CK are sent out, and after these codes and data are transferred, a pulsed strobe signal STB is sent.
was being sent. Also, when loading data to the controller side, as shown in FIG. 7, first, the clock signal CK and address code C are
1 to C4 and the strobe signal STB, the serial data which is data D1 to D4 is transmitted.
In order to capture SO, a clock signal CK was sent out, and a strobe signal STB was sent out.

インターフエース3は、第6図ロに示すよう
に、クロツク信号CKをシフトパルスとしてシリ
アルデータSIを取込み且つシリアルデータSOを
送出するシフトレジスタ9と、クロツク信号CK
とストローブ信号STBをデコードするコードデ
コーダ100とシフトレジスタ9に取込まれたア
ドレスコードC1〜C4をコードデコーダの出力
信号、即ち、ストローブ信号STBに応じてラツ
チするコードラツチ10と、コントローラからの
データD1〜D4あるいはPLL回路6からのデ
ータDT1〜DT4をラツチする複数のラツチ回
路11a〜11cと、コードラツチ10の内容を
デコードしアドレスコードC1〜C4に応じてラ
ツチ回路11a〜11cのいずれか1つをアドレ
ス指定するデコーダ12とを備えており、ラツチ
回路11a〜11cのいずれか1つにデータD1
〜D4を書込む際は、先ずシフトレジスタ9にク
ロツク信号CKに基づきアドレスコードC1〜C
4を取込み、このアドレスコードに応じてラツチ
回路をアドレス指定し、次に、シフトレジスタ9
にクロツク信号に基づきデータD1〜D4を取込
み、このデータD1〜D4をアドレス指定された
ラツチ回路にストローブ信号STBに応じて書込
んでいた。
As shown in FIG. 6B, the interface 3 includes a shift register 9 that takes in serial data SI using the clock signal CK as a shift pulse and sends out the serial data SO, and a shift register 9 that uses the clock signal CK as a shift pulse and sends out the serial data SO.
and a code decoder 100 that decodes the strobe signal STB, a code latch 10 that latches the address codes C1 to C4 taken into the shift register 9 according to the output signal of the code decoder, that is, the strobe signal STB, and data D1 from the controller. ~ D4 or a plurality of latch circuits 11a to 11c that latch data DT1 to DT4 from the PLL circuit 6, and a plurality of latch circuits 11a to 11c that decode the contents of the code latch 10 and select one of the latch circuits 11a to 11c according to the address codes C1 to C4. A decoder 12 for specifying an address is provided, and data D1 is sent to any one of the latch circuits 11a to 11c.
When writing ~D4, first write address codes C1~C to the shift register 9 based on the clock signal CK.
4 and addresses the latch circuit according to this address code, then shifts register 9.
Data D1 to D4 are taken in based on the clock signal, and these data D1 to D4 are written to the addressed latch circuit in response to the strobe signal STB.

(ハ) 発明が解決しようとする問題点 一般に、データ転送中のノイズについては、誤
り訂正処理等を行なわなくてはならないが、デー
タを転送している時間に比べ静止状態の方が時間
的には遥かに長く、この間のノイズ対策を行なえ
ばシステムの誤動作は大幅に減少できる。ところ
が、上記した従来の技術においては、データ転送
中以外に、ストローブ信号STBやクロツク信号
CKにノイズが乗ると、誤データがラツチ回路に
書込まれてしまい、PLL回路等の周辺回路には
誤データが転送されて誤動作を行なうという問題
があつた。
(c) Problems to be solved by the invention In general, error correction processing must be performed to deal with noise during data transfer, but it takes longer time in a stationary state than in data transfer. The period is much longer, and if noise countermeasures are taken during this period, system malfunctions can be greatly reduced. However, in the above-mentioned conventional technology, the strobe signal STB and clock signal are
When noise is added to CK, erroneous data is written to the latch circuit, and the erroneous data is transferred to peripheral circuits such as PLL circuits, causing malfunctions.

更に、例えば、PLL回路においては、同一バ
ンド内で受信周波数を変更するときは分周数デー
タのみを変更すればよいが、バンド変更を行なう
ときは分周数データとバンドデータを共に変更し
なければならない。又、電子ボリユームにおいて
は、左右の音量を独立に変更する場合もあれば、
同時に左右の音量を変更したい場合もある。この
ように2種類のデータを同時に変更したい場合、
従来は、2回のアドレス指定を行ないデータを
各々別に転送するしかなく、あまり効率のよい転
送方式ではなかつた。
Furthermore, for example, in a PLL circuit, when changing the receiving frequency within the same band, only the frequency division number data needs to be changed, but when changing the band, both the frequency division number data and the band data must be changed. Must be. Also, with electronic volume, the left and right volume may be changed independently,
You may also want to change the left and right volumes at the same time. If you want to change two types of data at the same time like this,
Conventionally, the only way to do this was to specify the address twice and transfer the data separately, which was not a very efficient transfer method.

(ニ) 問題点を解決するための手段 本発明は、アドレス指定用のアドレスコード及
びデータをシリアルデータとし、制御信号の第1
状態において前記アドレスコード及びクロツク信
号を送出し、送出後、前記制御信号を第2状態と
し、該第2状態の期間に前記データ及び前記クロ
ツク信号を送出すると共に、前記クロツク信号に
基づいて前記アドレスコードを取込むアドレスコ
ード入力用シフトレジスタと、該アドレスコード
入力用シフトレジスタの出力をデコードするデコ
ーダと、該デコーダの出力に応じて各々アドレス
指定され前記クロツク信号に基づいて前記データ
を取込む複数のデータ入力用シフトレジスタと、
アドレス指定された前記データ入力用シフトレジ
スタに前記制御信号が第2状態である期間のみに
前記クロツク信号を印加せしめる制御回路とを設
け、前記データ入力用シフトレジスタのいずれか
1つに前記データを転送するデータ転送方式にお
いて、前記データ入力用シフトレジスタの少なく
とも2つを同時にアドレス指定する特定アドレス
コードを割り当て、更に、該特定のアドレスコー
ドの入力に応じて前記デコーダの特定出力が発生
された際に、前記少なくとも2つのデータ入力用
シフトレジスタを縦続接続する選択回路を設けた
ものである。
(d) Means for solving the problem The present invention uses serial data as the address code and data for address designation, and the first one of the control signals.
After sending the address code and the clock signal, the control signal is set to the second state, and during the second state, the data and the clock signal are sent, and the address code and the clock signal are sent out based on the clock signal. an address code input shift register for inputting a code; a decoder for decoding the output of the address code input shift register; a shift register for data input,
a control circuit for applying the clock signal to the addressed data input shift register only during a period in which the control signal is in a second state; In the data transfer method, a specific address code that simultaneously addresses at least two of the data input shift registers is assigned, and further, when a specific output of the decoder is generated in response to input of the specific address code. A selection circuit is provided in which the at least two data input shift registers are connected in cascade.

(ホ) 作用 本発明では、データ入力用シフトレジスタに、
制御信号が第2状態の期間のみクロツク信号が印
加され、第1状態の期間はクロツク信号の印加が
禁示されるので、転送中以外に制御信号やクロツ
ク信号にノイズが乗つても、データ入力用シフト
レジスタの内容は変化せず、従つて、誤データは
転送されない。
(e) Effect In the present invention, the data input shift register includes
The clock signal is applied only when the control signal is in the second state, and the application of the clock signal is prohibited during the first state, so even if noise is added to the control signal or clock signal other than during transfer, the clock signal cannot be used for data input. The contents of the shift register do not change, so no erroneous data is transferred.

更に、特定のアドレスコードを転送することに
より、1回のアドレス指定で、複数のデータ入力
用シフトレジスタにデータが連続的に転送され
る。
Further, by transferring a specific address code, data can be continuously transferred to a plurality of data input shift registers with one address designation.

(ヘ) 実施例 第1図〜第3図は本発明の一実施例を示すブロ
ツク図、第4図及び第5図は動作を説明するため
のタイミングチヤートであり、従来技術における
インターフエースに相当する回路構成を示してい
る。
(f) Embodiment FIGS. 1 to 3 are block diagrams showing one embodiment of the present invention, and FIGS. 4 and 5 are timing charts for explaining the operation, and correspond to the interface in the conventional technology. This shows the circuit configuration.

この転送方式においては、システムコントロー
ラ(図示せず)から、制御信号CE、クロツク信
号CK、シリアルデータSIを送出し、シリアルデ
ータSOを入力するようにしており、コントロー
ラ側からデータを転送する際は、第4図に示すよ
うに、制御信号CEが「L」のときにアドレスコ
ードC1〜C4と4つのクロツク信号CKを送出
し、送出後、制御信号CEを「H」とし、この
「H」の期間に、データD1〜D4と4個のクロ
ツク信号を送出するようにしている。
In this transfer method, a system controller (not shown) sends out a control signal CE, a clock signal CK, and serial data SI, and inputs serial data SO. , as shown in FIG. 4, when the control signal CE is "L", address codes C1 to C4 and four clock signals CK are sent out, and after sending out, the control signal CE is set to "H", and this "H" During this period, data D1 to D4 and four clock signals are sent out.

第1図において、13,14,15は、各々、
シリアルデータSI、クロツク信号CK、制御信号
CEを入力する入力端子、16はクロツク信号CK
をシフトクロツクとしてシリアルデータSIのアド
レスコードC1〜C4を取込むための4ビツトの
シフトレジスタ、17はANDゲート17a〜1
7eより成りシフトレジスタ16の内容をデコー
ドするデコーダ、18は制御信号CEをデータ端
子Dに、そして、クロツクパルスφをクロツク端
子CLに入力し信号CEDを出力するDフリツプフ
ロツプ、19は信号CEDをクロツクパルスφの
1周期遅延させた信号CEDCLを発生するDフリ
ツプフロツプ、20は書込み信号Wを生成する
NORゲート、21はリセツト信号RSTを生成す
るNORゲート、22a〜22eはデコーダ17
の各出力信号L1S,L2S,TS,OUT,IOを
各々データ端子に入力し、信号CEDCLをクロツ
ク端子CLに入力し、更に、信号RSTをリセツト
端子に入力し、各々、アドレス指定信号L1
SD,L2SD,TSD,OUTD,IODを出力する
Dフリツプフロツプである。
In FIG. 1, 13, 14, 15 are each
Serial data SI, clock signal CK, control signal
Input terminal for inputting CE, 16 is clock signal CK
17 is an AND gate 17a to 1.
A decoder 7e decodes the contents of the shift register 16; 18 a D flip-flop which inputs a control signal CE to a data terminal D and a clock pulse φ to a clock terminal CL and outputs a signal CED; 19 a D flip-flop which outputs a signal CED; A D flip-flop 20 generates a write signal W, which generates a signal CEDCL delayed by one period.
NOR gate, 21 is a NOR gate that generates the reset signal RST, 22a to 22e are decoders 17
The output signals L1S, L2S, TS, OUT, IO are input to the data terminal, the signal CEDCL is input to the clock terminal CL, the signal RST is input to the reset terminal, and the address designation signal L1 is input to the reset terminal.
It is a D flip-flop that outputs SD, L2SD, TSD, OUTD, and IOD.

次に、第2図において、23及び24はシリア
ルデータSI中のデータD1〜D4をクロツク信号
CKに基づいて取込むためのデータ入力用の4ビ
ツトのシフトレジスタ、25及び26はシフトレ
ジスタ23及び24に各々接続され、書込み信号
Wをラツチパルスとして各シフトレジスタの内容
をラツチするラツチ回路、27は信号CEDとク
ロツク信号CKを入力するANDゲート、28はア
ドレス指定信号L1SD及びTSDを入力するOR
ゲート、29はアドレス指定信号L2SDと
TSD、更に、IODを入力するORゲート、30及
び31はANDゲート27の出力を一端に入力し、
他端に各々ORゲート28及び29の出力を入力
し、その出力を各々シフトレジスタ23及び24
のクロツク端子CLに入力するANDゲート、32
はANDゲート33,34とORゲート35とイン
バータ36より成り、アドレス指定信号TSDに
応じてシフトレジスタ24へ、コントローラから
のデータD1〜D4もしくはシフトレジスタ23
の出力を選択的に入力するデータ選択回路、37
及び38は一端に書込み信号Wを入力し、他端に
各々ORゲート28及び29の出力を入力し、そ
の出力を各々ラツチ回路25及び26のラツチパ
ルス入力端子Lに入力するANDゲートであり、
各ラツチ回路25及び26の出力は出力端子39
a〜39d及び40a〜40dを介して、PLL
回路等の周辺回路に接続されている。
Next, in FIG. 2, 23 and 24 convert data D1 to D4 in the serial data SI to clock signals.
4-bit shift registers 25 and 26 for inputting data to be taken in based on CK are connected to shift registers 23 and 24, respectively, and a latch circuit 27 that latches the contents of each shift register using the write signal W as a latch pulse. 28 is an AND gate that inputs the signal CED and the clock signal CK, and 28 is an OR gate that inputs the address designation signals L1SD and TSD.
Gate 29 is the address designation signal L2SD.
OR gates 30 and 31 which input TSD and IOD input the output of AND gate 27 at one end,
The outputs of OR gates 28 and 29 are input to the other end, and the outputs are sent to shift registers 23 and 24, respectively.
AND gate, 32 input to the clock terminal CL of
consists of AND gates 33, 34, an OR gate 35, and an inverter 36, and transfers data D1 to D4 from the controller or the shift register 23 to the shift register 24 according to the address designation signal TSD.
a data selection circuit for selectively inputting the output of 37;
and 38 are AND gates which input the write signal W to one end, input the outputs of the OR gates 28 and 29 to the other end, and input the outputs to the latch pulse input terminals L of the latch circuits 25 and 26, respectively;
The output of each latch circuit 25 and 26 is connected to an output terminal 39.
PLL via a to 39d and 40a to 40d
Connected to peripheral circuits such as circuits.

更に、第3図において、41a〜41dは
PLL回路等の周辺回路に接続され、周辺回路か
らのデータDT1〜DT4を入力する入力端子、
42はデータDT1〜DT4を取込みクロツク信
号をシフトクロツクとして出力端子43からデー
タDT1〜DT4をシリアルデータSOとしてシス
テムコントローラへ送出するデータ出力用の4ビ
ツトのシフトレジスタ、44はアドレス指定信号
OUTD及びIODを入力するORゲート、45は信
号CED及びORゲート44の出力を入力する
ANDゲート、46はANDゲート45の出力を反
転するインバータ、47a〜47dはデータDT
1〜DT4の各ビツト信号DT1,DT2,DT3,
DT4を各々一端に入力し、他端にインバータ4
6の出力を入力し、その出力がシフトレジスタ4
2を構成する各フリツプフロツプ42a〜42d
のセツト端子に接続されたANDゲート、48
a〜48dはデータDT1〜DT4の各ビツト信
号の反転信号を一端に入力し、他端にインバータ
46の出力を入力し、その出力が各フリツプフロ
ツプ42a〜42dのリセツト端子に接続され
たANDゲートであり、クロツク信号CKはインバ
ータ49を介してフリツプフロツプ42a〜42
dの各クロツク端子に印加されている。又、出力
端子43と接地間にはNMOSトランジスタ50
及び51縦続接続されており、NMOSトランジ
スタ50のゲートにはシフトレジスタ42の出力
をインバータ52で反転した信号が印加され、
NMOSトランジスタ51にはANDゲート45の
出力が印加されている。そして、出力端子43は
他の周辺ICの出力端子53と共通接続されシス
テムコントローラのデータ入力端子に接続されて
おり、共通接続ラインはプルアツプ抵抗54を介
して電源電位VDDに接続されている。
Furthermore, in FIG. 3, 41a to 41d are
An input terminal connected to a peripheral circuit such as a PLL circuit and inputting data DT1 to DT4 from the peripheral circuit;
42 is a 4-bit shift register for data output that takes in data DT1 to DT4 and uses the clock signal as a shift clock to send data DT1 to DT4 from an output terminal 43 as serial data SO to the system controller; 44 is an address designation signal;
OR gate that inputs OUTD and IOD, 45 inputs signal CED and the output of OR gate 44
AND gate, 46 is an inverter that inverts the output of AND gate 45, 47a to 47d are data DT
Each bit signal DT1 to DT4 DT1, DT2, DT3,
Input DT4 to one end and inverter 4 to the other end.
6 output is input, and the output is input to shift register 4.
Each flip-flop 42a to 42d constituting 2
AND gate connected to the set terminal of 48
A to 48d are AND gates that input the inverted signal of each bit signal of data DT1 to DT4 to one end, input the output of the inverter 46 to the other end, and connect the output to the reset terminal of each flip-flop 42a to 42d. Yes, the clock signal CK is passed through the inverter 49 to the flip-flops 42a to 42.
d is applied to each clock terminal. In addition, an NMOS transistor 50 is connected between the output terminal 43 and the ground.
and 51 are connected in cascade, and a signal obtained by inverting the output of the shift register 42 by an inverter 52 is applied to the gate of the NMOS transistor 50.
The output of the AND gate 45 is applied to the NMOS transistor 51 . The output terminal 43 is commonly connected to the output terminal 53 of other peripheral ICs and is connected to the data input terminal of the system controller, and the common connection line is connected to the power supply potential VDD via a pull-up resistor 54.

ところで、アドレスコードC1〜C4はシフト
レジスタ23,24,42のアドレス指定を行な
うコードであるが、本実施例では、シフトレジス
タ23,24,42を各々単独にアドレス指定す
るコードを「0」、「1」、「2」と定めると共に、
シフトレジスタ23及び24を共にアドレス指定
するコードとして「3」、そして、シフトレジス
タ24及び42を共にアドレス指定するコードと
して「4」を割り合てている。
Incidentally, the address codes C1 to C4 are codes for addressing the shift registers 23, 24, and 42, but in this embodiment, the codes for individually addressing each of the shift registers 23, 24, and 42 are "0", In addition to setting "1" and "2",
"3" is assigned as a code for addressing both shift registers 23 and 24, and "4" is assigned as a code for addressing both shift registers 24 and 42.

次に、本実施例の動作をタイミングチヤートを
参照しながら説明する。
Next, the operation of this embodiment will be explained with reference to timing charts.

今、ラツチ回路25にデータを転送するため、
アドレスコード「0」とデータD1〜D4をシス
テムコントローラから送出したとする。すると、
クロツク信号CKに基づいてシフトレジスタ16
にはアドレスコードC1〜C4として(0、0、
0、0)が取込まれ、ANDゲート17aのデコ
ード出力L1Sのみが第4図チに示すように
「H」となる。制御信号CEが「L」のときは信号
CED及びCEDCLは共に「L」なので、リセツト
信号RSTは「H」となつており、この信号によ
りフリツプフロツプ22a〜22eはリセツト状
態にある。アドレスコードC1〜C4及び4つの
クロツク信号CKの送出後、制御信号CEを所定期
間「H」とすると、第4図ホに示すように信号
CEDが「H」となり、このためリセツト信号
RSTが「L」となつて、フリツプフロツプ22
a〜22eのリセツトが解除される。次いで、第
4図ヘに示すように信号CEDCLが「H」となり、
その立ち上がりで、ANDゲート17a〜17e
の各出力は、各フリツプフロツプ22a〜22e
にラツチされる。この場合、デコード出力L1S
が「H」なので、第4図リに示すようにアドレス
指定信号L1SDが「H」となる。
Now, in order to transfer data to the latch circuit 25,
Assume that address code "0" and data D1 to D4 are sent from the system controller. Then,
Shift register 16 based on clock signal CK
For address codes C1 to C4 (0, 0,
0, 0) is taken in, and only the decoded output L1S of the AND gate 17a becomes "H" as shown in FIG. When the control signal CE is “L”, the signal
Since both CED and CEDCL are at "L", the reset signal RST is at "H", and the flip-flops 22a to 22e are in the reset state due to this signal. After sending the address codes C1 to C4 and the four clock signals CK, if the control signal CE is set to "H" for a predetermined period, the signal as shown in FIG.
CED becomes “H” and therefore the reset signal
RST becomes "L", flip-flop 22
The resets of a to 22e are released. Next, as shown in Fig. 4, the signal CEDCL becomes "H", and
At the rising edge, AND gates 17a to 17e
Each output of each flip-flop 22a to 22e
is latched to. In this case, decode output L1S
is "H", so the address designation signal L1SD becomes "H" as shown in FIG.

制御信号CEが「H」となつて信号CEDが「H」
となると、クロツク信号CKはANDゲート27を
通過して、ANDゲート30及び31に印加され
るようになるが、この場合、L1SDのみが「H」
なので、クロツク信号CKはANDゲート30を介
してシフトレジスタ23に印加されるようにな
り、シフトレジスタ24にはクロツク信号CKが
印加されない。即ち、シフトレジスタ23のみが
アドレス指定されることとなる。そこで、制御信
号CEが「H」の期間に、4つのクロツク信号CK
とデータD1〜D4が送出されると、このクロツ
ク信号CKに基づいてシフトレジスタ23はデー
タD1〜D4を取込む。データD1〜D4の送出
後、制御信号CEは「L」にされるので、これに
応じて、先ず信号CEDが「L」となり、クロツ
クパルスφの1周期遅れて信号CEDCLが「L」
となるので、第4図トに示すように、信号CED
の立下りに応じて書込信号Wは「H」となり、ク
ロツクパルスの1周期経過後「L」となる。
ANDゲート37には「H」のL1SDが入力され
ているので、書込信号Wが「H」となると、その
出力によりシフトレジスタ23の内容D1〜D4
がラツチ回路25にラツチされる。即ち、ラツチ
回路25へのデータ転送が終了する。
Control signal CE becomes "H" and signal CED becomes "H"
Then, the clock signal CK passes through the AND gate 27 and is applied to the AND gates 30 and 31, but in this case, only L1SD is "H".
Therefore, the clock signal CK is applied to the shift register 23 via the AND gate 30, and the clock signal CK is not applied to the shift register 24. That is, only the shift register 23 is addressed. Therefore, during the period when the control signal CE is "H", the four clock signals CK
When the data D1 to D4 are sent out, the shift register 23 takes in the data D1 to D4 based on this clock signal CK. After sending the data D1 to D4, the control signal CE is set to "L", so in response, the signal CED first becomes "L", and after one cycle of the clock pulse φ, the signal CEDCL becomes "L".
Therefore, as shown in Figure 4, the signal CED
The write signal W becomes "H" in response to the fall of the clock pulse, and becomes "L" after one cycle of the clock pulse has elapsed.
Since L1SD of "H" is input to the AND gate 37, when the write signal W becomes "H", its output causes the contents D1 to D4 of the shift register 23 to be input.
is latched by the latch circuit 25. That is, the data transfer to the latch circuit 25 is completed.

ここで、信号CEDCLは制御信号CEが「H」の
後「H」となり、書込信号Wが「L」となるとき
「L」となるので、データD1〜D4をシフトレ
ジスタ23に取込み始めてからラツチ回路25に
書込まれるまでの間、アドレス指定信号L1SD
〜IODの状態が変化することはない。
Here, since the signal CEDCL becomes "H" after the control signal CE becomes "H" and becomes "L" when the write signal W becomes "L", the signal CEDCL becomes "L" after the control signal CE becomes "H". Until the address designation signal L1SD is written into the latch circuit 25,
~IOD status never changes.

ところで、シフトレジスタ42は、上述の例の
場合アドレス指定されていないので、信号CED
が「H」となつてもANDゲート45の出力は
「L」となり、この信号によりNMOSトランジス
タ51がオフされるので、シフトレジスタ42の
内容がシリアルデータSOとして送出されること
はない。
By the way, since the shift register 42 is not addressed in the above example, the signal CED
Even if the signal becomes "H", the output of the AND gate 45 becomes "L", and this signal turns off the NMOS transistor 51, so that the contents of the shift register 42 are not sent out as serial data SO.

次に、システムコントローラからアドレスコー
ド「1」とデータD1〜D4を送出したとする
と、同様にしてデコード出力L2Sのみが「H」
となり、これに応じてアドレス指定信号L2SD
が「H」となつてシフトレジスタ24がアドレス
指定される。データ選択回路32においては、ア
ドレス指定信号TSDが「L」なので、ANDゲー
ト33及びORゲート35を介してシフトレジス
タ24に、システムコントローラからの転送デー
タD1〜D4が入力され、クロツク信号に基づい
てこのデータが取込まれる。そして、同様に、書
込み信号WによりデータD1〜D4がラツチ回路
26にラツチされる。
Next, if address code "1" and data D1 to D4 are sent from the system controller, only the decode output L2S becomes "H" in the same way.
Accordingly, the address designation signal L2SD
becomes "H" and the shift register 24 is addressed. In the data selection circuit 32, since the address designation signal TSD is "L", the transfer data D1 to D4 from the system controller is input to the shift register 24 via the AND gate 33 and the OR gate 35, and This data is captured. Similarly, data D1 to D4 are latched in the latch circuit 26 by the write signal W.

上述においては、データ転送中の動作を説明し
たが、データの転送を行なつていない状態におい
て、クロツク信号CK及び制御信号CEにノイズが
乗つたとする。
In the above, the operation during data transfer has been described, but it is assumed that noise is superimposed on the clock signal CK and the control signal CE while no data is being transferred.

この場合、制御信号CEがノイズにより「H」
となつている期間にクロツク信号CKにノイズが
乗ることは非常に稀であり、このようなケースを
除いては、ANDゲート27により、クロツク信
号CKのシフトレジスタ23及び24への印加が
禁止されるので、誤データはシフトレジスタ23
及び24に取込まれることがなく、依つて、ラツ
チ回路25及び26に誤データがラツチされてし
まうことがない。従つて、PLL回路等の周辺回
路が誤動作することはない。
In this case, the control signal CE becomes “H” due to noise.
It is extremely rare for noise to be added to the clock signal CK during the period when Therefore, the incorrect data is stored in the shift register 23.
and 24, thereby preventing erroneous data from being latched into latch circuits 25 and 26. Therefore, peripheral circuits such as PLL circuits will not malfunction.

次に、2つのシフトレジスタ23及び24に、
各々、データD1〜D4及びD5〜D8を転送す
る場合について説明する。
Next, in the two shift registers 23 and 24,
The case where data D1 to D4 and D5 to D8 are transferred will be explained.

この場合、システムコントローラからアドレス
コードC1〜C4として「2」を送出し、制御信
号CEを「H」とした後、この「H」の期間にデ
ータD1〜D4とD5〜D8を連続して送出し、
且つ、クロツク信号CKを8つ送出する。
In this case, the system controller sends "2" as address codes C1 to C4, sets the control signal CE to "H", and then continuously sends data D1 to D4 and D5 to D8 during this "H" period. death,
In addition, eight clock signals CK are sent out.

すると、デコード出力TSのみが「H」となり、
制御信号CEが「H」になると、アドレス指定信
号TSDが「H」となる。アドレス指定信号TSD
が共に「H」となると、ORゲート28及び29
の出力が「H」となり、ANDゲート30及び3
1を介して、クロツク信号CKがシフトレジスタ
23及び24の双方に印加可能となる。即ち、2
つのシフトレジスタ23及び24がアドレス指定
されることになる。又、データ選択回路32では
ANDゲート34の一方の入力信号が「H」とな
るため、シフトレジスタ23の出力がANDゲー
ト34及びORゲート35を介してシフトレジス
タ24に入力されるようになり、シフトレジスタ
23と24とは縦続接続されることとなる。従つ
て、クロツク信号CKが制御信号CEの「H」の期
間に印加されると、データD1〜D8をクロツク
信号に基づいて順次取込み、その結果、データD
1〜D4がシフトレジスタ23に、そして、デー
タD5〜D8がシフトレジスタ24に取込まれ
る。依つて、ラツチ回路25にはデータD1〜D
4が、ラツチ回路26にはデータD5〜D8がラ
ツチされる。例えば、データD1〜D4が分周数
データ、データD5〜D8がバンドデータである
ときは、PLL回路には、1回のアドレス指定で、
分周数データとバンドデータが転送されることと
なる。
Then, only the decoded output TS becomes "H",
When the control signal CE becomes "H", the addressing signal TSD becomes "H". Addressing signal TSD
When both become "H", OR gates 28 and 29
The output of becomes “H” and AND gates 30 and 3
1, the clock signal CK can be applied to both shift registers 23 and 24. That is, 2
Two shift registers 23 and 24 will be addressed. Also, in the data selection circuit 32
Since one input signal of the AND gate 34 becomes "H", the output of the shift register 23 is input to the shift register 24 via the AND gate 34 and the OR gate 35, and the shift registers 23 and 24 are They will be connected in cascade. Therefore, when the clock signal CK is applied during the "H" period of the control signal CE, data D1 to D8 are sequentially fetched based on the clock signal, and as a result, the data D
Data 1 to D4 are taken into the shift register 23, and data D5 to D8 are taken into the shift register 24. Therefore, the latch circuit 25 receives data D1 to D.
4, data D5 to D8 are latched in the latch circuit 26. For example, when data D1 to D4 are frequency division number data and data D5 to D8 are band data, the PLL circuit can be set with one address specification.
Frequency division number data and band data will be transferred.

更に、次には、PLL回路等の周辺回路から入
力端子41a〜41dを介してデータDT1〜
DT4を取込み、システムコントローラへシリア
ルデータSOとして転送する場合について説明す
る。
Furthermore, next, data DT1 to DT1 are input from peripheral circuits such as PLL circuits via input terminals 41a to 41d.
The case where DT4 is imported and transferred to the system controller as serial data SO will be explained.

この場合は、第5図に示すように、先ず、シス
テムコントローラからデータを転送する場合と同
様、制御信号が「L」のときにアドレスコードC
1〜C4と4つのクロツク信号CKを送出し、送
出後、制御信号CEを「H」とし、この「H」の
期間にクロツク信号CKのみを4つ送出する。こ
のとき、アドレスコードC1〜C4としては
「3」を送出する。
In this case, as shown in FIG. 5, first, as in the case of transferring data from the system controller, when the control signal is "L", the address code C
After sending out four clock signals CK, 1 to C4, the control signal CE is set to "H", and only four clock signals CK are sent out during this "H" period. At this time, "3" is sent as address codes C1 to C4.

この場合、制御信号CEが「L」の期間にシフ
トレジスタ42にアドレスコード(1、1、0、
0)が取込まれ、デコード出力OUTのみが「H」
となるが、制御信号CEが「L」のときは信号
CEDが「L」であり、このため、インバータ4
6の出力は「H」となり、ANDゲート47a〜
47d及び48a〜48dは開かれ、シフトレジ
スタ42を構成する各フリツプフロツプは、
各々、データDT1,DT2,DT3,DT4によ
りセツトあるいはリセツトされる。即ち、データ
DT1〜DT4がシフトレジスタ42に書込まれ
る。そして、制御信号CEが「H」となると信号
CEDが「H」になると共に、アドレス指定信号
OUTDが「H」となり、このため、ANDゲート
45の出力は「H」に、又、インバータ46の出
力は「L」となり、ANDゲート47a〜47d
及び48a〜48dが閉じられ、データDT1〜
DT4のシフトレジスタ42への書込みが禁止さ
れると共、NMOSトランジスタ51をオンとし
データの出力を可能とする。クロツク信号CKが
印加されると、シフトレジスタ42はシフト動作
を開始し、NMOSトランジスタ50をデータDT
1〜DT4に応じてオンオフさせることにより、
出力端子43からデータDT1〜DT4をシリア
ルデータSOとしてシステムコントローラへ転送
する。
In this case, the address code (1, 1, 0,
0) is taken in, and only the decode output OUT is “H”
However, when the control signal CE is "L", the signal
CED is “L”, so inverter 4
The output of 6 becomes "H", and the AND gate 47a~
47d and 48a to 48d are open, and each flip-flop constituting the shift register 42 is
Each is set or reset by data DT1, DT2, DT3, and DT4. That is, data
DT1 to DT4 are written to the shift register 42. Then, when the control signal CE becomes "H", the signal
As soon as CED becomes “H”, the address designation signal
OUTD becomes "H", therefore, the output of AND gate 45 becomes "H", and the output of inverter 46 becomes "L", and AND gates 47a to 47d
and 48a to 48d are closed, and data DT1 to 48d are closed.
Writing to the shift register 42 of the DT 4 is prohibited, and the NMOS transistor 51 is turned on to enable data output. When the clock signal CK is applied, the shift register 42 starts a shift operation and transfers the NMOS transistor 50 to the data DT.
By turning on and off according to 1 to DT4,
The data DT1 to DT4 are transferred from the output terminal 43 to the system controller as serial data SO.

更に、本実施例においては、1回のアドレス指
定で、データ入力用のシフトレジスタ24にシス
テムコントローラからデータD1〜D4を転送
し、同時に、データ出力用のシフトレジスタ42
からシステムコントローラへデータDT1〜DT
4を転送することができる。この場合は、システ
ムコントローラからデータD1〜D4を転送する
場合と同様に、第4図に示すように、制御信号
CE、クロツク信号CK、シリアルデータSIを送出
し、アドレスコードC1〜C4としては、「4」
を送出する。
Furthermore, in this embodiment, data D1 to D4 are transferred from the system controller to the shift register 24 for data input by one address specification, and at the same time, the data D1 to D4 are transferred to the shift register 42 for data output.
Data DT1 to DT from to system controller
4 can be transferred. In this case, as in the case of transferring data D1 to D4 from the system controller, as shown in FIG.
CE, clock signal CK, and serial data SI are sent, and address codes C1 to C4 are "4".
Send out.

このようにすれば、シフトレジスタ16にアド
レスコード(0、0、1、0)が取込まれ、デコ
ード出力IOのみが「H」となると共に、制御信
号CEが「L」のときにANDゲート47a〜47
d及び48a〜48dが開かれ、データDT1〜
DT4がシフトレジスタ42に書込まれる。そし
て、制御信号CEが「H」となると、信号CED及
びCEDCLが「H」となり、アドレス信号IODが
「H」となる。このため、シフトレジスタ24に
はクロツク信号CKが印加できるようになると共
に、シフトレジスタ42においてはデータDT1
〜DT4の書込みが禁止され、更に、NMOSトラ
ンジスタ51がオンする。従つて、クロツク信号
CKが印加されると、シフトレジスタ24にはデ
ータD1〜D4が取込まれ、一方、シフトレジス
タ42からはデータDT1〜DT4が送出される
こととなる。
In this way, the address code (0, 0, 1, 0) is taken into the shift register 16, only the decode output IO becomes "H", and when the control signal CE is "L", the AND gate 47a-47
d and 48a to 48d are opened, and data DT1 to 48d are opened.
DT4 is written to shift register 42. Then, when the control signal CE becomes "H", the signals CED and CEDCL become "H", and the address signal IOD becomes "H". Therefore, the clock signal CK can be applied to the shift register 24, and the data DT1 can be applied to the shift register 42.
~Writing to DT4 is prohibited, and furthermore, the NMOS transistor 51 is turned on. Therefore, the clock signal
When CK is applied, data D1 to D4 are taken into the shift register 24, while data DT1 to DT4 are sent out from the shift register 42.

(ト) 発明の効果 本発明に依れば、データ転送中以外において、
クロツク信号や制御信号にノイズが乗つても、デ
ータ入力用シフトレジスタに誤データが転送され
ることがほとんど防止されると共に、1回のアド
レス指定で、複数のデータ入力用シフトレジスタ
にデータを連続的に転送できるので、効率の良い
データ転送を実現できる。
(g) Effect of the invention According to the present invention, except during data transfer,
Even if noise is added to the clock signal or control signal, erroneous data is almost never transferred to the data input shift register, and data can be continuously transferred to multiple data input shift registers with one address specification. Since data can be transferred efficiently, efficient data transfer can be achieved.

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

第1図〜第3図は本発明の一実施例を示すブロ
ツク図、第4図はシステムコントローラから周辺
回路にデータを転送する場合のタイミングチヤー
ト、第5図は周辺回路からシステムコントローラ
へデータを転送する場合のタイミングチヤート、
第6図は従来のデータ転送方式を示すブロツク
図、第7図は従来例の動作を示すタイミングチヤ
ートである。 主な図番の説明、16,23,24,42……
シフトレジスタ、17……デコーダ、25,26
……ラツチ回路、32……データ選択回路。
Figures 1 to 3 are block diagrams showing one embodiment of the present invention, Figure 4 is a timing chart when data is transferred from the system controller to the peripheral circuit, and Figure 5 is a diagram of data transfer from the peripheral circuit to the system controller. Timing chart for transfer,
FIG. 6 is a block diagram showing a conventional data transfer system, and FIG. 7 is a timing chart showing the operation of the conventional example. Explanation of main drawing numbers, 16, 23, 24, 42...
Shift register, 17... Decoder, 25, 26
... Latch circuit, 32 ... Data selection circuit.

Claims (1)

【特許請求の範囲】 1 制御信号を第1の状態にしてアドレス指定用
のアドレスコード及びクロツク信号をシリアルに
送出し、該送出後、前記制御信号を第2の状態に
してデータ及び前記クロツク信号をシリアルに送
出するシステムコントローラと、 前記クロツク信号に基づいて前記アドレスコー
ドを取込むアドレスコード入力用シフトレジスタ
と、 該アドレスコード入力用シフトレジスタの出力
をデコードするデコーダと、 該デコーダの出力に応じて各々アドレス指定さ
れ前記クロツク信号に基づいて前記データを取り
込む複数のデータ入力用シフトレジスタと、 アドレス指定された前記データ入力用シフトレ
ジスタに前記制御信号が第1状態から第2状態へ
変化したことに応答して前記クロツク信号を印加
せしめ、前記制御信号が第2状態から第1状態へ
変化したことに応答して前記クロツク信号の印加
を禁止する制御回路とを設け、前記データ入力用
シフトレジスタに前記データを転送するデータ転
送方式において、 前記データ入力用シフトレジスタの少なくとも
2つを同時にアドレス指定する特定アドレスコー
ドを割り当て、更に、該特定のアドレスコードの
入力に応じて前記デコーダの特定出力が発生され
た際に、前記少なくとも2つのデータ入力用シフ
トレジスタを継続接続する選択回路を設け、 1回のアドレス指定で、前記少なくとも2つの
データ入力用シフトレジスタにデータを連続的に
転送できるようにしたことを特徴とするデータ転
送方式。
[Scope of Claims] 1. A control signal is set in a first state to serially transmit an address code for address designation and a clock signal, and after the transmission, the control signal is set to a second state to transmit data and the clock signal. a system controller that serially sends out the address code; an address code input shift register that receives the address code based on the clock signal; a decoder that decodes the output of the address code input shift register; a plurality of data input shift registers that are each addressed and take in the data based on the clock signal; and the control signal changes from a first state to a second state in the addressed data input shift register. a control circuit that causes the clock signal to be applied in response to the clock signal and inhibits the application of the clock signal in response to the change of the control signal from the second state to the first state; In the data transfer method, a specific address code is assigned to simultaneously address at least two of the data input shift registers, and further, a specific output of the decoder is assigned in response to input of the specific address code. A selection circuit is provided to continuously connect the at least two data input shift registers when a data input signal is generated, so that data can be continuously transferred to the at least two data input shift registers with one address designation. A data transfer method characterized by:
JP59195319A 1984-09-18 1984-09-18 Data transfer system Granted JPS6172441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59195319A JPS6172441A (en) 1984-09-18 1984-09-18 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59195319A JPS6172441A (en) 1984-09-18 1984-09-18 Data transfer system

Publications (2)

Publication Number Publication Date
JPS6172441A JPS6172441A (en) 1986-04-14
JPH0337776B2 true JPH0337776B2 (en) 1991-06-06

Family

ID=16339184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59195319A Granted JPS6172441A (en) 1984-09-18 1984-09-18 Data transfer system

Country Status (1)

Country Link
JP (1) JPS6172441A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2512990B2 (en) * 1987-05-14 1996-07-03 ソニー株式会社 DATA TRANSMISSION METHOD, DATA TRANSMISSION DEVICE, AND DATA RECEIVING DEVICE
JP5286093B2 (en) * 2009-01-22 2013-09-11 シャープ株式会社 Information processing device

Also Published As

Publication number Publication date
JPS6172441A (en) 1986-04-14

Similar Documents

Publication Publication Date Title
US5497114A (en) Flip-flop circuit
JPH0331298B2 (en)
US5361371A (en) Microprocessor with reset execution from an arbitrary address
JP3759645B2 (en) Synchronous semiconductor memory device
JPS6340412A (en) Limited state mechanical circuit
JPH08106789A (en) Electrically programmable non-volatile semiconductor memory device
EP1239594B1 (en) Method and system for efficient information exchange
JPH0917185A (en) Address buffer for cutoff of noise
JPH0337776B2 (en)
JPS5955525A (en) Microprocessor
JPH0764957A (en) Timer device
JPH0520017B2 (en)
JPH0756749B2 (en) Function selection circuit
CN100524514C (en) High efficiency register with additional delay in DDR2 mode of operation
US20040233765A1 (en) Structure and method for transferring column address
JPS63158652A (en) Parallel data port selection method and apparatus
JPH1064268A (en) Input buffer circuit of semiconductor memory element
JPS61139990A (en) Serial access memory
JP2558802B2 (en) Register file
US20100290266A1 (en) Command processing circuit and phase change memory device using the same
JPH05291932A (en) Electronic circuit
JPS62182937A (en) Test mode setting circuit
JPH02126355A (en) Address data control circuit
JPS6337415B2 (en)
JPH04130818A (en) Input circuit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term