JPH02276348A - Transmission system - Google Patents

Transmission system

Info

Publication number
JPH02276348A
JPH02276348A JP21793389A JP21793389A JPH02276348A JP H02276348 A JPH02276348 A JP H02276348A JP 21793389 A JP21793389 A JP 21793389A JP 21793389 A JP21793389 A JP 21793389A JP H02276348 A JPH02276348 A JP H02276348A
Authority
JP
Japan
Prior art keywords
data
output
level
clock
shift register
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
JP21793389A
Other languages
Japanese (ja)
Inventor
Norihiko Iida
飯田 則彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP21793389A priority Critical patent/JPH02276348A/en
Publication of JPH02276348A publication Critical patent/JPH02276348A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To transmit data with one transmission line by subjecting a data transmission synchronizing clock to amplitude modulation in accordance with data to be transmitted. CONSTITUTION:A presettable shift register 1 shifts data by one bit at the time of the falling of a clock pulse 21. If the first shifted-out value is '1', the output of a two-input NAND circuit goes to '0' and level '1' (level Vcc) is outputted to an output terminal 23 when the clock pulse 21 goes to '1'. If data 22 is '0', the output of a two-input NOR circuit 3 goes to '1' and a voltage V.R2/(R 1+R2)=V1 is outputted to the output terminal 23 when the clock pulse 21 goes to '1'. The inputted level of a transmission line 23 is compared with a reference level set between Vcc and L1 by a comparator 7 and is discriminated in a reception circuit, and the discriminated level is taken into a shift register 31 synchronously with the rise of the clock pulse delayed by a delay circuit 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は伝送方式に関し、特に複数の半導体装置間のデ
ータ伝送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a transmission system, and particularly to a data transmission system between a plurality of semiconductor devices.

〔従来の技術〕[Conventional technology]

従来シリアルデータ伝送方式としては3線式。 The conventional serial data transmission method is the 3-wire method.

2線式が一般に使われている。3線式では2つの装置間
のクロック端子同士、シリアル入力端子とシリアル出力
端子、シリアル出力端子とシリアル入力端子をそれぞれ
接続する。そして一方の装置側がマスクとしてクロック
を供給し他方がスレーブとして動作する。クロックのパ
ルス数に従ってデータが1ビツトずつシフトとしてシリ
アル転送が行なわれる。又相互にデータを転送する場合
にはお互いに自分のステータスを示す為のビジー信号を
出力する等の方法を用いて行なう必要があり4線又は5
線を使っている。
Two-wire systems are commonly used. In the three-wire system, the clock terminals of two devices, the serial input terminal and serial output terminal, and the serial output terminal and serial input terminal are connected, respectively. Then, one device side supplies a clock as a mask, and the other device operates as a slave. Serial transfer is performed by shifting data one bit at a time according to the number of clock pulses. In addition, when transferring data to each other, it is necessary to use a method such as outputting a busy signal to indicate the status of each other.
using lines.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながらシリアルデータ転送の為に半導体装置の端
子を専有されることは他の機能を減らすことになり望ま
しくない。又2つの半導体装置を1パツケージに入れる
ようなアプリケーションで互いのチップ潤のボンディン
グをし見かけ上1つのチップと同等になるように構成し
たい場合、なるべくチップ間のワイヤポンディング数が
少ない方が良く、多いと歩留り上の問題があり、コスト
上昇を招くという問題がある。
However, exclusive use of the terminals of a semiconductor device for serial data transfer is undesirable because it reduces other functions. Also, in applications where two semiconductor devices are packaged in one package, if you want to bond the chips to each other so that they appear to be equivalent to one chip, it is better to have as few wire bondings between chips as possible. , there is a problem in terms of yield and increases in cost.

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

本発明による伝送方式は、送信用同期クロックに振幅変
調をかけ1本の線でデータの転送を行なうようにしたこ
とを特徴としている。
The transmission system according to the present invention is characterized in that the transmission synchronization clock is amplitude modulated so that data is transferred over a single line.

〔実施例〕〔Example〕

次に本発明の一実施例について図面を参照して説明する
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図、第2図はその
動作を説明する為のタイムチャートである。図中1は8
ビツトのプリセッタブルシフトレジスタ、2はNAND
回路、3はNOR回路、4.5はインバータを表わす。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a time chart for explaining its operation. 1 in the diagram is 8
Bit presettable shift register, 2 is NAND
3 represents a NOR circuit, and 4.5 represents an inverter.

第1図、第2図は送信の場合での動作を説明する為のも
ので次のように動作する。いま8ビツトのプリセッタブ
ルシフトレジスタlにはrloloolloJがプリセ
ットされており左方向にシフトされるとする。
FIGS. 1 and 2 are for explaining the operation in the case of transmission, and the operation is as follows. It is now assumed that rloloolloJ is preset in the 8-bit presettable shift register l and is shifted to the left.

同データは、図示のように、シリアルデータ線24を介
してプリセットしてもよいが、データバス30によって
8ビット−度にパラレルにプリセットすることもできる
。クロックパルス21の立ち下がりでプリセッタブルシ
フトレジスタ1はデートを1ビツトシフトする。シフト
アウトされた最初の値が1°“であるのでクロ、ツタパ
ルス21がl°゛となったとき2人力NAND回路の出
力が“0″となりPチャンネル型MO8)ランジスタl
Oを導通状態とさせ出力端子23は“1″レベル(Vc
cレベル)が出力される。
The same data may be preset via the serial data line 24 as shown, but it may also be preset in parallel in 8 bits via the data bus 30. At the falling edge of the clock pulse 21, the presettable shift register 1 shifts the date by one bit. Since the first value shifted out is 1°, when the black and vine pulse 21 becomes 1°, the output of the two-man NAND circuit becomes 0, and the P-channel type MO8) transistor l
O is made conductive, and the output terminal 23 is at the “1” level (Vc
c level) is output.

