JPH0331298B2 - - Google Patents

Info

Publication number
JPH0331298B2
JPH0331298B2 JP19531784A JP19531784A JPH0331298B2 JP H0331298 B2 JPH0331298 B2 JP H0331298B2 JP 19531784 A JP19531784 A JP 19531784A JP 19531784 A JP19531784 A JP 19531784A JP H0331298 B2 JPH0331298 B2 JP H0331298B2
Authority
JP
Japan
Prior art keywords
data
signal
shift register
clock signal
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.)
Expired
Application number
JP19531784A
Other languages
Japanese (ja)
Other versions
JPS6172439A (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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=16339148&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH0331298(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP19531784A priority Critical patent/JPS6172439A/en
Publication of JPS6172439A publication Critical patent/JPS6172439A/en
Publication of JPH0331298B2 publication Critical patent/JPH0331298B2/ja
Granted legal-status Critical Current

Links

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 Toshiba Review (Vol. 38, No. 13), pages 1145 to 1148
As shown on the page, even in the audio field, microcomputers are used as system controllers, and PLLIC, display ICs,
In recent years, the ability to perform total control by transferring data between various peripheral ICs such as graphic 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とアドレスコードA1〜
C4を送出し、ストローブ信号STBを送出した
後、データD1〜D4であるシリアルデータSO
を取込むため、クロツク信号CKを送出し、更に
ストローブ信号STBを送出していた。
Conventionally, in such a transfer method, as shown in FIG. 4 serial lines are used to exchange data between the ICs, and 3 serial lines are used to unilaterally transfer data to the peripheral IC2.
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 reading data to the controller side, as shown in Figure 7, first, the clock signal CK and address codes A1 to
After sending C4 and sending the strobe signal STB, serial data SO which is data D1 to D4 is sent.
In order to capture the data, a clock signal CK was sent out, and a strobe signal STB was also 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〜11eのいずれか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 takes in the serial data SI using the clock signal CK as a shift pulse, and also takes in the serial data SO.
Shift register 9 that sends out the clock signal
A code decoder 100 that decodes CK and 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 11e 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.

(ニ) 問題点を解決するための手段 本発明は、システムコントローラ側から制御信
号とクロツク信号、そして、アドレスコード及び
データより成るシリアルデータを送出し、制御信
号の第1状態において、アドレスコード及びクロ
ツク信号を送出し、送出後、制御信号を第2状態
とし、第2状態の期間にデータ及びクロツク信号
を送出すると共に、シリアルデータの受取り側に
は、クロツク信号に基づいてアドレスコードを取
込む第1シフトレジスタと、第1シフトレジスタ
の出力をデコードするデコーダと、デコーダの出
力に応じてアドレス指定されクロツク信号に基づ
いてデータを取込むデータ入力用の第2シフトレ
ジスタと、制御信号が第2状態である期間のみに
クロツク信号を第2シフトレジスタに印加せしめ
る制御回路と、第2シフトレジスタに接続され制
御信号が第2状態から第1状態へ変化した後に第
2シフトレジスタの内容が書込まれるラツチ回路
とを設けて、データをラツチ回路に転送するよう
にしたものである。
(d) Means for Solving Problems The present invention sends serial data consisting of a control signal, a clock signal, and an address code and data from the system controller side, and in the first state of the control signal, the address code and Sends out a clock signal, sets the control signal to a second state after sending it, sends out data and a clock signal during the second state, and receives an address code on the serial data receiving side based on the clock signal. a first shift register; a decoder for decoding the output of the first shift register; a second shift register for data input that is addressed in accordance with the output of the decoder and takes in data based on a clock signal; A control circuit that applies a clock signal to the second shift register only during the two-state period, and a control circuit that is connected to the second shift register and writes the contents of the second shift register after the control signal changes from the second state to the first state. A latch circuit is provided to transfer data to the latch circuit.

(ホ) 作用 本発明では、アドレスコード入力用のシフトレ
ジスタとデータ入力用のシフトレジスタが分けら
れ、データ入力用の第2シフトレジスタに、制御
信号が第2状態の期間のみクロツク信号が印加さ
れ、第1状態の期間はクロツク信号の印加が禁止
されるので、転送中以外に、制御信号やクロツク
信号にノイズが乗つても、第2シフトレジスタの
内容は変化せず、このため、転送中以外において
は、ノイズにより誤データがラツチ回路に転送さ
れることはほとんどなくなる。
(e) Effect In the present invention, the shift register for address code input and the shift register for data input are separated, and the clock signal is applied to the second shift register for data input only during the period when the control signal is in the second state. During the first state, application of the clock signal is prohibited, so even if noise is added to the control signal or clock signal other than during transfer, the contents of the second shift register will not change. In other cases, erroneous data is almost never transferred to the latch circuit due to noise.

(ヘ) 実施例 第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. The diagram shows the circuit configuration.

この転送方式においては、システムコントロー
ラ(図示せず)から、制御信号CE、クロツク信
号CK、シリアルデータSIを送出し、シリアルデ
ータS0を入力するようにしており、コントロー
ラ側からデータを転送する際は、第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 S0. When transferring data from the controller side, , as shown in FIG. 4, when the control signal CE is "L", four clock signals CK of address codes C1 to C4 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 transmitted.

第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をリセツト
端子Rに入力し、各々、アドレス指定信号L1
SD,L2SD,TSD,OUTD,I0Dを出力す
る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 R, and the address designation signal L1 is input to the clock terminal CL.
This is a D flip-flop that outputs SD, L2SD, TSD, OUTD, and I0D.

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

更に、第3図において、41a〜41dは
PLL回路等の周辺回路に接続され、周辺回路か
らのデータDT1〜DT4を入力する入力端子、
42はデータDT1〜DT4を取込みクロツク信
号をシフトクロツクとして出力端子43からデー
タDT1〜DT4をシリアルデータSOとしてシス
テムコントローラへ送出するデータ出力用の4ビ
ツトのシフトレジスタ、44はアドレス指定信号
OUTD及びI0Dを入力するORゲート、45は
信号CED及びORゲート44の出力を入力する
ANDゲート、46はANDゲート45の出力を反
転するインバータ、47a〜47dはデータDT
1〜DT4の各ビツト信号DT1,DT2,DT3,
DT4を各々一端に入力し、他端にインバータ4
6の出力を入力し、その出力がシフトレジスタ4
2を構成する各フリツプフロツプ42a〜42d
のセツト端子Sに接続されたANDゲート、48
a〜48dはデータDT1〜DT4の各ビツト信
号の反転信号を一端に入力し、他端にインバータ
46の出力を入力し、その出力が各フリツプフロ
ツプ42a〜42dのリセツト端子Rに接続され
た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 45 inputs OUTD and I0D, 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.
input the output of shift register 4, and the output is input to shift register 4.
Each flip-flop 42a to 42d constituting 2
AND gate connected to the set terminal S of 48
A to 48d are AND gates which 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 whose output is connected to the reset terminal R of each flip-flop 42a to 42d. 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 CED and CEDCL are both "L", the reset signal RST is "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", and accordingly, the signal CED first becomes "L", and after one cycle of the clock pulse φ, the signal CEDCL becomes "L". As shown in FIG. 4, the write signal W becomes "H" in response to the fall of the signal CED, and becomes "L" after one cycle of the clock pulse has elapsed. Since the "H" L1SD is input to the AND gate 37, when the write signal W becomes "H", the contents D1 to D4 of the shift register 23 are latched into the latch circuit 25 by its output. That is, the latch circuit 25
The data transfer to ends.

ここで、信号CEDCLは制御信号CEが「H」の
後「H」となり、書込信号Wが「L」となるとき
「L」となるので、データD1〜D4をシフトレ
ジスタ23に取込み始めてからラツチ回路25に
書込まれるまでの間、アドレス指定信号L1SD
〜I0Dの状態が変化することはない。
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,
~The state of I0D does not change.

ところで、シフトレジスタ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」であり、このため、インバータ46の出力
は「H」となり、ANDゲート47a〜47d及
び48a〜48dは開かれ、シフトレジスタ42
を構成する各フリツプフロツプは、各々、データ
DT1,DT2,DT3,DT4によりセツトある
いはリセツトされる。即ち、データDT1〜DT
4がシフトレジスタ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をデータDT1〜DT4
に応じてオンオフさせることにより、出力端子4
3からデータDT1〜DT4をシリアルデータSO
としてシステムコントローラへ転送する。
In this case, the address code (1, 1, 0, 0) is taken into the shift 42 while the control signal CE is "L", and only the decode output OUT becomes "H", but the control signal CE is "L". ”, the signal CED is “L”, so the output of the inverter 46 becomes “H”, AND gates 47a to 47d and 48a to 48d are opened, and the shift register 42
Each flip-flop constituting the
It is set or reset by DT1, DT2, DT3, and DT4. That is, data DT1 to DT
4 is written into shift register 42. and,
When the control signal CE becomes "H", the signal CED becomes "H"
At the same time, the address designation signal OUTD becomes “H”
Therefore, the output of the AND gate 45 becomes "H", the output of the inverter 46 becomes "L", and the AND gates 47a to 47d and 48a to
48d is closed, writing of data DT1 to DT4 to the shift register 42 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,
The NMOS transistor 50 is used as data DT1 to DT4.
By turning on and off according to the output terminal 4
3 to data DT1 to DT4 as serial data SO
and forward it to the system controller as

更に、本実施例においては、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 decoder 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.

ところで、本実施例においては入力用のシフト
レジスタと出力用のシフトレジスタを別々のシフ
トレジスタで構成したが、これらを共用すること
も可能であり、この場合、第3図のANDゲート
45の入力CEDの代わりに、第4図ヌに示す
CEDの遅延信号CEDCLDと信号CEDとのOR出力
を用いて、シフトレジスタに転送されたデータD
1〜D4のラツチ回路への書込みが終了するま
で、シフトレジスタへの並列データDT1〜DT
4の書込みを禁止するようにすればよい。
Incidentally, in this embodiment, the input shift register and the output shift register are configured as separate shift registers, but it is also possible to use these in common.In this case, the input shift register of the AND gate 45 in FIG. Instead of CED, as shown in Figure 4
Data D transferred to the shift register using the OR output of CED's delayed signal CEDCLD and signal CED
Parallel data DT1 to DT to the shift register until writing to latch circuits 1 to D4 is completed.
4 should be prohibited from writing.

(ト) 発明の効果 本発明に依れば、データ転送中以外において、
クロツク信号や制御信号にノイズが乗つても、ラ
ツチ回路に誤データが転送されることはほとんど
なくなる。依つて、本発明をシステムコントロー
ラと周辺回路とのデータ転送に適用した場合、周
辺回路の誤動作を防止できる。
(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 latch circuit. Therefore, when the present invention is applied to data transfer between a system controller and a peripheral circuit, malfunctions of the peripheral circuit can be prevented.

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

第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)

【特許請求の範囲】[Claims] 1 データ入力用シフトレジスタのアドレス指定
を行なうためのアドレスコード及びデータをシリ
アルデータとし、制御信号の第1状態において前
記アドレスコード及びクロツク信号を送出し、送
出後、前記制御信号を第2状態とし、該第2状態
の期間に前記データ及び前記クロツク信号を送出
すると共に、前記クロツク信号に基づいて前記ア
ドレスコードを取込む第1シフトレジスタと、該
第1シフトレジスタの出力をデコードするデコー
ダと、該デコーダの出力に応じてアドレス指定さ
れ、前記クロツク信号に基づいて前記データを取
込むデータ入力用の第2シフトレジスタと、前記
制御信号が第1状態から第2状態へ変化したこと
に応答して前記クロツク信号を前記第2シフトレ
ジスタへ印加せしめ、前記制御信号が第2状態か
ら第1状態に変化したことに応答して前記第2シ
フトレジスタへの前記クロツク信号の印加を禁止
する制御回路と、前記第2シフトレジスタに接続
され前記制御信号が第2状態から第1状態へ変化
した後に前記第2シフトレジスタの内容が書込ま
れるラツチ回路とを設けて、前記データを前記ラ
ツチ回路に転送するようにしたことを特徴とする
データ転送方式。
1 The address code and data for specifying the address of the data input shift register are serial data, the address code and clock signal are sent in the first state of the control signal, and after sending, the control signal is set in the second state. , a first shift register that transmits the data and the clock signal during the second state and receives the address code based on the clock signal; and a decoder that decodes the output of the first shift register. a second shift register for data input, which is addressed in response to the output of the decoder and receives the data based on the clock signal; a control circuit that causes the clock signal to be applied to the second shift register, and inhibits application of the clock signal to the second shift register in response to the change of the control signal from the second state to the first state. and a latch circuit connected to the second shift register and into which the contents of the second shift register are written after the control signal changes from the second state to the first state, and the data is transferred to the latch circuit. A data transfer method characterized by a data transfer method.
JP19531784A 1984-09-18 1984-09-18 Data transfer system Granted JPS6172439A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS6172439A JPS6172439A (en) 1986-04-14
JPH0331298B2 true JPH0331298B2 (en) 1991-05-02

Family

ID=16339148

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS6172439A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005075436A2 (en) 2004-02-05 2005-08-18 Probiodrug Ag Novel inhibitors of glutaminyl cyclase
WO2008055945A1 (en) 2006-11-09 2008-05-15 Probiodrug Ag 3-hydr0xy-1,5-dihydr0-pyrr0l-2-one derivatives as inhibitors of glutaminyl cyclase for the treatment of ulcer, cancer and other diseases
WO2008065141A1 (en) 2006-11-30 2008-06-05 Probiodrug Ag Novel inhibitors of glutaminyl cyclase
WO2008104580A1 (en) 2007-03-01 2008-09-04 Probiodrug Ag New use of glutaminyl cyclase inhibitors
WO2011029920A1 (en) 2009-09-11 2011-03-17 Probiodrug Ag Heterocylcic derivatives as inhibitors of glutaminyl cyclase
WO2011107530A2 (en) 2010-03-03 2011-09-09 Probiodrug Ag Novel inhibitors
WO2011110613A1 (en) 2010-03-10 2011-09-15 Probiodrug Ag Heterocyclic inhibitors of glutaminyl cyclase (qc, ec 2.3.2.5)
WO2011131748A2 (en) 2010-04-21 2011-10-27 Probiodrug Ag Novel inhibitors
EP3461819A1 (en) 2017-09-29 2019-04-03 Probiodrug AG Inhibitors of glutaminyl cyclase

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3920830B2 (en) 2003-09-19 2007-05-30 三洋電機株式会社 Interface circuit, data processing circuit, data processing system, integrated circuit
JP4646890B2 (en) * 2006-10-30 2011-03-09 三洋電機株式会社 Interface circuit and interface circuit clock output method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005075436A2 (en) 2004-02-05 2005-08-18 Probiodrug Ag Novel inhibitors of glutaminyl cyclase
WO2008055945A1 (en) 2006-11-09 2008-05-15 Probiodrug Ag 3-hydr0xy-1,5-dihydr0-pyrr0l-2-one derivatives as inhibitors of glutaminyl cyclase for the treatment of ulcer, cancer and other diseases
WO2008065141A1 (en) 2006-11-30 2008-06-05 Probiodrug Ag Novel inhibitors of glutaminyl cyclase
WO2008104580A1 (en) 2007-03-01 2008-09-04 Probiodrug Ag New use of glutaminyl cyclase inhibitors
EP2481408A2 (en) 2007-03-01 2012-08-01 Probiodrug AG New use of glutaminyl cyclase inhibitors
WO2011029920A1 (en) 2009-09-11 2011-03-17 Probiodrug Ag Heterocylcic derivatives as inhibitors of glutaminyl cyclase
WO2011107530A2 (en) 2010-03-03 2011-09-09 Probiodrug Ag Novel inhibitors
WO2011110613A1 (en) 2010-03-10 2011-09-15 Probiodrug Ag Heterocyclic inhibitors of glutaminyl cyclase (qc, ec 2.3.2.5)
WO2011131748A2 (en) 2010-04-21 2011-10-27 Probiodrug Ag Novel inhibitors
EP3461819A1 (en) 2017-09-29 2019-04-03 Probiodrug AG Inhibitors of glutaminyl cyclase

Also Published As

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

Similar Documents

Publication Publication Date Title
JPH0331298B2 (en)
US5361371A (en) Microprocessor with reset execution from an arbitrary address
JPH0346850B2 (en)
US6175894B1 (en) Memory device command buffer apparatus and method and memory devices and computer systems using same
JPS62146008A (en) Selecting circuit
JP4888562B2 (en) MEMORY CIRCUIT AND MEMORY CIRCUIT DATA WRITE / READ METHOD
US4387294A (en) Shift register-latch circuit driven by clocks with half cycle phase deviation and usable with a serial alu
KR100242453B1 (en) Semiconductor device
US6301188B1 (en) Method and apparatus for registering free flow information
JPH0337776B2 (en)
EP1239594A2 (en) Semiconductor device with circuitry for efficient information exchange
JPH0520017B2 (en)
JPH1064268A (en) Input buffer circuit of semiconductor memory element
US7184357B2 (en) Decoding circuit for memory device
JP4651206B2 (en) Semiconductor memory device and information processing apparatus
JPS61139990A (en) Serial access memory
JP2634609B2 (en) Data transfer device
US20100290266A1 (en) Command processing circuit and phase change memory device using the same
JP3737144B2 (en) Interrupt request circuit and interrupt request processing method
JP2790858B2 (en) Serial access memory
JPH04241622A (en) Microprocessor
JPS6134168B2 (en)
JP2669028B2 (en) Command register circuit
JPH04123393A (en) Memory device
KR19990040198A (en) I / O device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term