JPH06141052A - Data transfer method and data reception circuit - Google Patents

Data transfer method and data reception circuit

Info

Publication number
JPH06141052A
JPH06141052A JP4290199A JP29019992A JPH06141052A JP H06141052 A JPH06141052 A JP H06141052A JP 4290199 A JP4290199 A JP 4290199A JP 29019992 A JP29019992 A JP 29019992A JP H06141052 A JPH06141052 A JP H06141052A
Authority
JP
Japan
Prior art keywords
data
voltage
circuit
period
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4290199A
Other languages
Japanese (ja)
Inventor
Masao Okumura
昌夫 奥村
Kenichi Komaba
賢一 駒場
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 JP4290199A priority Critical patent/JPH06141052A/en
Publication of JPH06141052A publication Critical patent/JPH06141052A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To provide a data transfer method capable of transferring data by one signal line in the case of transferring the data from an integrated circuit for control to plural integrated circuits. CONSTITUTION:In this data transfer method, the data, transfer clocks and control signals are sent by connecting the integrated circuit 8 for the control and the plural integrated circuits 9, 10 and 11 by the single signal line 12 and combining three different kinds of voltages on the signal line 12 to be supplied. To do that, one of a first voltage Vcc and a second voltage Vcc/2 is supplied on the signal line based on the respective bit data of the data to be transferred in a first period T1, a third voltage (grounded voltage) is supplied to the signal line in a second period T2 and the first period T1 and the second period T2 are alternately provided on the signal line. Thus, the second period T2 is the transfer clock signal of the data outputted in the first period T1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の装置へ必要なデ
ータを与えるためのデータ転送方法、及び、転送された
データを受信するためのデータ受信回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer method for providing necessary data to a plurality of devices and a data receiving circuit for receiving the transferred data.

【0002】[0002]

【従来の技術】近年、複数の半導体集積回路を内蔵した
システムにおいては、個々の集積回路に必要なデータ
を、制御用集積回路から同一の信号線を用いて、個別に
転送するデータ転送方法が採用されている。従来、上述
のシステムは、図4に示される如く構成され、制御用集
積回路1と各集積回路2、3、4、は、データ線5、ク
ロック線6、及び制御信号線7によって接続されてい
る。ここで、各集積回路2、3、4には、各々独自のア
ドレスコードが設定されており、各集積回路2、3、4
は、転送されたデータに付加されたアドレスが設定され
たアドレスと一致したとき、そのデータを取り込んで使
用している。
2. Description of the Related Art In recent years, in a system incorporating a plurality of semiconductor integrated circuits, there is a data transfer method for individually transferring data required for each integrated circuit from a control integrated circuit using the same signal line. Has been adopted. Conventionally, the above-described system is configured as shown in FIG. 4, and the control integrated circuit 1 and each integrated circuit 2, 3, 4 are connected by a data line 5, a clock line 6, and a control signal line 7. There is. Here, an address code unique to each integrated circuit 2, 3, 4 is set, and each integrated circuit 2, 3, 4,
When the address added to the transferred data matches the set address, the data is fetched and used.

【0003】図5は、図4のシステムにおけるデータ転
送のタイミング図を示すものであり、制御用集積回路1
がデータを転送する場合には、制御信号線7にチップイ
ネーブル信号CEをHレベルとして出力した状態で、デ
ータ線5にデータD0〜DnとアドレスA0〜A3をシリア
ルに出力し、このデータ線への出力と同期して転送クロ
ックSCKをクロック線6に出力する。そして、データ
0〜DnとアドレスA 0〜A3の転送が終了した時点で、
制御信号線7に出力されたチップイネーブル信号CEを
Lレベルとする。このチップイネーブル信号CEの立ち
下がりによって各集積回路2、3、4は、ラッチパルス
を作成し、これにより転送されてきたデータが自分宛の
データか否かを判定し、その結果によってデータを取り
込む。
FIG. 5 shows data transfer in the system of FIG.
3 is a timing diagram of transmission, showing an integrated circuit for control 1
When transferring data, the chip signal is sent to the control signal line 7.
With the enable signal CE output as H level,
Data D on data line 50~ DnAnd address A0~ A3The syria
To the transfer clock in synchronization with the output to this data line.
The clock SCK is output to the clock line 6. And the data
D0~ DnAnd address A 0~ A3When the transfer of
The chip enable signal CE output to the control signal line 7
Set to L level. The rise of this chip enable signal CE
Each integrated circuit 2, 3 and 4 is latched by falling.
Created, and the data transferred by this is addressed to yourself.
Judge whether it is data or not, and collect the data according to the result.
Put in.