次にシフトアウトされたデータ22が0″のトキニはク
ロックパルス21が“l°゛となったとき2人力NOR
回路3の出力が′1″となりトランスファーゲート12
が導通状態となりV−R2/ (R1+R2)=V、の
電圧が出力端子23に出力される。クロックパルス21
が“0″のときにはnチャンネル型MO3FET 11
が導通状態となり出力端子23は必ず“0″レベル(G
NDレベル)となる。従って伝送線23には第2図に示
す波形が伝送される。
Next, when the shifted out data 22 is 0'', when the clock pulse 21 becomes 1°, the two-man NOR
The output of circuit 3 becomes '1'' and transfer gate 12
becomes conductive, and a voltage of V-R2/(R1+R2)=V is output to the output terminal 23. clock pulse 21
When is “0”, n-channel type MO3FET 11
becomes conductive, and the output terminal 23 is always at the “0” level (G
ND level). Therefore, the waveform shown in FIG. 2 is transmitted to the transmission line 23.

第3図(A)は受信側装置の入力部を示し、同図(B)
はそのタイムチャートである。図中6はデイレ−回路、
7はコンパレータ、31はプリセッタブルシフトレジス
タであり、デイレ−回路6およびコンパレータ7の出力
はレジスタ31のシフトクロック端子φおよびデータ入
力端子SIにそれぞれ接続されている。受信回路では入
力された伝送線23のレベルは、コンパレータ7によっ
て、上記V。0とvlとの間に設定された基準レベルと
比較されて弁別され、弁別されたレベルはデイレ−回路
6によって遅延されたクロックパルスの立上りに同期し
てシフトレジスタ31に取り込まれる。
Figure 3 (A) shows the input section of the receiving side device, and Figure 3 (B)
is the time chart. 6 in the figure is a delay circuit,
7 is a comparator, 31 is a presettable shift register, and the outputs of the delay circuit 6 and comparator 7 are connected to the shift clock terminal φ and data input terminal SI of the register 31, respectively. In the receiving circuit, the level of the input transmission line 23 is determined by the comparator 7 to be the above-mentioned V. It is compared with a reference level set between 0 and vl and discriminated, and the discriminated level is taken into the shift register 31 in synchronization with the rising edge of the clock pulse delayed by the delay circuit 6.

第4図は2つのLSIを接続した時の概念図である。第
4図を使用してシリアルデータ転送の手順を説明する。
FIG. 4 is a conceptual diagram when two LSIs are connected. The procedure for serial data transfer will be explained using FIG.

ここで100はマイクロコンピュータとして示されマス
クとして動作し、200は不揮発性メモリとして示され
スレーブとして動作するとする。不揮発性メモリ200
に値を書き込む場合、まず、マイクロコンピュータ10
0からメモリ200にメモリアドレスと送信/受信のど
ちらを行ないたいかを示すフラグを送信する。
Here, 100 is shown as a microcomputer and operates as a mask, and 200 is shown as a nonvolatile memory and operates as a slave. Non-volatile memory 200
When writing a value to the microcomputer 10, first
0 to the memory 200, a memory address and a flag indicating which transmission/reception is desired are transmitted.

次に、不揮発性メモリ200は送られてきた送信/受信
フラグが送信のときマイクロフンピユータ100から続
けて送られてくるデータをメモリに書き込む動作をし送
信/受信フラグが受信のときには読み出したメモリの値
をマイクロコンピュタ100から送られてくるパルスに
のせる。以上のように予め手順を決めておくことにより
1本の線で双方向のデータ転送を行なうことが可能であ
る。デイレ−回路6の前段又は後段に波形整形回路を挿
入してもよい。
Next, the non-volatile memory 200 writes the data continuously sent from the microcomputer 100 into the memory when the transmitted transmission/reception flag indicates transmission, and reads the data into the memory when the transmission/reception flag indicates reception. The value of is placed on the pulse sent from the microcomputer 100. By determining the procedure in advance as described above, it is possible to perform bidirectional data transfer using a single line. A waveform shaping circuit may be inserted before or after the delay circuit 6.

第5図は伝送波形の変形例を示す。転送するデータは第
2図で示したデータと同一であるが出力レベルを反転さ
せている。
FIG. 5 shows a modified example of the transmission waveform. The data to be transferred is the same as the data shown in FIG. 2, but the output level is inverted.

本発明では振巾変調の為に抵抗分割によりレベルを出し
ているがダイオードの順方向電圧を利用してもよく受信
側に於いてもコンパレータを使用しなくても論理スレッ
ショルドレベルを使用しても差し支えない。
In the present invention, the level is generated by resistor division for amplitude modulation, but the forward voltage of the diode may also be used, and the receiving side may also use a logical threshold level without using a comparator. No problem.

第6図に本発明の他の実施例を示す。第1図と同一構成
部は同一番号で示しその説明を省略する。
FIG. 6 shows another embodiment of the invention. Components that are the same as those in FIG. 1 are designated by the same numbers and their explanations will be omitted.