【0004】このように、データを制御用集積回路1か
ら転送する場合には、データと、データと同期した転送
クロックと、チップイネーブル信号の3種類の信号が必
要になるため、通常は3本の信号線を使用している。図
6は、図5に示されたデータ転送方法を改良したデータ
転送方法を示すタイミング図であり、2本の信号線を使
用してデータを転送するものである。この方法は、クロ
ック線に出力される転送クロックSCKがHレベルにあ
る期間にデータ線に出力される信号をHレベルからLレ
ベルに変化させることによってチップイネーブル信号に
対応するスタート信号と終了信号を作成する方法であ
る。即ち、図6の如く、aの時点がスタート信号とな
り、その後、転送クロックがHレベルにある期間は、デ
ータ線に出力されたデータは変化させず、転送クロック
がLレベルにあるときにデータ線に次のデータを出力
し、データの出力が終了した時には、b点のように転送
クロックをHレベルにした状態でデータ線の信号をHレ
ベルに変化させる。このb点において終了信号が認識さ
れ、転送されたデータのアドレスが自己に設定されたア
ドレスと一致するか判定され、一致した場合には転送さ
れたデータが取り込まれる。
As described above, when data is transferred from the control integrated circuit 1, three types of signals, that is, the data, the transfer clock synchronized with the data, and the chip enable signal are required. The signal line of is used. FIG. 6 is a timing chart showing a data transfer method which is an improvement of the data transfer method shown in FIG. 5, and uses two signal lines to transfer data. This method changes the signal output to the data line from the H level to the L level while the transfer clock SCK output to the clock line is at the H level to generate the start signal and the end signal corresponding to the chip enable signal. How to create. That is, as shown in FIG. 6, during the period when the transfer clock is at the H level and the transfer clock is at the H level, the data output to the data line is not changed, and when the transfer clock is at the L level, the data line is Then, when the output of the data is completed, the signal of the data line is changed to the H level while the transfer clock is set to the H level as in the point b. At the point b, the end signal is recognized, and it is determined whether the address of the transferred data matches the address set for itself. If they match, the transferred data is fetched.

【0005】図6に示されたデータ転送方法によれば、
制御用集積回路と複数の集積回路を接続する信号線は2
本で済むことになる。
According to the data transfer method shown in FIG. 6,
The number of signal lines connecting the control integrated circuit and multiple integrated circuits is 2
You just need a book.

【0006】[0006]

【発明が解決しようとする課題】図4、図5、及び、図
6に示された如く、従来のデータ転送方法によると、デ
ータを送るための信号線は2本または3本必要であり、
制御用集積回路と複数の集積回路を結ぶ配線が多く、ま
た、データ転送のために集積回路の端子数が2個または
3個占有されてしまう不都合があった。
As shown in FIGS. 4, 5 and 6, according to the conventional data transfer method, two or three signal lines for transmitting data are required.
There are many wirings that connect the control integrated circuit and the plurality of integrated circuits, and the number of terminals of the integrated circuit is occupied by two or three for data transfer.

【0007】[0007]