本実施例では上述したデータ伝送のほかにスレーブ側に
対しリセットをかけるための構成を付加している。すな
わち、トランジスタ10と並列にPchMO8)ランジ
スタ14が接続されており、同トランジスタ14のゲー
トはリセット信号線25に接続されている。この信号線
25はクロック信号線21に対しNANDゲート8およ
びインバータ9を介して制御を行ない、さらにNAND
ゲート6を介してレジスタ1の出力に対しても制御を行
なう。トランジスタ13はトランスフアゲ−)12がオ
ンのときオンとなり、電力消費を低減させている。今、
リセット信号25が“l”のときは、トランジスタ14
はオフし、ゲート6.8は開くので、第1図と同一の動
作となる。リセット信号を“0″とすると、トランスフ
ァゲート12は閉じ、トランジスタ10.14が共にオ
ンとなる。すなわち、リセット信号25が発生すると、
伝送線23は“1°ルベルとなりその電流駆動能がデー
タを出力する場合に比して2倍となる(トランジスタ1
0.14は同じとする)。この電流駆動能力の増大によ
ってスレーブ側にリセットをかけることができる。
In this embodiment, in addition to the data transmission described above, a configuration for resetting the slave side is added. That is, a PchMO8) transistor 14 is connected in parallel with the transistor 10, and the gate of the transistor 14 is connected to the reset signal line 25. This signal line 25 controls the clock signal line 21 via the NAND gate 8 and the inverter 9, and further controls the clock signal line 21 via the NAND gate 8 and inverter 9.
The output of register 1 is also controlled via gate 6. Transistor 13 is turned on when transfer gate 12 is turned on, reducing power consumption. now,
When the reset signal 25 is “L”, the transistor 14
is turned off and gate 6.8 is opened, resulting in the same operation as in FIG. When the reset signal is set to "0", transfer gate 12 is closed and transistors 10 and 14 are both turned on. That is, when the reset signal 25 is generated,
The transmission line 23 becomes "1° level" and its current drive capability is twice that when outputting data (transistor 1
0.14 is the same). This increase in current drive capability allows the slave side to be reset.

第7図にスレーブ側の構成を示す。伝送データの受信の
ための前述したコンパレータ7、デイレ−回路6および
シフトレジスタ31のほかに、PchMO8)ランジス
タ15およびNchMO3)ランジスタ16でなるトラ
ンスファゲートと、CMOSインバータ17.18でな
るラッチ回路19とを有し、ラッチ回路19の出力がリ
セット信号20として用いられている。
FIG. 7 shows the configuration of the slave side. In addition to the above-mentioned comparator 7, delay circuit 6 and shift register 31 for receiving transmission data, a transfer gate consisting of a PchMO8) transistor 15 and an NchMO3) transistor 16, and a latch circuit 19 consisting of a CMOS inverter 17 and 18 are provided. The output of the latch circuit 19 is used as the reset signal 20.

前述したマスター側からのリセット出力のとき、マスタ
ー側のトランジスタ10.14がオンし、さらにスレー
ブ側のトランジスタ15がオンしており、これらの等価
加算抵抗をインバータ17のオン状態にあるNch)ラ
ンジスタの等価抵抗の約1/3以下にすることによって
、ラッチ回路19の状態を反転させることができ、リセ
ット信号20を発生することができる。リセットの解除
は、マスター側のトランジスタ11をオンにし、トラン
ジスタ10.14をオフとすることにより、トランジス
タ11と16の抵抗をインバータ17のPch)ランジ
スタのvhの約l/3の値にしてラッチ回路19の状態
をさらに反転させることによって行なわれる。
At the time of the reset output from the master side described above, the transistors 10 and 14 on the master side are turned on, and the transistor 15 on the slave side is also turned on. The state of the latch circuit 19 can be inverted and the reset signal 20 can be generated by making the resistance approximately 1/3 or less of the equivalent resistance of the latch circuit 19. To release the reset, turn on the transistor 11 on the master side and turn off the transistor 10.14, thereby setting the resistance of the transistors 11 and 16 to a value of about 1/3 of the vh of the Pch transistor of the inverter 17 and latching it. This is done by further inverting the state of circuit 19.

かくして、1本の伝送線によりデータの転送が行なえる
と共にマスク側からスレーブ側にリセットをかけること
ができる。
In this way, data can be transferred using one transmission line, and a reset can be applied from the mask side to the slave side.

本発明のさらに他の実施例として、第8図、第9図にそ
れぞれ本発明の伝送方式を用いたマスク局とスレーブ局
の構成を示す。マスク局(第8図)は、データ処理装置
100、シフトレジスタ101.128、クロックカウ
ンタ111%ANDゲー )102.  106 、 
NAND ケ’−)103゜115、ORゲートl[)
4,107,124゜125、NORゲート114、イ
ンバータ105゜113.118,130、D形フリッ
プフロップ108.110,112、’R3R3リフリ
ップフロップ109抗116,117、トランスファゲ
ート119.PチャンネルMO3)ランジスタ120、
NチャンネルMO8)ランジスタ121、閾値回路12
2,123、遅延回路126および伝送端子129を有
し、図示のように接続されている。伝送端子129は伝
送線300を介してスレーブ局(第9図)に接続されて
いる。スレーブ局は半導体メモリ200を有し、さらに
、伝送端子218、閾値回路201,202、遅延回路
203.208、シフトレジスタ205,217、D形
フリップフロップ203,207.クロックカウンタ2
06、ANDゲート204,209、NANDゲート2
14、NORゲート215、インバータ216、トラン
スファゲート210、およびワンショットパルス発生回
路211を有し、図示のように接続されている。
As still another embodiment of the present invention, FIGS. 8 and 9 respectively show the configurations of a mask station and a slave station using the transmission system of the present invention. The mask station (FIG. 8) includes a data processing device 100, a shift register 101.128, a clock counter 111% (AND game) 102. 106,
NAND ke'-)103°115, OR gate l[)
4,107,124゜125, NOR gate 114, inverter 105゜113, 118, 130, D type flip-flop 108, 110, 112, 'R3R3 flip-flop 109 resistor 116, 117, transfer gate 119. P channel MO3) transistor 120,
N-channel MO8) transistor 121, threshold circuit 12
2, 123, a delay circuit 126, and a transmission terminal 129, which are connected as shown. Transmission terminal 129 is connected to a slave station (FIG. 9) via transmission line 300. The slave station has a semiconductor memory 200, and further includes a transmission terminal 218, threshold circuits 201, 202, delay circuits 203, 208, shift registers 205, 217, D-type flip-flops 203, 207, . clock counter 2
06, AND gate 204, 209, NAND gate 2
14, a NOR gate 215, an inverter 216, a transfer gate 210, and a one-shot pulse generation circuit 211, which are connected as shown.

次に動作を説明する。まず、マスク局からスレーブ局の
メモリ200へのデータ書込みについて第10図を用い
て説明する。アクセスすべきアドレスを“101001
10”とし書き込むべきデータを“01011011”
とする。データ書き込みの場合のリード/ライト情報を
“0”とする。データ処理装置100はアクセスアドレ
ス、リード/ライト情報およびデータの形17ビツトを
シフトレジスタ101にセットする。その後、データ処
理装置100は、シリアルデータ伝送指全信号SIOを
クロックφの立下りに同期して1クロツクの間発生し、
同時に“0″のリード/ライト信号R/Wを発生する。
Next, the operation will be explained. First, data writing from the mask station to the memory 200 of the slave station will be explained using FIG. 10. Set the address to be accessed to “101001”
10” and the data to be written is “01011011”
shall be. Read/write information in the case of data writing is set to "0". Data processing device 100 sets an access address, read/write information, and data type 17 bits in shift register 101 . After that, the data processing device 100 generates the serial data transmission instruction signal SIO for one clock in synchronization with the falling edge of the clock φ,
At the same time, a read/write signal R/W of "0" is generated.

この信号R/Wはフリップフロップ110にラッチされ
る。また、ゲート102,103,104,106,1
14゜115およびインバータ105,113の働きに
よって、SIO信号期間のクロックφのロウレベルの期
間トランスファゲート119が開いて伝送線300は抵
抗116,117で決まる電圧レベルとなる。この電圧
レベルをvlとする。一方、スレーブ局において、閾値
回路201の閾値はV。0とVlとの間に設定され、閾
値回路202の閾値は■1とGNDとの間に設定されて
いるので、フリップフロップ203.ANDゲート20
4によって伝送スタート信号STが発生される。同信号
STはレジスタ205.クロックカウンタ206をリセ
ットする。
This signal R/W is latched into flip-flop 110. Also, gates 102, 103, 104, 106, 1
14.degree. 115 and the inverters 105 and 113, the transfer gate 119 is opened during the low level of the clock .phi. during the SIO signal period, and the transmission line 300 reaches the voltage level determined by the resistors 116 and 117. Let this voltage level be vl. On the other hand, in the slave station, the threshold of the threshold circuit 201 is V. 0 and Vl, and the threshold of the threshold circuit 202 is set between ■1 and GND, so the flip-flop 203. AND gate 20
4, a transmission start signal ST is generated. The signal ST is supplied to the register 205. Reset the clock counter 206.

第8図に戻って、セット状態にあったフリップフロップ
109は、SIO信号によりフリップフロップ108を
介してリセット状態となり、この結果、クロック信号φ
がシフトレジスタ101とクロックカウンタ111に供
給される。シフトレジスタ101は前述の17ビツトデ
ータをクロックφの立上りに同期して1ビツトずつ出力
し、出力された各ビットデータはORゲー)104.A
NDゲート106を介して現われる。前の実施例ですで
に説明したように、インバータ113゜118、ゲー)
114,115、トランスファゲート119、抵抗11
6,117およびトランジスタ120,121は、クロ
ックφがロウレベルのとき伝送線350をGNDレベル
にし、クロックφがハイレベルでデータが1”のとき伝
送線300をV。。レベルにし、クロックφがハイレベ
ルでデータが“0”のとき伝送線300をvルベルにす
る。かくして、第10図の300として示す信号波形が
得られる。クロックカウンタ111は、そのクロック端
子φに9個のクロックが供給されるとその出力CIOを
1クロツクの間だけハイレベルにする。インバータ13
0.ANDゲート131の働きにより、フリップフロッ
プ112は、CIO出力のハイレベル期間におけるクロ
ックφの立上りに同期してフリップフロップ110の出
力、すなわちリード/ライト指定情報を取り込む。本発
明ではR/W=0、つまりデータライト動作であるため
、フリップフロップ112の出力Qは0″のままである
Returning to FIG. 8, the flip-flop 109 which was in the set state is brought into the reset state via the flip-flop 108 by the SIO signal, and as a result, the clock signal φ
is supplied to the shift register 101 and the clock counter 111. The shift register 101 outputs the aforementioned 17-bit data one bit at a time in synchronization with the rising edge of the clock φ, and each output bit data is processed by an OR gate)104. A
Appears via ND gate 106. As already explained in the previous embodiment, the inverter 113°118,
114, 115, transfer gate 119, resistor 11
6, 117 and transistors 120, 121 set the transmission line 350 to the GND level when the clock φ is low level, set the transmission line 300 to the V level when the clock φ is high level and the data is 1'', and set the transmission line 350 to the GND level when the clock φ is high level. When the data is "0" at the level, the transmission line 300 is set to V level. Thus, the signal waveform shown as 300 in FIG. 10 is obtained.The clock counter 111 has nine clocks supplied to its clock terminal φ Then, the output CIO is set to high level for one clock period.Inverter 13
0. Through the action of the AND gate 131, the flip-flop 112 takes in the output of the flip-flop 110, that is, the read/write designation information, in synchronization with the rise of the clock φ during the high level period of the CIO output. In the present invention, since R/W=0, that is, a data write operation, the output Q of the flip-flop 112 remains 0''.