【課題を解決するための手段】本発明は、上述した点に
鑑みて創作されたものであり、制御用集積回路と複数の
集積回路を単一の信号線で接続し、その信号線上に異な
った3種類の電圧を組み合わせて供給することにより、
データ、転送クロック、及び、制御信号を送るデータ転
送方法である。また、第1の期間に転送すべきデータの
各ビットデータに基づいて第1の電圧と第2の電圧の一
方を一本の信号線上に出力し、第2の期間に前記第1の
電圧と第2の電圧より低い(または高い)第3の電圧を
前記信号線上に出力し、前記第1の期間と前記第2の期
間を交互に前記信号線上に設けることにより、前記第2
の期間が前記第1の期間に出力されたデータの転送クロ
ック信号となるデータ転送方法を提供するものである。
更に、第1の電圧と第2の電圧の間に設定された電圧レ
ベルと信号線上の電圧を比較する第1のレベル判定回路
と、前記第2の電圧と第3の電圧の間に設定された電圧
レベルと前記信号線上の電圧を比較する第2のレベル判
定回路と、該第2のレベル判定回路の出力を遅延する遅
延回路と、前記第1のレベル判定回路の出力により所定
状態を保持し、前記遅延回路の出力によって解除される
保持回路と、該保持回路の出力がデータ入力に接続さ
れ、前記第2のレベル判定回路の出力がクロック入力に
接続されたシフトレジスタを備え、第1の期間に転送す
べきデータの各ビットデータに基づいて前記信号線に出
力された前記第1の電圧あるいは第2の電圧に応じたデ
ータが前記保持回路に保持され、前記第1の期間に続く
第2の期間に前記信号線上に出力された前記第3の電圧
によって前記第2のレベル判定回路から出力される信号
で前記保持回路のデータが前記シフトレジスタに取り込
まれるデータ受信回路を提供するものであり、1本の信
号線によってデータ転送を可能とするものである。
The present invention was created in view of the above-mentioned points, and a control integrated circuit and a plurality of integrated circuits are connected by a single signal line, and different signals are provided on the signal line. By combining and supplying three different voltages,
A data transfer method for sending data, a transfer clock, and a control signal. In addition, one of the first voltage and the second voltage is output onto one signal line based on each bit data of the data to be transferred in the first period, and the first voltage and the second voltage are output in the second period. By outputting a third voltage lower (or higher) than the second voltage on the signal line and alternately providing the first period and the second period on the signal line, the second voltage
The data transfer method provides a data transfer clock signal for the data output during the first period.
Further, a first level determination circuit that compares the voltage level set between the first voltage and the second voltage with the voltage on the signal line, and the first level determination circuit set between the second voltage and the third voltage. A second level determination circuit that compares the voltage level on the signal line with the voltage level of the signal line, a delay circuit that delays the output of the second level determination circuit, and an output of the first level determination circuit to maintain a predetermined state. A holding circuit that is released by the output of the delay circuit, and a shift register in which an output of the holding circuit is connected to a data input and an output of the second level determination circuit is connected to a clock input, The data corresponding to the first voltage or the second voltage output to the signal line based on each bit data of the data to be transferred during the period is held in the holding circuit, and continues to the first period. In the second period, A signal receiving circuit in which the data of the holding circuit is taken into the shift register by a signal output from the second level determination circuit according to the third voltage output on the line is provided. The line enables data transfer.

【0008】[0008]

【作用】上述の手段によれば、第1の期間に出力される
第1の電圧と第2の電圧によって、転送するデータの各
ビットの論理値“0”と“1”が表され、また第1の期
間に続く第2の期間に出力される第3の電圧によって転
送クロック信号が表される。この方法によって転送され
たデータを受信する装置では、第1のレベル判定回路に
よって第1の期間に出力された第1の電圧と第2の電圧
が判定され、その判定結果によって論理値が保持回路に
保持され、また、第2のレベル判定回路によって第2の
期間に出力された第3の電圧が判定されると、その出力
信号によって保持回路に保持された論理値がシフトレジ
スタにシフトされる。更に、第2のレベル判定回路の出
力を遅延する遅延回路の出力によって保持回路の保持状
態がリセットされ、次の第1の期間に出力される電圧に
基づく論理値の保持が準備される。このように1本の信
号線によってデータと転送クロックが転送できる。
According to the above-mentioned means, the logical values "0" and "1" of each bit of the data to be transferred are represented by the first voltage and the second voltage output in the first period, and The transfer clock signal is represented by the third voltage output in the second period following the first period. In the device that receives the data transferred by this method, the first level determination circuit determines the first voltage and the second voltage output in the first period, and the logical value is held in the holding circuit according to the determination result. When the third voltage output by the second level determination circuit is determined by the second level determination circuit, the logical value retained in the retention circuit is shifted to the shift register by the output signal. . Furthermore, the holding state of the holding circuit is reset by the output of the delay circuit that delays the output of the second level determination circuit, and the holding of the logical value based on the voltage output during the next first period is prepared. In this way, the data and the transfer clock can be transferred by one signal line.

【0009】[0009]

【実施例】図1は、本発明の実施例を示すブロック図で
あり、制御用集積回路8とこの制御用集積回路8からデ
ータを受け取る複数の集積回路9、10、11が1本の
信号線12によって接続される。制御用集積回路8が複
数の集積回路9、10、11にデータを転送する場合に
は、信号線12上に3種類の異なった電圧を時間的に組
み合わせて供給することによって行う。
1 is a block diagram showing an embodiment of the present invention, in which a control integrated circuit 8 and a plurality of integrated circuits 9, 10 and 11 for receiving data from the control integrated circuit 8 form one signal. Connected by line 12. When the control integrated circuit 8 transfers data to the plurality of integrated circuits 9, 10, 11, it is performed by supplying three different types of voltages on the signal line 12 in a temporally combined manner.

【0010】図3は本発明の実施例を示すデータ転送の
タイミング図であり、図3の(A)を用いて説明する。
本実施例におけるデータ転送は、交互に設けられた第1
の期間T1及び第2の期間T2とデータ転送終了後に設け
られた第3の期間T3から構成される。第1の期間は、
転送すべきデータの各ビットデータを表すものであり、
第1の電圧である電圧VCCと第2の電圧である電圧VCC
/2が各ビットデータにしたがって出力される。即ち、
ビットデータの論理値が“0”の時には電圧V CC/2が
選択出力され、ビットデータの論理値が“1”の時には
電圧VCCが選択出力される。従って、信号線上の電圧が
CCであるかVCC/2であるかを判定することによって
ビットデータを認識できる。第1の期間T1に続く第2
の期間T2は、第3の電圧である接地電圧を出力するこ
とによって、転送クロック表す。即ち、信号線上の電圧
が接地電圧であることを判定して転送クロックを作成す
ることができる。この第2の期間T2によって作成され
た転送クロックは、直前の第1の期間T1に送られたビ
ットデータの同期クロックとなる。データの転送終了後
の第3の期間は、電圧VCCと電圧VCC/2が交互に複数
回出力される。これにより、転送クロックが検出されな
い状態で、論理値“1”が複数検出されると、データの
ラッチ信号として認識される。
FIG. 3 shows an embodiment of the present invention for data transfer.
It is a timing chart, which will be described with reference to FIG.
The data transfer in this embodiment is performed by alternately providing the first data.
Period T1And the second period T2And after data transfer is completed
The third period T3Composed of. The first period is
It represents each bit data of the data to be transferred,
The voltage V that is the first voltageCCAnd the second voltage VCC
/ 2 is output according to each bit data. That is,
When the logical value of the bit data is "0", the voltage V CC/ 2
When the selected bit is output and the logical value of the bit data is "1",
Voltage VCCIs selectively output. Therefore, the voltage on the signal line
VCCOr VCCBy determining if it is / 2
Can recognize bit data. First period T1The second following
Period T2Output the ground voltage, which is the third voltage.
The transfer clock is represented by and. That is, the voltage on the signal line
Determines that is the ground voltage and creates a transfer clock.
You can This second period T2Created by
The transfer clock is the first period T immediately before.1Sent to
It becomes the synchronization clock of the output data. After data transfer is complete
Of the voltage VCCAnd voltage VCC/ 2 alternate
It is output twice. This prevents the transfer clock from being detected.
If multiple logical values “1” are detected in
It is recognized as a latch signal.

【0011】このように、1本の信号線上に、電圧
CC、VCC/2、及び、接地電圧を組み合わせて出力す
ることによって、データと転送クロックとラッチ信号を
送ることが可能となる。図2は、図1に示されたデータ
転送方法によって転送されたデータを受信するためのデ
ータ受信回路である。データが転送される信号線は入力
端子13に接続され、入力端子13は、比較回路14及
び15の入力に接続される。比較回路14は電圧VCC
2とVCCの間に設定された基準電圧E1と入力電圧を比
較する回路であり、入力電圧が基準電圧E1より大きい
場合には電源電圧レベル、即ち、論理“1”を出力し、
小さい場合には接地電圧、即ち、論理“0”を出力す
る。従って、図1に示された第1の期間T1に出力され
る電圧により、その電圧の示す論理値が判定され、デー
タ信号SDが出力される。一方、比較回路15は、電圧
CC/2と接地電圧の間に設定された基準電圧E2と入
力電圧を比較する回路であり、入力電圧が基準電圧より
大きい場合には接地電圧を出力し、小さい場合には電源
電圧を出力する回路である。従って、図3の(A)に示
された第2の期間T2において接地電圧が出力されるこ
とによって、この期間電源電圧となる転送クロックSC
Kが出力される。
As described above, by combining and outputting the voltages V CC , V CC / 2, and the ground voltage on one signal line, it becomes possible to send data, a transfer clock, and a latch signal. FIG. 2 is a data receiving circuit for receiving the data transferred by the data transfer method shown in FIG. The signal line to which the data is transferred is connected to the input terminal 13, and the input terminal 13 is connected to the inputs of the comparison circuits 14 and 15. The comparison circuit 14 outputs the voltage V CC /
2 is a circuit for comparing an input voltage with a reference voltage E 1 set between 2 and V CC. When the input voltage is higher than the reference voltage E 1 , a power supply voltage level, that is, a logic “1” is output,
When it is smaller, the ground voltage, that is, the logic "0" is output. Therefore, the logical value indicated by the voltage is determined by the voltage output in the first period T 1 shown in FIG. 1, and the data signal SD is output. On the other hand, the comparison circuit 15 is a circuit for comparing the input voltage with the reference voltage E 2 set between the voltage V CC / 2 and the ground voltage, and outputs the ground voltage when the input voltage is higher than the reference voltage. A circuit that outputs a power supply voltage when it is small. Therefore, by outputting the ground voltage in the second period T 2 shown in FIG. 3A, the transfer clock SC which becomes the power supply voltage in this period is output.
K is output.