一方、スレーブ局(第9図)では、閾値回路202の出
力は遅延回路203を介してシフトレジスタ205のク
ロック端子φに供給され、閾値回路201の出力はシフ
トレジスタ205のデータシフト入力端子SIに供給さ
れている。したがって、情報“’10100110”が
この順番に1ビツトずつシフトレジスタ205に取り込
まれる。クロックカウンタ206はそのクロック端子φ
に8個のクロックを受けるとその出力C1lを1クロツ
ク間ハイレベルとする。この出力C1lはメモリ200
のアドレスラッチ端子ASTに供給されている。したが
って、シフトレジスタ205から得られる8ビツトの情
報“10100110”はアドレス情報としてメモリ2
00に供給されてラッチされる。スレーブ局から9ビツ
ト目の情報、すなわちリード/ライト指定情報がシフト
レジスタ205の先頭ピットレジスタ部分に取り込まれ
ると、カウンタ206はその出力C21をハイレベルに
する。したがって、リード/ライト指定情報はフリップ
フロップ207に取り込まれる。その説明ではり一ド/
ライト指定情報はII OIIであるので、フリップフ
ロップ207の出力Qは“′o°1のままである。した
がって、ゲート214,215は閉じたままであり、ト
ランジスタ212,213の共通出力点はハイインピー
ダンス状態のま・まとなる。
On the other hand, in the slave station (FIG. 9), the output of the threshold circuit 202 is supplied to the clock terminal φ of the shift register 205 via the delay circuit 203, and the output of the threshold circuit 201 is supplied to the data shift input terminal SI of the shift register 205. Supplied. Therefore, the information "'10100110" is taken into the shift register 205 bit by bit in this order. The clock counter 206 has its clock terminal φ
When it receives eight clocks, its output C1l is kept at a high level for one clock. This output C1l is the memory 200
is supplied to the address latch terminal AST of the address latch terminal AST. Therefore, the 8-bit information "10100110" obtained from the shift register 205 is stored in the memory 2 as address information.
00 and latched. When the 9th bit information from the slave station, that is, the read/write designation information, is taken into the leading pit register portion of the shift register 205, the counter 206 sets its output C21 to a high level. Therefore, the read/write designation information is taken into the flip-flop 207. In that explanation,
Since the write designation information is II OII, the output Q of the flip-flop 207 remains "'o°1. Therefore, the gates 214 and 215 remain closed, and the common output point of the transistors 212 and 213 becomes a high impedance The state of being.

第8図に戻って、マスク局はアクセスアドレスおよびリ
ード/ライト指定情報を伝送した後、引き続き書込むべ
き8ビツトデ一タ゛’01011011°′ヲスレーフ
局に伝送し、同データはスレーブ局ノシフトレジスタ2
05に取り込まれる。スレーブレジスタ205に取り込
まれていたリード/ライト指定情報はシフトレジスタ2
05がらシフトアウトされる。クロックカウンタ206
は、そのりロック端子φに17個のクロックを受けると
、すなわち、書き込むべきデータの全ビットがシフトレ
ジスタ205に揃うと、そのC31出力をノ1イレベル
にする。フリップフロップ207のす出力は“l ++
であるので、ANDゲート209の出力が“1 ++と
なる。この出力“Ill“はトランスフアゲ−)210
を開かせてシフトレジスタ205からの8ビツトデータ
をメモリ200のデータ入出力端子DATAに供給する
と共に、メモリ200のライトイネーブル端子WEに“
1″′のライトイネーブル信号を与える。したがって、
メモリ200は、前述のアドレス情報でアクセスされて
いたアドレスにデータを書き込む。一方、マスク局では
、17個のクロックによってクロックカウンタ111は
そのC20出力をハイレベルにするため、フリップフロ
ップ109がセット状態となり、ORゲー)107を閉
じて、シフトレジスタ101へのクロック供給を停止す
る。かくして、マスク局からスレーブ局へのデータ転送
を終了する。
Returning to FIG. 8, after transmitting the access address and read/write designation information, the mask station transmits the 8-bit data to be written, '01011011°', to the slave station, and the data is transferred to the slave station's shift register 2.
Incorporated into 05. The read/write specification information captured in the slave register 205 is transferred to the shift register 2.
Shifted out from 05. Clock counter 206
When it receives 17 clocks at its lock terminal φ, that is, when all the bits of the data to be written are aligned in the shift register 205, its C31 output goes to the ``1'' level. The output of the flip-flop 207 is “l ++
Therefore, the output of the AND gate 209 becomes "1 ++." This output "Ill" is a transfer gate (210).
The 8-bit data from the shift register 205 is supplied to the data input/output terminal DATA of the memory 200, and the write enable terminal WE of the memory 200 is set to "
Give a write enable signal of 1″′. Therefore,
The memory 200 writes data to the address accessed using the above address information. On the other hand, in the mask station, the clock counter 111 makes its C20 output high level due to the 17 clocks, so the flip-flop 109 is set, the OR gate 107 is closed, and the clock supply to the shift register 101 is stopped. do. Thus, data transfer from the mask station to the slave station is completed.