【0012】比較回路14の出力SDは、インバータと
NANDゲートで構成されたRーSフリップフロップ1
6のセット入力Sに接続されると共に、カウンタ17の
カウント入力CPに接続される。このRーSフリップフ
ロップ16は、第1の期間T 1に出力されたビットデー
タを保持するためのもので、後述する転送クロックSC
Kの遅延信号DLYによって、各第1の期間T1の終了
後にリセットされる。また、カウンタ17も遅延信号D
LYによってリセットされるもので、転送クロックSC
Kが無い状態で、データ信号SDを計数することによっ
て、第3の期間T3を判定する。実施例の場合には、カ
ウンタ17の出力Q1を判定出力としているため、計数
値が「2」となった場合に、ラッチ信号LTPが出力さ
れる。一方、比較回路15から出力される転送クロック
SCKは、遅延回路18に印加される。遅延回路18
は、転送クロックSCKを遅延し、遅延されたパルスの
立ち上がりを検出してパルスを遅延信号DLYとしてR
ーSフリップフロップ16及びカウンタ17に出力す
る。また、比較回路15からの転送クロックSCKは、
シフトレジスタ19のクロック入力CPに印加される。
The output SD of the comparison circuit 14 is connected to an inverter.
RS flip-flop 1 composed of NAND gates
6 is connected to the set input S and the counter 17
It is connected to the count input CP. This RS flip flop
Rop 16 is in the first period T 1Bitday output to
For holding the transfer clock SC, which will be described later.
The delay signal DLY of K causes each first period T1End of
Will be reset later. In addition, the counter 17 also delay signal D
Reset by LY, transfer clock SC
By counting the data signal SD without K
And the third period T3To judge. In the case of the example,
Output Q of Unta 171Is used as the judgment output, so counting
When the value becomes "2", the latch signal LTP is output.
Be done. On the other hand, the transfer clock output from the comparison circuit 15
SCK is applied to the delay circuit 18. Delay circuit 18
Delays the transfer clock SCK,
R is detected as rising edge by detecting rising edge
-Output to S flip-flop 16 and counter 17
It The transfer clock SCK from the comparison circuit 15 is
It is applied to the clock input CP of the shift register 19.

【0013】このシフトレジスタ19は、RーSフリッ
プフロップ14に保持されたデータを転送クロックSC
Kに基づいて順次シフトするものであり、データ転送に
よって送られてくるデータとアドレスデータを保持する
のに十分なビット数を有し、アドレスデータが保持され
るビットの出力Q0〜Q3がアドレス一致検出回路20に
印加され、また、データが保持されるビットの出力Q4
〜Qnがラッチ回路21に印加される。アドレス一致検
出回路20は、集積回路毎に設定されたアドレスを有
し、シフトレジスタ19に保持されたアドレスが設定さ
れたアドレスと一致する場合には、ラッチ信号LTPに
基づいてラッチ回路21にラッチクロックLCPを出力
する。具体的には、アドレス一致検出回路15は、ラッ
チ信号LTPが印加されるANDゲートの入力に、シフ
トレジスタ19の出力Q0〜Q3とその反転信号を選択的
に印加することによって個別のアドレスデータが設定さ
れる。ラッチ回路21は、ラッチクロックLCPが供給
されたときシフトレジスタ19のQ4〜Qnに保持された
データをラッチする。
The shift register 19 transfers the data held in the RS flip-flop 14 to the transfer clock SC.
The bits are sequentially shifted based on K, and have a sufficient number of bits to hold the data sent by the data transfer and the address data, and the outputs Q 0 to Q 3 of the bits holding the address data are Output of bit Q 4 applied to address coincidence detection circuit 20 and holding data
˜Q n are applied to the latch circuit 21. The address match detection circuit 20 has an address set for each integrated circuit, and when the address held in the shift register 19 matches the set address, it is latched by the latch circuit 21 based on the latch signal LTP. The clock LCP is output. Specifically, the address match detection circuit 15 selectively applies the outputs Q 0 to Q 3 of the shift register 19 and its inverted signal to the inputs of the AND gates to which the latch signal LTP is applied, thereby individually addressing each address. The data is set. The latch circuit 21 latches the data held in Q 4 to Q n of the shift register 19 when the latch clock LCP is supplied.

【0014】図2に示されたデータ受信回路のデータ受
信動作を図3のタイミング図を用いて説明する。データ
を送る場合に、まず、集積回路に送るべきnビットのデ
ータD0〜Dn-1を先に送り、次に4ビットのアドレスデ
ータA0〜A3を送る。データ受信回路は、電源投入時に
発生する初期リセット信号INTによってRーSフリッ
プフロップ16及びカウンタ17がリセットされた状態
となる。その後、データ転送が開始され最初の第1の期
間T1に出力された電圧が比較回路14によって判定さ
れる。信号線の電圧がVCCであれば、比較回路14の出
力によってRーSフリップフロップ16がセットされ、
CC/2であればRーSフリップフロップ16はリセッ
ト状態のままである。即ち、前者の場合には論理値
“1”が保持され、後者の場合には論理値“0”が保持
される。そして、第2の期間T2において、比較回路1
5からの転送クロックSCKが立ち上がると、RーSフ
リップフロップ16の出力Qがシフトレジスタ19に取
り込まれ、保持される。また、転送クロックSCKの立
ち上がりからやや遅れて発生する遅延信号DLYによっ
てRーSフリップフロップ16とカウンタ17がリセッ
トされる。従って、RーSフリップフロップ16は、次
の第1の期間T1に出力されるデータを保持する状態に
なり、また、カウンタ17は、カウント値が「2」に達
する前にリセットされるので、ラッチ信号LTPが発生
することはない。
The data receiving operation of the data receiving circuit shown in FIG. 2 will be described with reference to the timing chart of FIG. When sending data, first, n-bit data D 0 to D n-1 to be sent to the integrated circuit is sent first, and then 4-bit address data A 0 to A 3 is sent. In the data receiving circuit, the RS flip-flop 16 and the counter 17 are reset by the initial reset signal INT generated when the power is turned on. After that, the data transfer is started, and the voltage output in the first first period T 1 is determined by the comparison circuit 14. When the voltage of the signal line is V CC , the output of the comparison circuit 14 sets the RS flip-flop 16,
If it is V CC / 2, the RS flip-flop 16 remains in the reset state. That is, the logical value "1" is held in the former case, and the logical value "0" is held in the latter case. Then, in the second period T 2 , the comparison circuit 1
When the transfer clock SCK from 5 rises, the output Q of the RS flip-flop 16 is taken into the shift register 19 and held therein. Further, the RS flip-flop 16 and the counter 17 are reset by the delay signal DLY which is generated slightly after the rise of the transfer clock SCK. Therefore, the RS flip-flop 16 is brought into a state of holding the data output in the next first period T 1 , and the counter 17 is reset before the count value reaches “2”. The latch signal LTP is never generated.

【0015】以上の動作を繰り返すことによって、転送
されたデータが順次シフトレジスタ19にシフトされ
る。そして、アドレスデータの転送が終了すると、シフ
トレジスタ19の出力Q0〜Q3には、アドレスデータが
出力される状態になる。アドレスデータの転送終了後
は、第3の期間T3において、信号線をVCC、VCC
2、VCCの順に変化させる。この時、比較回路14から
“1”、“0”、“1”が順に出力され、カウンタ17
の計数値が「2」になるため、ラッチ信号LTPが発生
する。このラッチ信号LTPにより、アドレス一致検出
回路20において設定されたアドレスと転送されたアド
レスが一致した場合には、ラッチパルスLCPが発生
し、このラッチパルスLCPの立ち上がりによって、デ
ータがラッチ回路21に保持され、不一致の場合にはラ
ッチパルスLCPが発生しないので、データはラッチ回
路21に保持されない。
By repeating the above operation, the transferred data is sequentially shifted to the shift register 19. Then, when the transfer of the address data is completed, the address data is output to the outputs Q 0 to Q 3 of the shift register 19. After the transfer of the address data is completed, in the third period T 3 , the signal lines are changed to V CC and V CC /
2. Change in the order of V CC . At this time, the comparison circuit 14 sequentially outputs “1”, “0”, and “1”, and the counter 17
Since the count value of 2 becomes "2", the latch signal LTP is generated. When the address set in the address match detection circuit 20 matches the transferred address by the latch signal LTP, a latch pulse LCP is generated, and data is held in the latch circuit 21 at the rising edge of the latch pulse LCP. However, in the case of a mismatch, the latch pulse LCP is not generated, so that the data is not held in the latch circuit 21.

【0016】以上の動作により、一本の信号線上に出力
されたデータが判別され、アドレスが一致した場合に
は、転送されたデータが保持される。
By the above operation, the data output on one signal line is discriminated, and when the addresses match, the transferred data is held.

【0017】[0017]