次ニ、マスク局からスレーブ局ヘアドレスヲ送し、同ア
ドレスからのデータをマスク局が読み込む場合について
第11図を用いて説明する。マスク局のデータ処理装置
100はシフトレジスタ101に8ビツトのアドレス”
01001101”とリード/ライト指定情報゛1“を
書き込み、シリアル伝送指令信号SIOを発生する。同
時に°“1′のR/W信号を発生する。SIO信号によ
って、シフトクロックカウント111.フリップフロッ
プ112がリセットされ、また前述したように、スレー
ブ局(第9図)側では、スタート信号STが発生してシ
フトレジスタ205.カウンタ206がリセットされる
。マスク局からの8ビツトアドレスがシフトレジスタ2
05に取り込まれた時点でカウンタ206はC1l出力
を“°1”にし、その結果、上記アドレスはメモリ20
0にラッチされる。マスク局が9ビツトのリード/ライ
ト情報を伝送した時点で、フリップフロップ112はフ
リップフロップ110の出力で取り込み、そのQ出力は
“l”となる。この結果、ORゲート104が閉じ、そ
れ以降のシフトレジスタ101からの出力を無効とする
。ANDゲート106の出力は“lo”に固定され、ト
ランスフアゲ−)119はオフ状態に保持される。した
がって、これ以降は、トランジスタ120゜121がク
ロックφに同期して交互にオン、オフを繰り返す。フリ
ップフロップ112の百出力は“0″となるので、OR
ゲート124,125が開く。
Next, the case where an address is sent from the mask station to the slave station and the mask station reads data from the same address will be explained using FIG. 11. The data processing device 100 of the mask station stores an 8-bit address in the shift register 101.
01001101" and read/write designation information "1" are written, and a serial transmission command signal SIO is generated. At the same time, an R/W signal of "1" is generated.The shift clock count 111 and flip-flop 112 are reset by the SIO signal, and as mentioned above, the start signal ST is generated on the slave station (Fig. 9) side. Shift register 205 and counter 206 are reset.The 8-bit address from the mask station is transferred to shift register 2.
05, the counter 206 sets the C1l output to "°1", and as a result, the above address is stored in the memory 20.
Latched to 0. When the mask station transmits 9-bit read/write information, the flip-flop 112 receives the output from the flip-flop 110, and its Q output becomes "1". As a result, the OR gate 104 is closed and subsequent outputs from the shift register 101 are invalidated. The output of the AND gate 106 is fixed at "lo", and the transfer gate 119 is kept off. Therefore, from this point on, the transistors 120 and 121 alternately turn on and off in synchronization with the clock φ. Since the output of the flip-flop 112 is "0", OR
Gates 124 and 125 open.

一方、スレーブ局(第9図)では、リード/ライト情報
のシフトレジスタ2°05への取り込みによってカウン
タ206が出力C21を“1′′にし、フリップフロッ
プ207の出力Qは“1“となる。
On the other hand, in the slave station (FIG. 9), the counter 206 sets the output C21 to "1" by taking in the read/write information to the shift register 2°05, and the output Q of the flip-flop 207 becomes "1".

この出力“1′”はメモリ200のリードイネーブル端
子REに供給され、メモリ200はデータ出力状態とな
る。アクセスすべきアドレスはすでに与えられていたの
で、端子REへの1”の供給によって同アドレスからの
データはわずかな遅延の後にデータ端子DATAに現わ
れる。ワンショットパルス発生回路211はフリップフ
ロップ207のQ出力の“1″への変化に同期し、所定
の遅延後にワンショットパルスを発生する。同パルスは
シフトレジスタ217のプリセット端子Pに供給される
ので、メモリ200からの出力データはシフトレジスタ
217に書き込まれる。
This output "1'" is supplied to the read enable terminal RE of the memory 200, and the memory 200 enters the data output state. Since the address to be accessed has already been given, by supplying 1'' to the terminal RE, data from the same address appears on the data terminal DATA after a short delay. A one-shot pulse is generated after a predetermined delay in synchronization with the change of the output to "1".The pulse is supplied to the preset terminal P of the shift register 217, so the output data from the memory 200 is transferred to the shift register 217. written.

また、フリップフロップ207のQ出力゛1′′はゲー
)214,215を開く。
Furthermore, the Q output ``1'' of the flip-flop 207 opens the gates 214 and 215.

マスク局は、クロックφのロウレベルへの変化によるト
ランジスタ121のオンによって、伝送線300をロウ
レベルに変化させる。この変化は、スレーブ局の閾値回
路202で検査され、シフトクロックとしてシフトレジ
スタ217に供給される。メモリ200からレジスタ2
17にセットされたデータを” l O101100°
“とすると、シフトレジスタ217の出力には“1″が
現われる。
The mask station changes the transmission line 300 to low level by turning on the transistor 121 due to the change of the clock φ to low level. This change is checked by the slave station's threshold circuit 202 and supplied to the shift register 217 as a shift clock. Memory 200 to register 2
The data set to 17" l O101100°
", "1" appears at the output of the shift register 217.

これによってトランジスタ212がオンとなる。This turns on transistor 212.