【発明の効果】上述の如く、本発明によれば、一本の信
号線上にデータと転送クロックとラッチ信号を、異なっ
た3種類の電圧の組み合わせで送ることが可能となり、
制御用集積回路から複数の集積回路にデータを転送する
ための信号線が一本で済むため、配線が簡単になるとと
もに、データ転送のために占有される集積回路の端子数
が1個で済む利点がある。
As described above, according to the present invention, it is possible to send data, a transfer clock, and a latch signal on one signal line by combining three different kinds of voltages.
Since only one signal line is required to transfer data from the control integrated circuit to the plurality of integrated circuits, the wiring is simple and the number of terminals of the integrated circuit occupied for data transfer is only one. There are advantages.

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

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

【図2】本発明の実施例を示す回路図である。FIG. 2 is a circuit diagram showing an embodiment of the present invention.

【図3】図1及び図2の動作を示すタイミング図であ
る。
FIG. 3 is a timing diagram illustrating the operation of FIGS. 1 and 2.

【図4】従来のデータ転送方法を用いたシステムブロッ
ク図である。
FIG. 4 is a system block diagram using a conventional data transfer method.

【図5】図4に示されたデータ転送方法を示すタイミン
グ図である。
5 is a timing diagram illustrating the data transfer method shown in FIG.

【図6】改良された従来のデータ転送方法を示すタイミ
ング図である。
FIG. 6 is a timing diagram illustrating an improved conventional data transfer method.

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

13 入力端子 14、15 比較回路 16 RーSフリップフロップ 17 カウンタ 18 遅延回路 19 シフトレジスタ 20 アドレス一致検出回路 21 ラッチ回路 13 Input Terminals 14 and 15 Comparison Circuit 16 RS Flip-Flop 17 Counter 18 Delay Circuit 19 Shift Register 20 Address Match Detection Circuit 21 Latch Circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 制御用集積回路から複数の集積回路にデ
ータを転送するデータ転送方法において、前記制御用集
積回路と前記複数の集積回路を単一の信号線で接続し、
前記信号線上に異なった3種類の電圧の組み合わせによ
ってデータ、転送クロック、及び、制御信号を送ること
を特徴とするデータ転送方法。
1. A data transfer method for transferring data from a control integrated circuit to a plurality of integrated circuits, wherein the control integrated circuit and the plurality of integrated circuits are connected by a single signal line,
A data transfer method, wherein data, a transfer clock, and a control signal are sent to the signal line by a combination of three different types of voltages.
【請求項2】 第1の期間に転送すべきデータの各ビッ
トデータに基づいて第1の電圧と第2の電圧の一方を一
本の信号線上に供給し、第2の期間に前記第1の電圧と
第2の電圧より低い(または高い)第3の電圧を前記信
号線上に供給し、前記第1の期間と前記第2の期間を交
互に前記信号線上に設けることにより、前記第2の期間
が前記第1の期間に出力されたデータの転送クロック信
号となることを特徴とするデータ転送方法。
2. One of a first voltage and a second voltage is supplied to one signal line based on each bit data of data to be transferred in the first period, and the first voltage is supplied in the second period. And a third voltage lower (or higher) than the second voltage on the signal line, and by alternately providing the first period and the second period on the signal line, The data transfer method, wherein the period is a transfer clock signal of the data output in the first period.
【請求項3】 前記第1の期間と第2の期間を交互に前
記信号線上に設けることによってデータを転送した後、
前記信号線上に前記第1の電圧と第2の電圧を交互に供
給する第3の期間を設け、該第3の期間が前記データの
ラッチ信号となることを特徴とする請求項2記載のデー
タ転送方法。
3. After transferring data by alternately providing the first period and the second period on the signal line,
3. The data according to claim 2, wherein a third period for alternately supplying the first voltage and the second voltage is provided on the signal line, and the third period serves as a latch signal for the data. Transfer method.
【請求項4】 第1の電圧と第2の電圧の間に設定され
た電圧レベルと信号線上の電圧を比較する第1のレベル
判定回路と、前記第2の電圧と第3の電圧の間に設定さ
れた電圧レベルと前記信号線上の電圧を比較する第2の
レベル判定回路と、該第2のレベル判定回路の出力を遅
延する遅延回路と、前記第1のレベル判定回路の出力に
より所定状態を保持し、前記遅延回路の出力によって解
除される保持回路と、該保持回路の出力がデータ入力に
接続され、前記第2のレベル判定回路の出力がクロック
入力に接続されたシフトレジスタを備え、第1の期間に
転送すべきデータの各ビットデータに基づいて前記信号
線に供給された前記第1の電圧あるいは第2の電圧に応
じたデータが前記保持回路に保持され、前記第1の期間
に続く第2の期間に前記信号線上に供給された前記第3
の電圧によって前記第2のレベル判定回路から出力され
る信号で前記保持回路のデータが前記シフトレジスタに
取り込まれることを特徴とするデータ受信回路。
4. A first level determination circuit for comparing a voltage level set between a first voltage and a second voltage with a voltage on a signal line, and between the second voltage and the third voltage. A second level determination circuit that compares the voltage level set on the signal line with the voltage on the signal line; a delay circuit that delays the output of the second level determination circuit; and a predetermined level determined by the output of the first level determination circuit. A holding circuit that holds the state and is released by the output of the delay circuit, and a shift register in which the output of the holding circuit is connected to a data input and the output of the second level determination circuit is connected to a clock input , The data corresponding to the first voltage or the second voltage supplied to the signal line based on each bit data of the data to be transferred in the first period is held in the holding circuit, In the second period following the period The third signal supplied on the signal line
The data receiving circuit, wherein the data of the holding circuit is taken into the shift register by a signal output from the second level determination circuit according to the voltage of.
【請求項5】 前記第1のレベル判定回路の出力が印加
され、前記遅延回路の出力がリセット入力に印加された
カウンタと、該カウンタが所定数になった時の出力で前
記シフトレジスタのデータを保持するラッチ回路を備
え、前記信号線上に前記第1の電圧と第2の電圧が交互
に所定数出力された時、前記シフトレジスタのデータが
ラッチ回路に保持されることを特徴とする請求項4記載
のデータ受信回路。
5. A counter to which the output of the first level judgment circuit is applied and the output of the delay circuit is applied to a reset input, and the data of the shift register by the output when the counter reaches a predetermined number. A latch circuit for holding the shift register is provided, and when a predetermined number of the first voltage and the second voltage are alternately output to the signal line, the data of the shift register is held in the latch circuit. Item 4. The data receiving circuit according to item 4.
【請求項6】 前記シフトレジスタに取り込まれたデー
タの一部が所定の値であることを検出する検出回路を設
け、該検出回路の検出出力と前記カウンタが所定数にな
った時の出力によって前記ラッチ回路に前記カウンタの
データがラッチされることを特徴とする請求項5記載の
データ受信回路。
6. A detection circuit for detecting that a part of the data taken in the shift register has a predetermined value is provided, and the detection output of the detection circuit and the output when the counter reaches a predetermined number are used. The data receiving circuit according to claim 5, wherein the data of the counter is latched in the latch circuit.
JP4290199A 1992-10-28 1992-10-28 Data transfer method and data reception circuit Pending JPH06141052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4290199A JPH06141052A (en) 1992-10-28 1992-10-28 Data transfer method and data reception circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4290199A JPH06141052A (en) 1992-10-28 1992-10-28 Data transfer method and data reception circuit