トランジスタ212は伝送線300をV。oし/< /
l/に引き上げようとするが、その電流能力はマスク局
のトランジスタ121のそれよりも小さく設定されてい
るので、伝送線300は実質的にGNDレベルを保持す
る。
Transistor 212 connects transmission line 300 to V. oshi/</
However, since its current capacity is set smaller than that of the transistor 121 of the mask station, the transmission line 300 substantially maintains the GND level.

クロック信号φがロウからハイに変化すると、トランジ
スタ121はオフ、120がオンとなり、スレーブ局の
トランジスタ212はオンであるから、伝送線300は
V。Cレベルとなる。したがって、マスク局の閾値回路
122,123の出力は共に“1゛となり、データ“°
l゛′がシフトレジスタ128に取り込まれる。クロッ
ク信号φが再び“0′に変化することにより、トランジ
スタ121がオン、120がオフとなり、伝送線300
はGNDレベルとなる。したがってスレーブ局のシフト
レジスタ217は0″を出力し、トランジスタ212は
オフ、213がオンに変化する。クロック信号φがハイ
レベルへ変化すると、トランジスタ120はオン、12
1はオフとなる。ここで、トランジスタ120と213
の電流能力比は抵抗116と117の抵抗比に等しくな
るように設定されている。したがって、シフトレジスタ
217からのデータ゛0”の出力により、クロック信号
φがハイレベルの期間は、伝送線300のレベルは実質
的にV、レベルとなる。閾値回路122の閾値はV。0
とvlとの間に、125のそれはvlとGNDとの間に
それぞれ設定されている。したがって、マスク局のシフ
トレジスタ128にデータ“O′°が取り込まれること
になる。以下、同様にして、スレーブ局から残りのデー
タ“101100”が順々に出力され、マスク局のシフ
トレジスタ128に取り込まれる。
When the clock signal φ changes from low to high, the transistor 121 is turned off, the transistor 120 is turned on, and the transistor 212 of the slave station is turned on, so the transmission line 300 is at V. It will be C level. Therefore, the outputs of the threshold circuits 122 and 123 of the mask station are both "1", and the data "°
l'' is taken into the shift register 128. When the clock signal φ changes to “0” again, the transistor 121 is turned on, the transistor 120 is turned off, and the transmission line 300 is turned on.
becomes GND level. Therefore, the shift register 217 of the slave station outputs 0'', the transistor 212 is turned off, and the transistor 213 is turned on. When the clock signal φ changes to high level, the transistor 120 is turned on, and the transistor 213 is turned on.
1 is off. Here, transistors 120 and 213
The current capability ratio of the resistors 116 and 117 is set to be equal to the resistance ratio of the resistors 116 and 117. Therefore, due to the output of data "0" from the shift register 217, the level of the transmission line 300 becomes substantially V, while the clock signal φ is at a high level.The threshold of the threshold circuit 122 is V.0.
and vl, and 125 of them are set between vl and GND, respectively. Therefore, the data "O'°" is taken into the shift register 128 of the mask station.Similarly, the remaining data "101100" is sequentially output from the slave stations and transferred to the shift register 128 of the mask station. It is captured.

クロックカウンタ111は、シフトレジスタ128に8
ビツトデータが揃った時点で出力C20を“1“にし、
データ処理装置100にシフトレジスタ128からのデ
ータ弓き取り要求を発生すると共に、フリップフロップ
109をセット状態にする。一方、スレーブ局では、シ
フトレジスタ217から8ビツトデータをすべて出力し
た時点でカウンタ206は出力C31を“I I+にす
る。フリップフロップ207ので出力は”0″であるた
め、ANDゲート209の出力は゛0パを保持し、メモ
リ200をデータライト状態としない。“1′”の出力
C31は遅延回路208によってクロック信号φのほぼ
半クロックに相当する時間遅延され、フリップフロップ
207をリセット状態とする。したがって、その出力Q
は0′”となり、ゲー)214,215が閉じてトラン
ジスタ212,213の共通出力点はハイインピーダン
ス状態となり、伝送線300はVCCレベルに変化し保
持される。かくして、スレーブ局からのデータ読み出し
が終了する。
The clock counter 111 inputs 8 to the shift register 128.
When the bit data is complete, set output C20 to “1”,
A request to take data from the shift register 128 is issued to the data processing device 100, and the flip-flop 109 is set. On the other hand, in the slave station, when all 8-bit data is output from the shift register 217, the counter 206 sets the output C31 to "I I+".Since the output of the flip-flop 207 is "0", the output of the AND gate 209 is 0 is held, and the memory 200 is not put into the data write state.The output C31 of "1'" is delayed by the delay circuit 208 for a time corresponding to approximately half the clock signal φ, and the flip-flop 207 is set in the reset state. Therefore, its output Q
becomes 0''', gates 214 and 215 are closed, and the common output point of transistors 212 and 213 becomes a high impedance state, and the transmission line 300 changes to VCC level and is held there. finish.

〔発明°の効果〕[Effects of invention]

以上のとおり、データ伝送同期クロックに伝送すべきデ
ータに応じて振幅変調をかけているので、1本の伝送線
によりデータの伝送を行なうことができる。
As described above, since the data transmission synchronization clock is amplitude modulated according to the data to be transmitted, data can be transmitted using one transmission line.

図はデータ伝送波形の変形を示すタイミングチャート、
第6図および第7図はそれぞれ本発明の他の実施例によ
るマスク側およびスレーブ側の構成を示すブロック図、
第8図および第9図は本発明のさらに他の実施例による
マスク側およびスレーブ側の構成を示すブロック図、第
10図および第11図は第8図、第9図の構成における
動作タイミングチャートである。
The figure shows a timing chart showing the deformation of the data transmission waveform.
FIG. 6 and FIG. 7 are block diagrams showing the configurations of the mask side and the slave side, respectively, according to other embodiments of the present invention;
8 and 9 are block diagrams showing configurations of the mask side and slave side according to still another embodiment of the present invention, and FIGS. 10 and 11 are operation timing charts in the configurations of FIGS. 8 and 9. It is.

代理人 弁理士  内 原   晋Agent Patent Attorney Susumu Uchihara

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

第1図は本発明の一実施例によるマスク側の構成を示す
ブロック図、第2図はその動作タイミングチャート、第
3図(A)は不実施例によるスレーブ側の構成を示すブ
ロック図、第3図(B)は本スレーブ側のタイミングチ
ャート、第4図は二つの装置間のデータ伝送概念を示す
ブロック図、第5第 図 第 叱
1 is a block diagram showing the structure of the mask side according to an embodiment of the present invention, FIG. 2 is an operation timing chart thereof, FIG. 3A is a block diagram showing the structure of the slave side according to a non-embodiment, and FIG. Figure 3 (B) is a timing chart of this slave side, Figure 4 is a block diagram showing the concept of data transmission between two devices, Figure 5 is a

Claims (1)

【特許請求の範囲】[Claims] 2つの異なる装置間のデータ伝送において、送信用同期
クロックに送信データに応じて振幅変調をかけ、1本の
線でデータの転送を行なうようにしたことを特徴とする
伝送方式。
A transmission method characterized in that, in data transmission between two different devices, amplitude modulation is applied to a transmission synchronized clock according to transmission data, and data is transferred over a single line.
JP21793389A 1988-08-24 1989-08-23 Transmission system Pending JPH02276348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21793389A JPH02276348A (en) 1988-08-24 1989-08-23 Transmission system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP63-211216 1988-08-24
JP21121688 1988-08-24
JP1-683 1989-01-04
JP21793389A JPH02276348A (en) 1988-08-24 1989-08-23 Transmission system

Publications (1)

Publication Number Publication Date
JPH02276348A true JPH02276348A (en) 1990-11-13

Family

ID=26518502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21793389A Pending JPH02276348A (en) 1988-08-24 1989-08-23 Transmission system

Country Status (1)

Country Link
JP (1) JPH02276348A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010118765A (en) * 2008-11-11 2010-05-27 Toshiba Corp Transmission method, transmitter, receiver, and transmission and reception system
WO2016203529A1 (en) * 2015-06-15 2016-12-22 富士電機株式会社 Data communication system, data communication device and sensor device
JP2020022130A (en) * 2018-08-03 2020-02-06 富士電機株式会社 Slave communication device and master communication device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010118765A (en) * 2008-11-11 2010-05-27 Toshiba Corp Transmission method, transmitter, receiver, and transmission and reception system
WO2016203529A1 (en) * 2015-06-15 2016-12-22 富士電機株式会社 Data communication system, data communication device and sensor device
JPWO2016203529A1 (en) * 2015-06-15 2017-06-29 富士電機株式会社 Data communication system, data communication apparatus, and sensor apparatus
US10200186B2 (en) 2015-06-15 2019-02-05 Fuji Electric Co., Ltd. Data communication system, data communication apparatus, and sensor apparatus
US10644866B2 (en) 2015-06-15 2020-05-05 Fuji Electric Co., Ltd. Data communication system, data communication apparatus, and sensor apparatus
US10841071B2 (en) 2015-06-15 2020-11-17 Fuji Electric Co., Ltd. Data communication system, data communication apparatus, and sensor apparatus
JP2020022130A (en) * 2018-08-03 2020-02-06 富士電機株式会社 Slave communication device and master communication device
US12007825B2 (en) 2018-08-03 2024-06-11 Fuji Electric Co., Ltd. Slave communication apparatus and master communication apparatus

Similar Documents

Publication Publication Date Title
US6965530B2 (en) Semiconductor memory device and semiconductor memory device control method
JPS63288538A (en) Communication equipment
US6178206B1 (en) Method and apparatus for source synchronous data transfer
JP2005025765A (en) Memory system having data inversion, and data inversion method for memory system
US5522048A (en) Low-power area-efficient and robust asynchronous-to-synchronous interface
KR100238869B1 (en) Semiconductor memory device for providing bust mode control signal
US6892269B2 (en) Nonvolatile memory device with double serial/parallel communication interface
JPH0642313B2 (en) Semiconductor memory
JPH02276348A (en) Transmission system
JPS6055599A (en) Dual master shift register bit and method of forming same
US7515157B2 (en) Data transmission device, data transfer system and method
JPH1173775A (en) Output circuit of semiconductor memory device
US4920511A (en) Data port selection
KR20020074993A (en) Synchronous sram device with late write function
JPS61166647A (en) Accessing for reading out information microprocessor and addressable memory
JPS61258525A (en) Integrated electronic multiplexer circuit
US5950233A (en) Interleaved burst address counter with reduced delay between rising clock edge and burst address transfer to memory
US6990596B2 (en) Memory device outputting read data in a time starting from a rising edge of an external clock that is shorter than that of known devices
US5251234A (en) Data transmission system
US5237532A (en) Serially-accessed type memory device for providing an interleaved data read operation
KR20010006850A (en) Improved skew pointer generation
JPS648384B2 (en)
US5539887A (en) Input buffer circuit for a microprocessor which prevents improper data input
US5970014A (en) Semiconductor memory device having two or more memory blocks
EP1473638A2 (en) Terminal management bus