Publications (1)

Publication Number Publication Date
JPH06141052A true JPH06141052A (en) 1994-05-20

Family

ID=17753039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4290199A Pending JPH06141052A (en) 1992-10-28 1992-10-28 Data transfer method and data reception circuit

Country Status (1)

Country Link
JP (1) JPH06141052A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100336356C (en) * 2003-08-08 2007-09-05 株式会社东芝 System for controlling multiple apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100336356C (en) * 2003-08-08 2007-09-05 株式会社东芝 System for controlling multiple apparatus

Similar Documents

Publication Publication Date Title
US4901076A (en) Circuit for converting between serial and parallel data streams by high speed addressing
US6247137B1 (en) Delaying clock and data signals to force synchronous operation in digital systems that determine phase relationships between clocks with related frequencies
US7409005B2 (en) High speed data transmitter and transmitting method thereof
US5524112A (en) Interface apparatus for transferring k*n-bit data packets via transmission of K discrete n-bit parallel words and method therefore
JPH0816896B2 (en) Slave type interface circuit
US4860236A (en) Cellular automaton for generating random data
KR940002144B1 (en) Data transfer system
JPS6232511B2 (en)
JP3540844B2 (en) Semiconductor integrated circuit
EP0273642B1 (en) Apparatus for reading data from memory
JPS6239580B2 (en)
US6898722B2 (en) Parallel data transfer method and system of DDR divided data with associated transfer clock signal over three signal lines
US5878281A (en) Synchronous serial data transfer device
US4961159A (en) Cellular automaton for generating random data
JPH06141052A (en) Data transfer method and data reception circuit
GB2290203A (en) Communication circuit for performing data transfer
JP2578144B2 (en) Parallel data port selection method and device
JPH11509658A (en) Extended chip select reset device and method
JP2003255025A (en) Semiconductor integrated circuit
US5414744A (en) Serial bit input controller
JPS61258525A (en) Integrated electronic multiplexer circuit
JP2748069B2 (en) Flip-flop circuit
US6560289B1 (en) Multi-tick transmission line and data storage element
JPS648384B2 (en)
JP3003328B2 (en) Clock signal circuit