JP3133732B2 - Multi-slave bus line system and serial transfer method - Google Patents

Multi-slave bus line system and serial transfer method

Info

Publication number
JP3133732B2
JP3133732B2 JP10349321A JP34932198A JP3133732B2 JP 3133732 B2 JP3133732 B2 JP 3133732B2 JP 10349321 A JP10349321 A JP 10349321A JP 34932198 A JP34932198 A JP 34932198A JP 3133732 B2 JP3133732 B2 JP 3133732B2
Authority
JP
Japan
Prior art keywords
bus
slave
address
master
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP10349321A
Other languages
Japanese (ja)
Other versions
JP2000165421A (en
Inventor
禎文 渡辺
Original Assignee
甲府日本電気株式会社
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 甲府日本電気株式会社 filed Critical 甲府日本電気株式会社
Priority to JP10349321A priority Critical patent/JP3133732B2/en
Publication of JP2000165421A publication Critical patent/JP2000165421A/en
Application granted granted Critical
Publication of JP3133732B2 publication Critical patent/JP3133732B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Memory System (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、1個以上のマスタ
デバイスによって複数のスレーブデバイスを制御するバ
スラインシステムに関し、特に、情報処理装置における
電圧や温度、カバーの開閉もしくはFANの回転数等の
状態監視を行うマネージメントシステム、LED(発光
ダイオード)、LCD(液晶ディスプレイ)等による状
態表示を行うマネージメントシステム、または装置もし
くはモジュール単位の版数管理を行うマネージメントシ
ステムに好適な、マルチスレーブバスラインシステム及
びシリアル転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus line system in which a plurality of slave devices are controlled by one or more master devices. A multi-slave bus line system suitable for a management system for monitoring status, a management system for displaying status by an LED (light emitting diode), an LCD (liquid crystal display), or the like, or a management system for managing version numbers for each device or module; Related to serial transfer method.

【0002】[0002]

【従来の技術】近年、情報処理装置における電圧や温
度、カバーの開閉もしくはFANの回転数等の状態監視
を行うマネージメントシステム、LED,LCD等によ
る状態表示を行うマネージメントシステム、または装置
もしくはモジュール単位の版数管理を行うマネージメン
トシステムに好適な、バスラインシステムの開発が盛ん
に進められている。
2. Description of the Related Art In recent years, a management system for monitoring the state of a data processing apparatus such as voltage and temperature, opening and closing of a cover or the number of rotations of a fan, a management system for displaying a state by an LED, an LCD, or the like, or a device or module unit. The development of a bus line system suitable for a management system for managing version numbers has been actively pursued.

【0003】このような、情報処理装置のマネージメン
トシステムに使用されるシリアル転送バスには、一般的
に、シリアルデータライン(SDA)とシリアルクロッ
クライン(SCL)の2本のラインからなるI2Cバス
がよく用いられる。通常、1本のI2Cバスに、マネー
ジメントシステムの制御を行うマスタデバイスと、状態
監視のためのセンサ、状態表示を行うためのLED,L
CDコントローラ、版数管理を行うためのメモリ等の複
数のスレーブデバイスが接続される。
A serial transfer bus used for such a management system of an information processing apparatus generally includes an I2C bus composed of two lines, a serial data line (SDA) and a serial clock line (SCL). Often used. Normally, one I2C bus has a master device for controlling the management system, a sensor for monitoring the status, and an LED and L for displaying the status.
A plurality of slave devices such as a CD controller and a memory for managing version numbers are connected.

【0004】しかし、接続デバイスの数が増えるに従っ
てバスの浮遊容量が増加し信号レベルの維持が困難にな
るため、接続デバイス数に制限が生じる。また、一般的
なスレーブデバイスは、選択可能なスレーブアドレスの
数に制限があり、その数以上の同種のスレーブデバイス
を同一バス上に接続することができない。
However, as the number of connected devices increases, the stray capacitance of the bus increases and it becomes difficult to maintain the signal level, so that the number of connected devices is limited. Further, a general slave device is limited in the number of selectable slave addresses, and it is not possible to connect more than the same type of slave devices on the same bus.

【0005】一方、大規模な情報処理装置では、規模の
拡大に伴い、必要とするスレーブデバイスの数も増え、
伝送線路の特性の限界、またはスレーブアドレスの数の
制限を越えて、スレーブデバイスを接続することが要求
されている。
On the other hand, in a large-scale information processing apparatus, the number of required slave devices increases with the increase in the scale.
It is required to connect slave devices beyond the limit of the characteristics of the transmission line or the number of slave addresses.

【0006】この要請に応える従来技術としては、例え
ば、特開平8−84154に開示されているようなもの
がある。図5は、従来技術のマルチスレーブバスライン
システムを説明するための機能ブロック図である。従来
技術は、図5に示すように、伝送線路の分割、またはス
レーブアドレスの重複を回避するよう、複数本のI2C
バスに分散してスレーブデバイスを接続し、マスタデバ
イス24が接続されるI2Cバス(以下、マスタバス)
と、スレーブデバイスが接続される複数本のI2Cバス
(以下、スレーブバス)とを、スイッチにより切り替
え、選択接続して、データ転送を実現するバスラインシ
ステム(以下、マルチスレーブバスラインシステム)で
ある。
[0006] As a prior art meeting this demand, there is, for example, one disclosed in Japanese Patent Application Laid-Open No. 8-84154. FIG. 5 is a functional block diagram for explaining a conventional multi-slave bus line system. In the prior art, as shown in FIG. 5, a plurality of I2Cs are provided so as to avoid division of a transmission line or duplication of a slave address.
I2C bus (hereinafter referred to as a master bus) to which slave devices are connected in a distributed manner and to which a master device 24 is connected
And a plurality of I2C buses (hereinafter, slave buses) to which slave devices are connected by a switch, and selectively connect them to realize a data transfer (hereinafter, multi-slave bus line system). .

【0007】従来技術に開示された手法は、図5に示す
ように、スレーブバス39,40,41,42を切り替
えるためのスイッチ26,27,28,29と、データ
転送先に対応して前記のスイッチをONまたはOFFす
るためのスイッチ制御回路25と、前記のスイッチ制御
回路25に対してデータの転送先を送出する機能を有し
たI2Cバスマスタインターフェース23を持つマスタ
デバイス24を備えている。
The technique disclosed in the prior art, as shown in FIG. 5, employs switches 26, 27, 28, and 29 for switching between slave buses 39, 40, 41, and 42, and the above-described switches corresponding to data transfer destinations. And a master device 24 having an I2C bus master interface 23 having a function of transmitting a data transfer destination to the switch control circuit 25.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来技
術では、例えば、マスタデバイス24からスレーブデバ
イス30に対してデータ転送を行う場合、マスタデバイ
ス24がマスタバス38に対してデータを送受信する前
に、あらかじめ、送受信先のスレーブバス39と、マス
タバス38とが接続されるよう、切り替えスイッチ26
をONにし、切り替えスイッチ27,28,29をOF
Fにする必要がある。そのため、マスタデバイス24に
は、I2Cバスに対してデータを送受信する機能に加え
て、スイッチ制御回路25に対してデータの送受信先の
スイッチ制御機能も併せて有するI2Cバスマスタイン
ターフェース23を設ける必要がある。その結果、バス
ラインシステムの実現のために一般的なマスタデバイス
24を利用することはできず、また、1本のI2Cバス
によって実現されるバスラインシステムとの、ソフトウ
ェアの互換性もなくなるという問題点があった。また、
マスタデバイスが複数接続されるシステムに対処してい
ないという問題点もあった。
However, in the prior art, for example, when data transfer is performed from the master device 24 to the slave device 30, before the master device 24 transmits / receives data to / from the master bus 38, The changeover switch 26 is connected so that the slave bus 39 of the transmission / reception destination and the master bus 38 are connected.
To ON, and changeover switches 27, 28, 29 to OF
F is required. Therefore, it is necessary to provide the master device 24 with the I2C bus master interface 23 having the function of transmitting and receiving data to and from the I2C bus and the function of controlling the switch of the data transmission / reception destination to the switch control circuit 25. . As a result, a general master device 24 cannot be used to realize a bus line system, and software compatibility with a bus line system realized by one I2C bus is also lost. There was a point. Also,
There is also a problem that the system does not cope with a system in which a plurality of master devices are connected.

【0009】切り替えスイッチ26,27,28,29
のONまたはOFFは、I2Cバス38,39,40,
41,42がバスフリーの状態で行われなければならな
いため、マスタデバイス24は、データ転送前のバスフ
リーの状態からI2Cバス38、39,40,41,4
2を占有しなければならない。その結果、マスタデバイ
ス24を2個以上接続する場合、I2Cバスの通信調整
手順を機能させるため、各々のマスタデバイス24が持
つI2Cバスマスタインターフェース23に、各マスタ
デバイス24間の調停機能を別途設ける必要があり、非
常に複雑な回路が必要となるという問題点もあった。
Changeover switches 26, 27, 28, 29
ON or OFF of the I2C bus 38, 39, 40,
Since the operations must be performed in a bus-free state, the master device 24 shifts the I2C bus 38, 39, 40, 41, 4 from the bus-free state before data transfer.
2 must be occupied. As a result, when two or more master devices 24 are connected, it is necessary to separately provide an arbitration function between the master devices 24 in the I2C bus master interface 23 of each master device 24 so that the communication adjustment procedure of the I2C bus functions. There is also a problem that a very complicated circuit is required.

【0010】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、現在使用されてい
る一般的なI2Cバスマスタデバイスとスレーブデバイ
スを利用しつつ、ソフトウェアの互換性を維持しなが
ら、より多くのスレーブデバイスを接続可能としたマル
チスレーブバスラインシステム及びシリアル転送方法を
提供する点にある。
[0010] The present invention has been made in view of such a problem, and an object of the present invention is to use a currently used general I2C bus master device and a slave device while improving software compatibility. It is another object of the present invention to provide a multi-slave bus line system and a serial transfer method that can connect more slave devices while maintaining the same.

【0011】[0011]

【課題を解決するための手段】この発明の請求項1に記
載の発明の要旨は、少なくとも1つ以上のマスタデバイ
スによって複数のスレーブデバイスを制御するマルチス
レーブバスラインシステムであって、データの送受信を
制御するバスマスタインターフェースを有する少なくと
も1つ以上の前記マスタデバイスと、少なくとも1つ以
上の前記スレーブデバイスと、前記スレーブデバイスの
論理アドレス及び実アドレス、当該実アドレスに対応す
るスレーブバスのバスナンバーが少なくとも記述されて
いるアドレスデコードテーブルと、前記アドレスデコー
ドテーブルを参照してスレーブアドレスのデコード処理
を行うアドレスデコーダと、前記マスタデバイスから送
信される論理アドレスを、前記アドレスデコードテーブ
ルを参照し実アドレスに変換して前記スレーブデバイス
に送信するとともに、前記マスタデバイスと前記スレー
ブデバイスとの間でのデータ転送を制御するバス切り替
えシステムとを有前記バス切り替えシステムは、前
記スレーブアドレスのデコードするビット幅を所定幅に
限定し、前記マスタデバイスからマスタバス上に送信さ
れた、データの送受信の対象となる前記スレーブデバイ
スの論理アドレスを、前記アドレスデコードテーブルを
参照してデコードし、前記スレーブデバイスが接続され
たスレーブバスと前記マスタバスとが接続されるよう、
スイッチ制御を行い、前記スレーブデバイスの実アドレ
スに変換して前記スレーブバス上にスレーブアドレスを
送信し、データの送受信を行うという動作を実行する
とを特徴とするマルチスレーブバスラインシステムに存
する。また、この発明の請求項2に記載の発明の要旨
は、少なくとも1つ以上のマスタデバイスによって複数
のスレーブデバイスを制御するマルチスレーブバスライ
ンシステムであって、少なくとも1つ以上の前記マスタ
デバイスが接続されるマスタバスと、少なくとも1つ以
上の前記スレーブデバイスが接続される複数本のスレー
ブバスと、前記マスタバスと1個以上の複数本のスレー
ブバスとの接続をONまたはOFFする少なくとも1つ
以上のスイッチと、前記スレーブバスを切り替えるため
のスイッチをONまたはOFFするスイッチ制御回路
と、前記スレーブデバイスの論理アドレス及び実アドレ
ス、当該実アドレスに対応するスレー ブバスのバスナン
バーが少なくとも記述されているアドレスデコードテー
ブルと、前記アドレスデコードテーブルを参照してスレ
ーブアドレスのデコード処理を行うアドレスデコーダ
と、前記マスタデバイスから送信される論理アドレスに
基づいて前記アドレスデコードテーブルを参照し前記ア
ドレスデコーダから前記スイッチ制御回路にデータを供
給して前記スイッチを制御し、前記スレーブデバイスが
接続される複数本のバスを選択して切り替えるバス切り
替えシステムとを有前記バス切り替えシステムは、
前記スレーブアドレスのデコードするビット幅を所定幅
に限定し、前記マスタデバイスから前記マスタバス上に
送信された、データの送受信の対象となる前記スレーブ
デバイスの論理アドレスを、前記アドレスデコードテー
ブルを参照してデコードし、前記スレーブデバイスが接
続された前記スレーブバスと前記マスタバスとが接続さ
れるよう、スイッチ制御を行い、前記スレーブデバイス
の実アドレスに変換して前記スレーブバス上にスレーブ
アドレスを送信し、データの送受信を行うという動作を
実行することを特徴とするマルチスレーブバスラインシ
ステムに存する。また、この発明の請求項に記載の発
明の要旨は、前記バス切り替えシステムは、前記スイッ
チ制御回路に供給するデータを、前記スレーブバス上に
設けた前記アドレスデコーダから供給することを特徴と
する請求項1または2に記載のマルチスレーブバスライ
ンシステムに存する。また、この発明の請求項に記載
の発明の要旨は、前記バス切り替えシステムは、前記マ
スタデバイスから前記マスタバス上に送信された、デー
タの送受信の対象となる前記スレーブデバイスの論理ア
ドレスを、前記アドレスデコードテーブルを参照してデ
コードし、前記スレーブデバイスが接続されたスレーブ
バスと前記マスタバスとが接続されるように前記スイッ
チの制御を行い、前記スレーブデバイスの実アドレスに
変換して前記スレーブバス上にスレーブアドレスを送信
し、データの送受信を行うことを特徴とする請求項1乃
のいずれか一項に記載のマルチスレーブバスライン
システムに存する。また、この発明の請求項に記載の
発明の要旨は、前記アドレスデコードテーブルを参照
し、前記マスタデバイスから送出される前記スレーブデ
バイスの論理アドレスに基づいて、接続する前記スレー
ブバスのバス番号及び/または前記スレーブデバイスの
実アドレスを生成するアドレスデコーダを有することを
特徴とする請求項1または2に記載のマルチスレーブバ
スラインシステムに存する。また、この発明の請求項
に記載の発明の要旨は、前記アドレスデコーダは、前記
バス番号を前記スイッチ制御回路に送信し、前記スイッ
チをONまたはOFFすることを特徴とする請求項
記載のマルチスレーブバスラインシステムに存する。ま
た、この発明の請求項に記載の発明の要旨は、データ
転送の対象となる前記スレーブデバイスが接続される前
記スレーブバスと前記マスタバスとが接続されたとき、
前記アドレスデコーダが当該マスタバスに対して実アド
レスを送信し、前記マスタデバイスと前記スレーブデバ
イスとがデータの送受信を行うことを特徴とする請求項
に記載のマルチスレーブバスラインシステムに存す
る。また、この発明の請求項に記載の発明の要旨は、
データの送受信を制御するバスマスタインターフェース
を有する少なくとも1つ以上のマスタデバイスと、少な
くとも1つ以上のスレーブデバイスと、前記スレーブデ
バイスの論理アドレス及び実アドレス、当該実アドレス
に対応するスレーブバスのバスナンバーが少なくとも記
述されているアドレスデコードテーブルと、前記アドレ
スデコードテーブルを参照してスレーブアドレスのデコ
ード処理を行うアドレスデコーダとを備えたマルチスレ
ーブバスラインシステムに対して、前記マスタデバイス
と前記スレーブデバイスとの間のデータ転送を制御する
工程を備えたシリアル転送方法であって、前記マスタデ
バイスから送信される論理アドレスを、前記アドレスデ
コードテーブルを参照し実アドレスに変換して前記スレ
ーブデバイスに送信するとともに、前記マスタデバイス
と前記スレーブデバイスとの間でのデータ転送を制御す
るバス切り替え工程を有し、前記バス切り替え工程は、
前記スレーブアドレスのデコードするビット幅を所定幅
に限定する工程と、前記マスタデバイスからマスタバス
上に送信された、データの送受信の対象となる前記スレ
ーブデバイスの論理アドレスを、前記アドレスデコード
テーブルを参照してデコードし、前記スレーブデバイス
が接続されたスレーブバスと前記マスタバスとが接続さ
れるよう、スイッチ制御を行い、前記スレーブデバイス
の実アドレスに変換して前記スレーブバス上にスレーブ
アドレスを送信し、データの送受信を行うという動作
実行する工程を有することを特徴とするシリアル転送方
法に存する。また、この発明の請求項に記載の発明の
要旨は、少なくとも1つ以上の前記マスタデバイスが接
続されるマスタバスと、少なくとも1つ以上の前記スレ
ーブデバイスが接続される複数本のスレーブバスと、前
記マスタバスと1個以上の複数本のスレーブバスとの接
続をONまたはOFFする少なくとも1つ以上のスイッ
チと、前記スレーブバスを切り替えるためのスイッチを
ONまたはOFFするスイッチ制御回路と、前記スレー
ブデバイスの論理アドレス及び実アドレス、当該実アド
レスに対応するスレーブバスのバスナンバーが少なくと
も記述されているアドレスデコードテーブルと、前記ア
ドレスデコードテーブルを参照してスレーブアドレスの
デコード処理を行うアドレスデコーダとを備えたマルチ
スレーブバスラインシステムに対して、前記マスタデバ
イスと前記スレーブデバイスとの間のデータ転送を制御
する工程を備えたシリアル転送方法であって、前記マス
タデバイスから送信される論理アドレスに基づいて前記
アドレスデコードテーブルを参照し前記アドレスデコー
ダから前記スイッチ制御回路にデータを供給して前記ス
イッチを制御し、前記スレーブデバイスが接続される複
数本のバスを選択して切り替えるバス切り替え工程を有
し、前記バス切り替え工程は、前記スレーブアドレスの
デコードするビット幅を所定幅に限定する工程と、前記
マスタデバイスから前記マスタバス上に送信された、デ
ータの送受信の対象となる前記スレーブデバイスの論理
アドレスを、前記アドレスデコードテーブルを参照して
デコードし、前記スレーブデバイスが接続されたスレー
ブバスと前記マスタバスとが接続されるよう、スイッチ
制御を行い、前記スレーブデバイスの実アドレスに変換
して前記スレーブバス上にスレーブアドレスを送信し、
データの送受信を行うという動作を実行する工程を有す
ことを特徴とするシリアル転送方法に存する。また、
この発明の請求項10に記載の発明の要旨は、前記バス
切り替え工程は、前記スイッチ制御回路に供給するデー
タを、前記スレーブバス上に設けた前記アドレスデコー
ダから供給する工程を有することを特徴とする請求項
または9に記載のシリアル転送方法に存する。また、こ
の発明の請求項11に記載の発明の要旨は、前記バス切
り替え工程は、前記マスタデバイスから前記マスタバス
上に送信された、データの送受信の対象となる前記スレ
ーブデバイスの論理アドレスを、前記アドレスデコード
テーブルを参照してデコードする工程と、前記スレーブ
デバイスが接続されたスレーブバスと前記マスタバスと
が接続されるように前記スイッチの制御を行う工程と、
前記スレーブデバイスの実アドレスに変換して前記スレ
ーブバス上にスレーブアドレスを送信し、データの送受
信を行う工程とを有することを特徴とする請求項乃至
10のいずれか一項に記載のシリアル転送方法に存す
る。また、この発明の請求項12に記載の発明の要旨
は、前記アドレスデコードテーブルを参照し、前記マス
タデバイスから送出される前記スレーブデバイスの論理
アドレスに基づいて、接続する前記スレーブバスのバス
番号及び/または前記スレーブデバイスの実アドレスを
生成するバスアドレスデコーダ工程を有することを特徴
とする請求項またはに記載のシリアル転送方法に存
する。また、この発明の請求項13に記載の発明の要旨
は、前記バスアドレスデコーダ工程は、前記バス番号を
前記スイッチ制御回路に送信し、前記スイッチをONま
たはOFFする工程を有することを特徴とする請求項
に記載のシリアル転送方法に存する。
The gist of the present invention is to provide a multi-slave bus line system in which a plurality of slave devices are controlled by at least one master device. At least one or more of the master devices having a bus master interface for controlling the slave device, at least one or more of the slave devices,
Logical address and real address, corresponding to the real address
At least the bus number of the slave bus
An address decode table, an address decoder that performs a slave address decoding process by referring to the address decode table, and a logical address transmitted from the master device is converted to a real address by referring to the address decode table. transmits to the slave device, possess a bus switching system for controlling data transfer between said master device and said slave device, said bus switching system, before
Set the decoding bit width of the slave address to the specified width.
Limited and transmitted on the master bus from the master device
Said slave device to be transmitted and received
Address logical table, and the address decode table.
Decode with reference to the slave device is connected
Slave bus and the master bus are connected,
Switch control and the actual address of the slave device
The slave address on the slave bus.
Transmitted, it consists in a multi-slave bus line system comprising a call <br/> to perform operations that send and receive data. According to a second aspect of the present invention, there is provided a multi-slave bus line system for controlling a plurality of slave devices by at least one or more master devices, wherein at least one or more of the master devices are connected. A master bus, a plurality of slave buses to which at least one or more of the slave devices are connected, and at least one switch for turning on or off a connection between the master bus and one or more of the plurality of slave buses A switch control circuit for turning on or off a switch for switching the slave bus; and a logical address and a real address of the slave device.
Vinegar, Basunan of slave Bubasu corresponding to the real address
An address decode table in which a bar is described at least , an address decoder for performing a slave address decoding process by referring to the address decode table, and referring to the address decode table based on a logical address transmitted from the master device. wherein by supplying data to the switch control circuit from the address decoder controls said switch, possess a bus switching system for switching by selecting a plurality of buses which the slave device is connected, the bus switching system,
The bit width for decoding the slave address is a predetermined width.
Limited from the master device to the master bus
The slave that is transmitted and that is the object of data transmission / reception
The logical address of the device is stored in the address decode table.
And decodes it with reference to the slave device.
The connected slave bus and the master bus are connected.
Switch control so that the slave device
To the real address of the slave bus
The operation of sending an address and sending and receiving data
The present invention resides in a multi-slave bus line system. The gist of the invention described in claim 3 of the present invention is that the bus switching system supplies data to be supplied to the switch control circuit from the address decoder provided on the slave bus. A multi-slave bus line system according to claim 1 or 2 . Further, the gist of the invention according to claim 4 of the present invention is that the bus switching system transmits the logical address of the slave device, which is transmitted and received from the master device on the master bus, to which data is to be transmitted and received. Decoding is performed with reference to an address decode table, the switch is controlled so that the slave bus to which the slave device is connected and the master bus are connected, and the switch is converted into a real address of the slave device and is converted on the slave bus. The multi-slave bus line system according to any one of claims 1 to 3 , wherein a slave address is transmitted to said multi-slave bus line system. The gist of the invention described in claim 5 of the present invention is that the bus number of the slave bus to be connected and the bus number of the slave bus to be connected are referred to based on the logical address of the slave device transmitted from the master device with reference to the address decode table. 3. The multi-slave bus line system according to claim 1, further comprising an address decoder for generating a real address of the slave device. Further, claim 6 of the present invention
The gist of the present invention resides in the multi-slave bus line system according to claim 5 , wherein the address decoder transmits the bus number to the switch control circuit and turns the switch ON or OFF. . The gist of the invention described in claim 7 of the present invention is that when the slave bus to which the slave device to be transferred is connected and the master bus are connected,
The address decoder transmits a real address to the master bus, and the master device and the slave device transmit and receive data.
5 is a multi-slave bus line system. The gist of the invention described in claim 8 of the present invention is as follows.
And at least one master device having a bus master interface for controlling transmission and reception of data, and at least one or more slave devices, the Surebude
Device logical address and real address, the real address
The bus number of the slave bus corresponding to
Described above, and a multi-slave bus line system including an address decoder that decodes a slave address with reference to the address decode table. A serial transfer method including a step of controlling data transfer, wherein a logical address transmitted from the master device is converted to a real address with reference to the address decode table and transmitted to the slave device, and have a bus switching step of controlling the data transfer between the device and the slave device, said bus switching step,
The bit width for decoding the slave address is a predetermined width.
And a master bus from the master device.
The above-mentioned thread for which data is transmitted and received is transmitted.
Decodes the logical address of the
Decoding with reference to the table,
Is connected to the slave bus to which the master bus is connected.
Switch control so that the slave device
To the real address of the slave bus
Sending an address, the operation of transmitting and receiving data
A serial transfer method characterized by having a step of executing . The gist of the invention according to claim 9 of the present invention is that a master bus to which at least one or more of the master devices is connected, a plurality of slave buses to which at least one or more of the slave devices are connected, the master bus and at least one or more switches to ON or OFF the connection between the one or more plurality of slave bus, and a switch control circuit for turning ON or OFF a switch for switching the slave bus, said slave
Logical address and real address of the
If the bus number of the slave bus corresponding to the
Between the master device and the slave device, for a multi-slave bus line system including an address decode table also describing the address decode table and an address decoder for performing a slave address decoding process with reference to the address decode table. A serial transfer method including a step of controlling data transfer, wherein the data is supplied from the address decoder to the switch control circuit by referring to the address decode table based on a logical address transmitted from the master device. A bus switching step of controlling the switch to select and switch a plurality of buses to which the slave device is connected.
The bus switching step includes the step of
Limiting the bit width to be decoded to a predetermined width;
Data transmitted from the master device on the master bus
Logic of the slave device to be transmitted / received data
Refer to the address decode table for the address.
Decodes the slave to which the slave device is connected.
Switch so that the bus and the master bus are connected.
Control and convert to the real address of the slave device
To send a slave address on the slave bus,
It has the step of performing the operation of sending and receiving data
It consists in serial transfer method characterized by that. Also,
The gist of the invention according to claim 10 of the present invention is characterized in that the bus switching step includes a step of supplying data supplied to the switch control circuit from the address decoder provided on the slave bus. Claim 8
Or the serial transfer method described in Item 9 . The gist of the invention according to claim 11 of the present invention is that, in the bus switching step, the logical address of the slave device to be transmitted and received from the master device on the master bus, Decoding with reference to an address decode table, and controlling the switches so that the slave bus to which the slave device is connected and the master bus are connected;
The converted into real address of the slave device sends a slave address on the slave bus, 8 through claim, characterized in that a step of transmitting and receiving data
10. The serial transfer method according to any one of the above items 10 . Further, the gist of the invention according to claim 12 of the present invention refers to a bus number of the slave bus to be connected, based on a logical address of the slave device transmitted from the master device, by referring to the address decode table. / or existing in the serial transmission method according to claim 8 or 9, characterized in that a bus address decoder generating a real address of the slave device. The gist of the invention described in claim 13 of the present invention is characterized in that the bus address decoder step includes a step of transmitting the bus number to the switch control circuit and turning on or off the switch. Claim 1
0 in the serial transfer method.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0013】(第1実施形態)本発明の上記および他の
目的、特徴および利点を明確にすべく、以下添付した図
面を参照しながら、本発明の実施形態を詳細に説明す
る。図1は、本発明のマルチスレーブバスラインシステ
ム100の一実施形態を説明するための機能ブロック図
である。図1を参照すると、マルチスレーブバスライン
システム100は、I2Cバスマスタインターフェース
1を有する1個のマスタデバイス2、4本のスレーブバ
ス19,20,21,22、スレーブデバイス10,1
1,12,13,14,15,16,17、バス切り替
えシステム70を有する。
(First Embodiment) In order to clarify the above and other objects, features and advantages of the present invention, an embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a functional block diagram for explaining one embodiment of the multi-slave bus line system 100 of the present invention. Referring to FIG. 1, a multi-slave bus line system 100 includes one master device 2 having an I2C bus master interface 1, four slave buses 19, 20, 21 and 22, and slave devices 10 and 1.
1, 12, 13, 14, 15, 16, 17 and a bus switching system 70.

【0014】図2は、図1のマルチスレーブバスライン
システム100で用いられるアドレスデコードテーブル
3の一実施形態である。バス切り替えシステム70は、
アドレスデコードテーブル3と、I2Cバスアドレスデ
コーダ4と、スイッチ制御回路5、バス切り替えスイッ
チ6,7,8,9から構成されている。
FIG. 2 shows an embodiment of the address decode table 3 used in the multi-slave bus line system 100 of FIG. The bus switching system 70
It comprises an address decode table 3, an I2C bus address decoder 4, a switch control circuit 5, and bus changeover switches 6, 7, 8, and 9.

【0015】アドレスデコードテーブル3には、スレー
ブデバイス10,11,12,13,14,15,1
6,17の論理アドレス及び実アドレス、実アドレスに
対応するスレーブバス19,20,21,22のバスナ
ンバーが少なくとも記述されている。
The address decode table 3 includes slave devices 10, 11, 12, 13, 14, 15, 1
At least the logical addresses 6 and 17 and the real addresses, and the bus numbers of the slave buses 19, 20, 21, and 22 corresponding to the real addresses are described.

【0016】スイッチ制御回路5は、スレーブバス1
9,20,21または22を切り替えるためのスイッチ
6,7,8または9をONまたはOFFする。
The switch control circuit 5 includes a slave bus 1
A switch 6, 7, 8 or 9 for switching 9, 20, 21 or 22 is turned on or off.

【0017】本実施形態のバス切り替えシステム70
は、このスイッチ制御回路5に供給するデータを、I2
Cバス上に設けたアドレスデコーダ4から供給する機能
を有している。
The bus switching system 70 of the present embodiment
Converts the data supplied to the switch control circuit 5 into I2
It has a function of supplying from an address decoder 4 provided on the C bus.

【0018】例えば、マスタデバイス2からスレーブデ
バイス10へデータを転送する場合、バス切り替えシス
テム70は、マスタデバイス2からマスタバス18上に
送信された、データの送受信の対象となるスレーブデバ
イス10の論理アドレスを、アドレスデコードテーブル
3を参照してデコードし、スレーブデバイス10が接続
されたスレーブバス19とマスタバス18とが接続され
るよう、スイッチ6,7,8,9の制御を行い、スレー
ブデバイス10の実アドレスに変換してスレーブバス1
9上にスレーブアドレスを送信し、データの送受信を行
うという動作を実行する。
For example, when transferring data from the master device 2 to the slave device 10, the bus switching system 70 uses the logical address of the slave device 10 to be transmitted and received, which is transmitted on the master bus 18 from the master device 2. Are controlled by referring to the address decode table 3 and the switches 6, 7, 8, and 9 are controlled so that the slave bus 19 to which the slave device 10 is connected and the master bus 18 are connected. Convert to real address and slave bus 1
9 to transmit a slave address and transmit and receive data.

【0019】マスタバス18に送信される論理アドレス
には、スイッチ制御に必要なデータが含まれている。こ
のため、マスタデバイス2とスイッチ制御回路5とは、
インターフェースを持つ必要がない。また、スイッチ
6,7,8,9のONまたはOFFは、I2Cバスのデ
ータ転送手順の中で行われるため、I2Cバスの通信調
整手順が有効である。したがって、ソフトウェアの互換
性を維持しながら、2個以上の既存のマスタデバイス2
を使用して、多数のスレーブバスを有するスレーブバス
ラインシステムの実現が可能となる。
The logical address transmitted to the master bus 18 contains data necessary for switch control. For this reason, the master device 2 and the switch control circuit 5
No need to have an interface. Also, since the switches 6, 7, 8, 9 are turned on or off in the data transfer procedure of the I2C bus, the communication adjustment procedure of the I2C bus is effective. Therefore, two or more existing master devices 2 are maintained while maintaining software compatibility.
, A slave bus line system having a large number of slave buses can be realized.

【0020】次に、マルチスレーブバスラインシステム
100が実行する本実施形態のシリアル転送方法を説明
する。
Next, the serial transfer method of the present embodiment executed by the multi-slave bus line system 100 will be described.

【0021】本実施形態のシリアル転送方法は、少なく
とも1つ以上のマスタデバイス2が接続されるマスタバ
ス18と、少なくとも1つ以上のスレーブデバイスが接
続される複数本のスレーブバス19,20,21,22
と、マスタバス18と1個以上の複数本のスレーブバス
との接続をONまたはOFFする少なくとも1つ以上の
スイッチ6(7,8,9)と、スレーブバス19,2
0,21または22を切り替えるためのスイッチ6,
7,8または9をONまたはOFFするスイッチ制御回
路5と、スレーブデバイス10〜17のアドレスデコー
ドテーブル3と、アドレスデコードテーブル3を参照し
てスレーブアドレスのデコード処理を行うアドレスデコ
ーダとを備えたマルチスレーブバスラインシステムに対
して、マスタデバイス2とスレーブデバイスとの間のデ
ータ転送を制御する工程を備えたシリアル転送方法であ
って、マスタデバイス2から送信される論理アドレスに
基づいてアドレスデコードテーブル3を参照しアドレス
デコーダからスイッチ制御回路5にデータを供給してス
イッチを制御し、スレーブデバイスが接続される複数本
のバスを選択して切り替えるバス切り替え工程、バスア
ドレスデコーダ工程を有する。
The serial transfer method according to the present embodiment includes a master bus 18 to which at least one or more master devices 2 are connected, and a plurality of slave buses 19, 20, 21, and 21 to which at least one or more slave devices are connected. 22
At least one or more switches 6 (7, 8, 9) for turning on or off the connection between the master bus 18 and one or more slave buses;
Switch for switching 0, 21 or 22;
A switch control circuit 5 for turning on, off or 7, 7, or 9 an address decode table 3 for the slave devices 10 to 17 and an address decoder for decoding the slave address with reference to the address decode table 3 A serial transfer method including a step of controlling data transfer between a master device 2 and a slave device with respect to a slave bus line system, wherein the address decode table 3 is based on a logical address transmitted from the master device 2. , A bus switching step and a bus address decoder step of supplying data from the address decoder to the switch control circuit 5 to control the switch, and selecting and switching a plurality of buses to which the slave devices are connected.

【0022】バス切り替え工程は、スレーブアドレスの
デコードするビット幅を所定幅に限定する工程を有して
いる。また、スイッチ制御回路5に供給するデータを、
スレーブバス上に設けたアドレスデコーダ4から供給す
る工程を有している。また、マスタデバイス2からマス
タバス18上に送信された、データの送受信の対象とな
るスレーブデバイス10の論理アドレスを、アドレスデ
コードテーブル3を参照してデコードする工程と、スレ
ーブデバイス10が接続されたスレーブバス19とマス
タバス18とが接続されるようにスイッチ6,7,8,
9の制御を行う工程と、スレーブデバイス10の実アド
レスに変換してスレーブバス19上にスレーブアドレス
を送信し、データの送受信を行う工程とを有している。
The bus switching step includes a step of limiting the bit width for decoding the slave address to a predetermined width. Further, the data supplied to the switch control circuit 5 is
There is a step of supplying from the address decoder 4 provided on the slave bus. A step of decoding the logical address of the slave device 10 to be transmitted / received from the master device 2 on the master bus 18 with reference to the address decode table 3; The switches 6, 7, 8, and 9 are connected so that the bus 19 and the master bus 18 are connected.
9 and a step of transmitting the slave address on the slave bus 19 by converting it into a real address of the slave device 10 and transmitting and receiving data.

【0023】バスアドレスデコーダ工程は、アドレスデ
コードテーブル3を参照し、マスタデバイス2から送出
されるスレーブデバイス10の論理アドレスに基づい
て、接続するスレーブバス19のバス番号及び/または
スレーブデバイス10の実アドレスを生成する工程を有
している。また、バス番号をスイッチ制御回路5に送信
し、スイッチ6,7,8,9をONまたはOFFする工
程を有している。
The bus address decoder step refers to the address decode table 3 and, based on the logical address of the slave device 10 transmitted from the master device 2, determines the bus number of the slave bus 19 to be connected and / or the actual number of the slave device 10. Generating an address. Further, the method includes a step of transmitting the bus number to the switch control circuit 5 to turn on or off the switches 6, 7, 8, and 9.

【0024】次に、本実施形態のシリアル転送方法を実
行するマルチスレーブバスラインシステム100の動作
を説明する。I2Cバスアドレスデコーダ4は、マスタ
デバイス2から送出されるスレーブデバイス10の論理
アドレスから、アドレスデコードテーブル3を参照し
て、接続するI2Cバス19のバス番号と、スレーブデ
バイス10の実アドレスを生成する。これに応じてI2
Cバスアドレスデコーダ4が、バス番号をスイッチ制御
回路5に送信し、スイッチ6,7,8,9をONまたは
OFFする。これに応じてマスタデバイス2が接続され
るマスタバス18とデータ転送の対象となるスレーブデ
バイス10が接続されるI2Cバス19とを接続する。
これに応じてI2Cバスアドレスデコーダ4が、マスタ
バス18に対して実アドレスを送信し、その後、マスタ
デバイス2とスレーブデバイス10との間でデータの送
受信を行う。
Next, the operation of the multi-slave bus line system 100 that executes the serial transfer method of this embodiment will be described. The I2C bus address decoder 4 generates the bus number of the I2C bus 19 to be connected and the real address of the slave device 10 from the logical address of the slave device 10 sent from the master device 2 with reference to the address decode table 3. . I2
The C bus address decoder 4 transmits the bus number to the switch control circuit 5, and turns on or off the switches 6, 7, 8, and 9. In response, the master bus 18 to which the master device 2 is connected and the I2C bus 19 to which the slave device 10 to which data is to be transferred are connected are connected.
In response to this, the I2C bus address decoder 4 transmits a real address to the master bus 18 and thereafter performs data transmission and reception between the master device 2 and the slave device 10.

【0025】次に図1を参照し、マスタデバイス2から
スレーブデバイス10へのデータ転送を例に挙げ、以下
に説明する。I2Cバスアドレスデコーダ4は、マスタ
デバイス2から入力されたスレーブデバイス10の論理
アドレスに基づいて、アドレスデコードテーブル3を参
照して、スレーブバス19のバスナンバーとスレーブデ
バイス10の実アドレスの生成処理を実行する。
Next, referring to FIG. 1, the data transfer from the master device 2 to the slave device 10 will be described as an example. The I2C bus address decoder 4 refers to the address decode table 3 based on the logical address of the slave device 10 input from the master device 2 and generates the bus number of the slave bus 19 and the real address of the slave device 10. Execute.

【0026】生成されたスレーブバスナンバー(スレー
ブバス19のバスナンバー)は、スイッチ制御回路5に
送信される。これに応じてスイッチ制御回路5は、スレ
ーブバスナンバーの内容から判断して、バス切り替えス
イッチ6をONにするとともに、バス切り替えスイッチ
7,8,9をOFFにして、マスタバス18と、データ
の送受信先のスレーブバス19とを接続する。
The generated slave bus number (the bus number of the slave bus 19) is transmitted to the switch control circuit 5. In response to this, the switch control circuit 5 turns on the bus changeover switch 6 and turns off the bus changeover switches 7, 8, and 9 based on the contents of the slave bus number, and transmits and receives data to and from the master bus 18. The slave bus 19 is connected.

【0027】マスタバス18に送信される論理アドレス
にはスイッチ制御に必要なデータが含まれている。この
ため、マスタデバイス2のI2Cバスマスタインターフ
ェース1にはスイッチ制御を行うための特別なインター
フェースを設ける必要はない。
The logical address transmitted to the master bus 18 contains data necessary for switch control. Therefore, it is not necessary to provide a special interface for performing switch control in the I2C bus master interface 1 of the master device 2.

【0028】また、スレーブデバイス10,11,1
2,13,14,15,16,17の論理アドレスはI
2Cバスのアドレスフォーマットに従って設定されてい
る。このため、マスタデバイス2のI2Cバスマスタイ
ンターフェース1に特別なデータ転送プロトコルを設定
する必要はなく、スレーブアドレスが実アドレスではな
く論理アドレスであることを意識するだけでよい。
The slave devices 10, 11, 1
The logical addresses of 2, 13, 14, 15, 16, 17 are I
It is set according to the address format of the 2C bus. Therefore, there is no need to set a special data transfer protocol in the I2C bus master interface 1 of the master device 2, and it is only necessary to be aware that the slave address is not a real address but a logical address.

【0029】一方、I2Cバスアドレスデコーダ4は、
生成された実アドレスをスレーブバス19に送信する。
これに応じてスレーブデバイス10は、I2Cバスアド
レスデコーダ4から送信された実アドレスに基づいて、
送受信対象が自分であることを認識し、データの送受信
処理を開始する。
On the other hand, the I2C bus address decoder 4
The generated real address is transmitted to the slave bus 19.
In response to this, the slave device 10 determines, based on the real address transmitted from the I2C bus address decoder 4,
It recognizes that the transmission / reception object is itself, and starts data transmission / reception processing.

【0030】このとき、スレーブデバイス10,11,
12,13,14,15,16,17に対しては、実ア
ドレスに基づいてデータの送受信が行われるので、特別
に意識する必要はない。
At this time, the slave devices 10, 11,
Since data is transmitted and received to 12, 13, 14, 15, 16, and 17 based on the real address, there is no need to pay special attention.

【0031】以下、本実施形態の動作につき説明する。
まず、I2Cバスアドレスデコーダ4の動作について、
図3のタイミングチャートを用いて説明する。図3は、
図1のマルチスレーブバスラインシステム100がマス
タバス18とスレーブバス間で実行するデータ転送の第
1実施形態を説明するためのタイミングチャートであ
る。
The operation of this embodiment will be described below.
First, regarding the operation of the I2C bus address decoder 4,
This will be described with reference to the timing chart of FIG. FIG.
FIG. 2 is a timing chart for explaining a first embodiment of data transfer executed between the master bus 18 and the slave bus by the multi-slave bus line system 100 of FIG. 1.

【0032】SDA(マスタバス・シリアルデータライ
ン)18aとマスタバス18のSCL(マスタバス・シ
リアルクロックライン)18b上に開始条件信号43が
送信されると、開始条件信号43に続く7ビットとして
スレーブデバイスの論理アドレス45が送信される。
When the start condition signal 43 is transmitted on the SDA (master bus / serial data line) 18a and the SCL (master bus / serial clock line) 18b of the master bus 18, the logic of the slave device is set as 7 bits following the start condition signal 43. The address 45 is transmitted.

【0033】開始条件信号43に続く7ビットを受信す
ると、I2Cバスアドレスデコーダ4は、マスタバス1
8のSCL(マスタバス・シリアルクロックライン)1
8bをLOWに保持し、I2Cバスのクロックの同期化
により、マスタデバイス2を待ち状態にする。次に、ア
ドレスデコードテーブル3を参照して、受信された論理
アドレス45を、スレーブバスナンバーと、スレーブデ
バイスの実アドレス46に変換処理する。
When the 7 bits following the start condition signal 43 are received, the I2C bus address decoder 4
8 SCL (master bus serial clock line) 1
8b is held LOW, and the master device 2 is put into a waiting state by synchronizing the clock of the I2C bus. Next, referring to the address decode table 3, the received logical address 45 is converted into a slave bus number and a real address 46 of the slave device.

【0034】変換されたスレーブバスナンバーは、スイ
ッチ制御回路5に送信され、スイッチ制御回路5はスレ
ーブバスナンバーから判断して、スイッチ制御期間47
にスイッチ制御を行って、マスタバス18と、データの
送受信先のスレーブバスとを接続する。
The converted slave bus number is transmitted to the switch control circuit 5, and the switch control circuit 5 determines from the slave bus number,
The master bus 18 is connected to a slave bus to which data is transmitted and received.

【0035】I2Cバスアドレスデコーダ4は、マスタ
バス18から開始条件信号44を受信し、マスタバス1
8とデータの送受信先となるスレーブバス19とが接続
されたことを確認すると、スレーブバス19に対して7
ビットの実アドレス46を送信する。
The I2C bus address decoder 4 receives the start condition signal 44 from the master bus 18 and
When it is confirmed that the slave bus 19 is connected to the slave bus 19 as a data transmission / reception destination,
The real address 46 of the bit is transmitted.

【0036】実アドレス46の送信を完了したところ
で、I2Cバスマスタインターフェース1は、マスタバ
ス18のSCL18bを解放し、マスタバス18の待ち
状態を解除する。
When the transmission of the real address 46 is completed, the I2C bus master interface 1 releases the SCL 18b of the master bus 18 and releases the waiting state of the master bus 18.

【0037】これ以降、I2Cバスアドレスデコーダ4
は、マスタバス18から次の開始条件信号44を受信す
るまで、マスタバス18とスレーブバスとの間のデータ
送受信に対して、何らの変換処理を行うことはない。
Thereafter, the I2C bus address decoder 4
Does not perform any conversion processing on data transmission and reception between the master bus 18 and the slave bus until the next start condition signal 44 is received from the master bus 18.

【0038】以上のように、マスタデバイス2とI2C
バスアドレスデコーダ4との間のデータ転送は、送信さ
れるスレーブアドレスが実アドレスではなく論理アドレ
スであるという違いはあるものの、I2Cバスのデータ
転送手順に従うことから、I2Cバスの通信調停手順が
有効である。したがって、マスタバス18に複数のマス
タデバイス2を接続した場合においても、上記の動作が
可能である。また、スレーブバスは、一般的なI2Cバ
スのデータ転送手順と同等の動作となる。
As described above, the master device 2 and the I2C
Data transfer with the bus address decoder 4 follows the data transfer procedure of the I2C bus, although there is a difference that the transmitted slave address is not a real address but a logical address. Therefore, the communication arbitration procedure of the I2C bus is effective. It is. Therefore, even when a plurality of master devices 2 are connected to the master bus 18, the above operation can be performed. The operation of the slave bus is equivalent to that of a general I2C bus data transfer procedure.

【0039】以上第1実施形態を要約すれば、特殊なイ
ンターフェースや特別な転送プロトコルを用いることの
ない、標準的なI2Cバスマスタインターフェース1を
持つ、少なくとも1つ以上のI2Cバスマスタデバイス
と、一般的な複数個のI2Cバススレーブデバイスによ
る、I2Cバスラインシステムという基本構成に基づ
き、スレーブアドレスのデコード処理による、複数本の
スレーブバスの選択切り替えを実現したバス切り替えシ
ステム70並びにマルチスレーブバスラインシステム1
00、及びシリアル転送方法を実現できる。更に、ソフ
トウェアの互換性を維持しながら、2個以上の既存のマ
スタデバイス2を使用して、多数のスレーブバスを有す
るスレーブバスラインシステムの実現が可能となる。
In summary of the first embodiment, at least one or more I2C bus master devices having a standard I2C bus master interface 1 without using a special interface or a special transfer protocol, and a general I2C bus master device A bus switching system 70 and a multi-slave bus line system 1 that realize selection and switching of a plurality of slave buses by decoding slave addresses based on a basic configuration of an I2C bus line system using a plurality of I2C bus slave devices.
00 and the serial transfer method. Furthermore, a slave bus line system having a large number of slave buses can be realized using two or more existing master devices 2 while maintaining software compatibility.

【0040】(第2実施形態)図4は、図1のマルチス
レーブバスラインシステム100がマスタバス18とス
レーブバス間で実行するデータ転送の第2実施形態を説
明するためのタイミングチャートである。本発明の第2
実施形態の基本的構成は、第1実施形態と同様である
が、スレーブアドレスのデコードビットの幅を少なくす
ることで、アドレスデコードテーブル3の容量を抑え、
デコード処理の時間短縮を図ることが可能となる。例え
ば、スレーブアドレスの下位3ビットを実アドレスと同
一とし、上位4ビットのみをデコードする場合、I2C
バスアドレスデコーダ4のタイミングチャートは図4の
ようになる。
(Second Embodiment) FIG. 4 is a timing chart for explaining a second embodiment of data transfer executed between the master bus 18 and the slave bus by the multi-slave bus line system 100 of FIG. Second embodiment of the present invention
The basic configuration of the embodiment is the same as that of the first embodiment, but the capacity of the address decode table 3 is reduced by reducing the width of the decode bit of the slave address.
It is possible to reduce the time for the decoding process. For example, when the lower 3 bits of the slave address are the same as the real address and only the upper 4 bits are decoded, the I2C
The timing chart of the bus address decoder 4 is as shown in FIG.

【0041】すなわち、SDA(マスタバス・シリアル
データライン)18aとマスタバス18のSCL(マス
タバス・シリアルクロックライン)18bから開始条件
信号43が送信されると、開始条件信号43に続く4ビ
ットとして、スレーブデバイスの論理アドレス45の上
位4ビット48が送信される。
That is, when the start condition signal 43 is transmitted from the SDA (master bus / serial data line) 18a and the SCL (master bus / serial clock line) 18b of the master bus 18, the four bits following the start condition signal 43 are set to the slave device. The upper 4 bits 48 of the logical address 45 are transmitted.

【0042】I2Cバスアドレスデコーダ4は、スレー
ブデバイスの論理アドレス45の上位4ビット48を受
信すると、マスタバス18のSCL18bをLOWに保
持し、I2Cバスのクロックの同期化により、マスタデ
バイス2を待ち状態にする。次に、受信された論理アド
レスの上位4ビット48を、アドレスデコードテーブル
3を参照して、スレーブバスナンバーと、スレーブデバ
イスの実アドレス46の上位4ビット49に変換処理す
る。
When receiving the upper 4 bits 48 of the logical address 45 of the slave device, the I2C bus address decoder 4 keeps the SCL 18b of the master bus 18 LOW, and waits for the master device 2 by synchronizing the clock of the I2C bus. To Next, the upper 4 bits 48 of the received logical address are converted into the slave bus number and the upper 4 bits 49 of the real address 46 of the slave device with reference to the address decode table 3.

【0043】変換されたスレーブバスナンバーは、スイ
ッチ制御回路5に送信される。これに応じて、スイッチ
制御回路5は、スレーブバスナンバーに基づいて、スイ
ッチ制御期間47にスイッチ制御を行って、マスタバス
18とデータの送受信先のスレーブバス19とを接続す
る。
The converted slave bus number is transmitted to the switch control circuit 5. In response, the switch control circuit 5 performs switch control during the switch control period 47 based on the slave bus number, and connects the master bus 18 and the slave bus 19 to which data is transmitted and received.

【0044】I2Cバスアドレスデコーダ4は、マスタ
バス18から開始条件信号44を受信し、マスタバス1
8とデータの送受信先となるスレーブバス19とが接続
されたことを確認すると、スレーブバス19に対して実
アドレスの上位4ビット49を送信する。上位4ビット
49の送信を完了したところで、I2Cバスマスタイン
ターフェース1が、マスタバス18のSCL18bを解
放し、マスタデバイス2の待ち状態を解除する。
The I2C bus address decoder 4 receives the start condition signal 44 from the master bus 18 and
When it is confirmed that the slave 8 and the slave bus 19 to which data is to be transmitted and received are connected, the upper 4 bits 49 of the real address are transmitted to the slave bus 19. When the transmission of the upper 4 bits 49 is completed, the I2C bus master interface 1 releases the SCL 18b of the master bus 18 and releases the waiting state of the master device 2.

【0045】マスタデバイス2は、スレーブデバイスの
実アドレス46の下位3ビット以降を送信する。これ以
降、マスタバス18から次の開始条件信号44を受信す
るまで、I2Cバスアドレスデコーダ4は、マスタバス
18とスレーブバスとの間のデータ送受信に対して何ら
の変換処理を行うことはない。
The master device 2 transmits the lower 3 bits and subsequent bits of the real address 46 of the slave device. Thereafter, until the next start condition signal 44 is received from the master bus 18, the I2C bus address decoder 4 does not perform any conversion processing for data transmission and reception between the master bus 18 and the slave bus.

【0046】以上第2実施形態を要約すれば、特殊なイ
ンターフェースや特別な転送プロトコルを用いることの
ない、標準的なI2Cバスマスタインターフェース1を
持つ、少なくとも1つ以上のI2Cバスマスタデバイス
と、一般的な複数個のI2Cバススレーブデバイスによ
る、I2Cバスラインシステムという基本構成に基づ
き、スレーブアドレスのデコード処理による、複数本の
スレーブバスの選択切り替えを実現したバス切り替えシ
ステム70並びにマルチスレーブバスラインシステム1
00、及びシリアル転送方法を実現できる。更に、ソフ
トウェアの互換性を維持しながら、2個以上の既存のマ
スタデバイス2を使用して、多数のスレーブバスを有す
るスレーブバスラインシステムの実現が可能となる。
In summary of the second embodiment, at least one or more I2C bus master devices having a standard I2C bus master interface 1 without using a special interface or a special transfer protocol, and a general I2C bus master device, A bus switching system 70 and a multi-slave bus line system 1 that realize selection and switching of a plurality of slave buses by decoding slave addresses based on a basic configuration of an I2C bus line system using a plurality of I2C bus slave devices.
00 and the serial transfer method. Furthermore, a slave bus line system having a large number of slave buses can be realized using two or more existing master devices 2 while maintaining software compatibility.

【0047】なお、本発明が上記各実施例に限定され
ず、本発明の技術思想の範囲内において、各実施形態は
適宜変更され得ることは明らかである。また、上記構成
部材の数、位置、形状等は上記実施の形態に限定され
ず、本発明を実施する上で好適な数、位置、形状等にす
ることができる。また、各図において、同一構成要素に
は同一符号を付している。
It should be noted that the present invention is not limited to the above-described embodiments, and each embodiment can be appropriately modified within the scope of the technical idea of the present invention. Further, the number, position, shape, and the like of the constituent members are not limited to the above-described embodiment, but can be set to numbers, positions, shapes, and the like suitable for carrying out the present invention. In each drawing, the same components are denoted by the same reference numerals.

【0048】[0048]

【発明の効果】本発明は以上のように構成されているの
で、バスに対する装置の接続数制限を越えて、装置を接
続するシリアル転送バスを実現できる。また、一般的な
I2Cバスマスタデバイスと、スレーブデバイスを利用
しつつ、ソフトウェアの互換性を維持しながら、より多
くのスレーブデバイスを接続できるようになるといった
効果を奏する。
According to the present invention, the serial transfer bus for connecting devices can be realized beyond the limit of the number of devices connected to the bus. Further, there is an effect that more slave devices can be connected while using a general I2C bus master device and slave devices and maintaining software compatibility.

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

【図1】本発明のマルチスレーブバスラインシステムの
一実施形態を説明するための機能ブロック図である。
FIG. 1 is a functional block diagram illustrating an embodiment of a multi-slave bus line system according to the present invention.

【図2】図1のマルチスレーブバスラインシステムで用
いられるアドレスデコードテーブルの一実施形態であ
る。
FIG. 2 is an embodiment of an address decode table used in the multi-slave bus line system of FIG. 1;

【図3】図1のマルチスレーブバスラインシステムがマ
スタバスとスレーブバス間で実行するデータ転送の第1
実施形態を説明するためのタイミングチャートである。
FIG. 3 is a diagram illustrating a first example of data transfer performed between the master bus and the slave bus by the multi-slave bus line system of FIG.
5 is a timing chart for explaining the embodiment.

【図4】図1のマルチスレーブバスラインシステムがマ
スタバスとスレーブバス間で実行するデータ転送の第2
実施形態を説明するためのタイミングチャートである。
FIG. 4 is a diagram illustrating a second data transfer performed between the master bus and the slave bus by the multi-slave bus line system of FIG. 1;
5 is a timing chart for explaining the embodiment.

【図5】従来技術のマルチスレーブバスラインシステム
を説明するための機能ブロック図である。
FIG. 5 is a functional block diagram for explaining a conventional multi-slave bus line system.

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

1…I2Cバスマスタインターフェース 2…マスタデバイス 3…アドレスデコードテーブル 4…I2Cバスアドレスデコーダ 5…スイッチ制御回路 6,7,8,9…スイッチ 10,11,12,13,14,15,16,17…ス
レーブデバイス 18…マスタバス 18a…マスタバス・シリアルデータライン(SDA) 18b…マスタバス・シリアルクロックライン(SC
L) 19,20,21,22…スレーブバス 19a…スレーブバス・シリアルデータライン(SD
A) 19b…スレーブバス・シリアルクロックライン(SC
L) 43,44…開始条件信号 45…スレーブデバイスの論理アドレス 46…スレーブデバイスの実アドレス 47…スイッチ制御期間 48…スレーブデバイスの論理アドレスの上位4ビット 49…スレーブデバイスの実アドレスの上位4ビット 70…バス切り替えシステム 100…マルチスレーブバスラインシステム
DESCRIPTION OF SYMBOLS 1 ... I2C bus master interface 2 ... Master device 3 ... Address decode table 4 ... I2C bus address decoder 5 ... Switch control circuit 6,7,8,9 ... Switch 10,11,12,13,14,15,16,17 ... Slave device 18 Master bus 18a Master bus serial data line (SDA) 18b Master bus serial clock line (SC
L) 19, 20, 21, 22 ... slave bus 19a ... slave bus serial data line (SD
A) 19b: Slave bus serial clock line (SC
L) 43, 44 start condition signal 45 logical address of slave device 46 actual address of slave device 47 switch control period 48 upper 4 bits of logical address of slave device 49 upper 4 bits of real address of slave device 70 bus switching system 100 multi-slave bus line system

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくとも1つ以上のマスタデバイスに
よって複数のスレーブデバイスを制御するマルチスレー
ブバスラインシステムであって、 データの送受信を制御するバスマスタインターフェース
を有する少なくとも1つ以上の前記マスタデバイスと、 少なくとも1つ以上の前記スレーブデバイスと、前記スレーブデバイスの論理アドレス及び実アドレス、
当該実アドレスに対応するスレーブバスのバスナンバー
が少なくとも記述されている アドレスデコードテーブル
と、 前記アドレスデコードテーブルを参照してスレーブアド
レスのデコード処理を行うアドレスデコーダと、 前記マスタデバイスから送信される論理アドレスを、前
記アドレスデコードテーブルを参照し実アドレスに変換
して前記スレーブデバイスに送信するとともに、前記マ
スタデバイスと前記スレーブデバイスとの間でのデータ
転送を制御するバス切り替えシステムとを有し、 前記バス切り替えシステムは、前記スレーブアドレスの
デコードするビット幅を所定幅に限定し、前記マスタデ
バイスからマスタバス上に送信された、データの送受信
の対象となる前記スレーブデバイスの論理アドレスを、
前記アドレスデコードテーブルを参照してデコードし、
前記スレーブデバイスが接続されたスレーブバスと前記
マスタバスとが接続されるよう、スイッチ制御を行い、
前記スレーブデバイスの実アドレスに変換して前記スレ
ーブバス上にスレーブアドレスを送信し、データの送受
信を行うという動作を実行する ことを特徴とするマルチ
スレーブバスラインシステム。
1. A multi-slave bus line system for controlling a plurality of slave devices by at least one or more master devices, wherein at least one or more of the master devices have a bus master interface for controlling transmission and reception of data. One or more of the slave devices, a logical address and a real address of the slave device,
Bus number of the slave bus corresponding to the real address
An address decode table that describes at least a slave address with reference to the address decode table, and a real address transmitted from the master device with reference to the address decode table. converted to it and transmits to the slave device, possess a bus switching system for controlling data transfer between said master device and said slave device, said bus switching system, the slave address
The bit width to be decoded is limited to a predetermined width, and the master data is decoded.
Of data transmitted from the device to the master bus
The logical address of the slave device to be
Decoding with reference to the address decode table,
A slave bus to which the slave device is connected;
Perform switch control so that it is connected to the master bus,
After converting to the real address of the slave device,
Slave address on the slave bus and send / receive data
A multi-slave bus line system, which performs an operation of performing communication .
【請求項2】 少なくとも1つ以上のマスタデバイスに
よって複数のスレーブデバイスを制御するマルチスレー
ブバスラインシステムであって、 少なくとも1つ以上の前記マスタデバイスが接続される
マスタバスと、 少なくとも1つ以上の前記スレーブデバイスが接続され
る複数本のスレーブバスと、 前記マスタバスと1個以上の複数本のスレーブバスとの
接続をONまたはOFFする少なくとも1つ以上のスイ
ッチと、 前記スレーブバスを切り替えるためのスイッチをONま
たはOFFするスイッチ制御回路と、前記スレーブデバイスの論理アドレス及び実アドレス、
当該実アドレスに対応するスレーブバスのバスナンバー
が少なくとも記述されている アドレスデコードテーブル
と、 前記アドレスデコードテーブルを参照してスレーブアド
レスのデコード処理を行うアドレスデコーダと、 前記マスタデバイスから送信される論理アドレスに基づ
いて前記アドレスデコードテーブルを参照し前記アドレ
スデコーダから前記スイッチ制御回路にデータを供給し
て前記スイッチを制御し、前記スレーブデバイスが接続
される複数本のバスを選択して切り替えるバス切り替え
システムとを有し、 前記バス切り替えシステムは、前記スレーブアドレスの
デコードするビット幅を所定幅に限定し、前記マスタデ
バイスから前記マスタバス上に送信された、データの送
受信の対象となる前記スレーブデバイスの論理アドレス
を、前記アドレスデコードテーブルを参照してデコード
し、前記スレーブデバイスが接続された前記スレーブバ
スと前記マスタバスとが接続されるよう、スイッチ制御
を行い、前記スレーブデバイスの実アドレスに変換して
前記スレーブバス上にスレーブアドレスを送信し、デー
タの送受信を行うという動作を実行する ことを特徴とす
るマルチスレーブバスラインシステム。
2. A multi-slave bus line system for controlling a plurality of slave devices by at least one or more master devices, wherein a master bus to which at least one or more of the master devices is connected; A plurality of slave buses to which slave devices are connected; at least one switch for turning on or off the connection between the master bus and one or more slave buses; and a switch for switching the slave bus. A switch control circuit for turning on or off, a logical address and a real address of the slave device,
Bus number of the slave bus corresponding to the real address
An address decode table in which at least is described ; an address decoder that performs a slave address decoding process with reference to the address decode table; and an address decoder that references the address decode table based on a logical address transmitted from the master device. and supplying data from the address decoder to the switch control circuit controls said switch, possess a bus switching system for switching by selecting a plurality of buses which the slave device is connected, the bus switching system, the Slave address
The bit width to be decoded is limited to a predetermined width, and the master data is decoded.
Data transmitted from the device to the master bus.
Logical address of the slave device to be received
With reference to the address decode table.
The slave device to which the slave device is connected.
Switch control so that the bus and the master bus are connected.
And convert it to the real address of the slave device.
The slave address is transmitted on the slave bus,
A multi-slave bus line system that performs an operation of transmitting and receiving data.
【請求項3】 前記バス切り替えシステムは、前記スイ
ッチ制御回路に供給するデータを、前記スレーブバス上
に設けた前記アドレスデコーダから供給することを特徴
とする請求項1または2に記載のマルチスレーブバスラ
インシステム。
Wherein said bus switching system, multi-slave bus according to claim 1 or 2, characterized in that to supply data to be supplied to the switch control circuit, from the address decoder provided on the slave bus Line system.
【請求項4】 前記バス切り替えシステムは、前記マス
タデバイスから前記マスタバス上に送信された、データ
の送受信の対象となる前記スレーブデバイスの論理アド
レスを、前記アドレスデコードテーブルを参照してデコ
ードし、前記スレーブデバイスが接続されたスレーブバ
スと前記マスタバスとが接続されるように前記スイッチ
の制御を行い、前記スレーブデバイスの実アドレスに変
換して前記スレーブバス上にスレーブアドレスを送信
し、データの送受信を行うことを特徴とする請求項1乃
のいずれか一項に記載のマルチスレーブバスライン
システム。
4. The bus switching system decodes a logical address of the slave device, which is a target of data transmission and reception, transmitted from the master device on the master bus with reference to the address decode table, The switch is controlled so that the slave bus to which the slave device is connected and the master bus are connected, the switch is converted into a real address of the slave device, a slave address is transmitted on the slave bus, and data transmission / reception is performed. The multi-slave bus line system according to any one of claims 1 to 3 , wherein the bus operation is performed.
【請求項5】 前記アドレスデコードテーブルを参照
し、前記マスタデバイスから送出される前記スレーブデ
バイスの論理アドレスに基づいて、接続する前記スレー
ブバスのバス番号及び/または前記スレーブデバイスの
実アドレスを生成するアドレスデコーダを有することを
特徴とする請求項1または2に記載のマルチスレーブバ
スラインシステム。
5. A bus number of the slave bus to be connected and / or a real address of the slave device are generated based on a logical address of the slave device transmitted from the master device with reference to the address decode table. 3. The multi-slave bus line system according to claim 1, further comprising an address decoder.
【請求項6】 前記アドレスデコーダは、前記バス番号
を前記スイッチ制御回路に送信し、前記スイッチをON
またはOFFすることを特徴とする請求項に記載のマ
ルチスレーブバスラインシステム。
6. The address decoder transmits the bus number to the switch control circuit and turns on the switch.
The multi-slave bus line system according to claim 5 , wherein the multi-slave bus line system is turned off.
【請求項7】 データ転送の対象となる前記スレーブデ
バイスが接続される前記スレーブバスと前記マスタバス
とが接続されたとき、 前記アドレスデコーダが当該マスタバスに対して実アド
レスを送信し、 前記マスタデバイスと前記スレーブデバイスとがデータ
の送受信を行うことを特徴とする請求項に記載のマル
チスレーブバスラインシステム。
7. When the slave bus to which the slave device to be transferred is connected and the master bus are connected, the address decoder transmits a real address to the master bus, and The multi-slave bus line system according to claim 5 , wherein the slave device transmits and receives data.
【請求項8】 データの送受信を制御するバスマスタイ
ンターフェースを有する少なくとも1つ以上のマスタデ
バイスと、少なくとも1つ以上のスレーブデバイスと、
前記スレーブデバイスの論理アドレス及び実アドレス、
当該実アドレスに対応するスレーブバスのバスナンバー
が少なくとも記述されているアドレスデコードテーブル
と、前記アドレスデコードテーブルを参照してスレーブ
アドレスのデコード処理を行うアドレスデコーダとを備
えたマルチスレーブバスラインシステムに対して、前記
マスタデバイスと前記スレーブデバイスとの間のデータ
転送を制御する工程を備えたシリアル転送方法であっ
て、 前記マスタデバイスから送信される論理アドレスを、前
記アドレスデコードテーブルを参照し実アドレスに変換
して前記スレーブデバイスに送信するとともに、前記マ
スタデバイスと前記スレーブデバイスとの間でのデータ
転送を制御するバス切り替え工程を有し、 前記バス切り替え工程は、 前記スレーブアドレスのデコードするビット幅を所定幅
に限定する工程と、 前記マスタデバイスからマスタバス上に送信された、デ
ータの送受信の対象となる前記スレーブデバイスの論理
アドレスを、前記アドレスデコードテーブルを参照して
デコードし、前記スレーブデバイスが接続されたスレー
ブバスと前記マスタバスとが接続されるよう、スイッチ
制御を行い、前記スレーブデバイスの実アドレスに変換
して前記スレーブバス上にスレーブアドレスを送信し、
データの送受信を行うという動作を実行する工程を有す
ことを特徴とするシリアル転送方法。
8. At least one or more master devices having a bus master interface for controlling transmission and reception of data, at least one or more slave devices,
A logical address and a real address of the slave device,
Bus number of the slave bus corresponding to the real address
And a multi-slave bus line system including an address decode table in which at least is described, and an address decoder that performs a slave address decoding process with reference to the address decode table. A serial transfer method comprising a step of controlling data transfer between, the logical address transmitted from the master device, referring to the address decode table and converted to a real address and transmitted to the slave device, have a bus switching step of controlling the data transfer between said master device and said slave device, said bus switching step, the slave address decode bit width predetermined width
A step of limiting, the sent on the master bus from the master device, de
Logic of the slave device to be transmitted / received data
Refer to the address decode table for the address.
Decodes the slave to which the slave device is connected.
Switch so that the bus and the master bus are connected.
Control and convert to the real address of the slave device
To send a slave address on the slave bus,
It has the step of performing the operation of sending and receiving data
Serial transfer wherein the that.
【請求項9】 少なくとも1つ以上の前記マスタデバイ
スが接続されるマスタバスと、少なくとも1つ以上の前
記スレーブデバイスが接続される複数本のスレーブバス
と、前記マスタバスと1個以上の複数本のスレーブバス
との接続をONまたはOFFする少なくとも1つ以上の
スイッチと、前記スレーブバスを切り替えるためのスイ
ッチをONまたはOFFするスイッチ制御回路と、前記
スレーブデバイスの論理アドレス及び実アドレス、当該
実アドレスに対応するスレーブバスのバスナンバーが少
なくとも記述されているアドレスデコードテーブルと、
前記アドレスデコードテーブルを参照してスレーブアド
レスのデコード処理を行うアドレスデコーダとを備えた
マルチスレーブバスラインシステムに対して、前記マス
タデバイスと前記スレーブデバイスとの間のデータ転送
を制御する工程を備えたシリアル転送方法であって、 前記マスタデバイスから送信される論理アドレスに基づ
いて前記アドレスデコードテーブルを参照し前記アドレ
スデコーダから前記スイッチ制御回路にデータを供給し
て前記スイッチを制御し、前記スレーブデバイスが接続
される複数本のバスを選択して切り替えるバス切り替え
工程を有し、 前記バス切り替え工程は、 前記スレーブアドレスのデコードするビット幅を所定幅
に限定する工程と、 前記マスタデバイスから前記マスタバス上に送信され
た、データの送受信の対象となる前記スレーブデバイス
の論理アドレスを、前記アドレスデコードテーブルを参
照してデコードし、前記スレーブデバイスが接続された
スレーブバスと前 記マスタバスとが接続されるよう、ス
イッチ制御を行い、前記スレーブデバイスの実アドレス
に変換して前記スレーブバス上にスレーブアドレスを送
信し、データの送受信を行うという動作を実行する工程
を有する ことを特徴とするシリアル転送方法。
9. A master bus to which at least one or more master devices are connected, a plurality of slave buses to which at least one slave device is connected, and a plurality of slaves to the master bus at least one or more switches to ON or OFF the connection between the bus, and a switch control circuit for turning ON or OFF a switch for switching the slave bus, said
The logical address and real address of the slave device,
The bus number of the slave bus corresponding to the real address is low.
An address decode table described at least ,
Controlling a data transfer between the master device and the slave device to a multi-slave bus line system including an address decoder for performing a slave address decoding process with reference to the address decode table. A serial transfer method, wherein the slave device controls the switch by supplying data to the switch control circuit from the address decoder with reference to the address decode table based on a logical address transmitted from the master device, have a bus switching step of switching to select a plurality of buses connected, the bus switching step, the slave address decoding predetermined width bit wide
A step of limiting the, transmitted from the master device on the master bus
The slave device to be used for data transmission and reception
Refer to the address decode table.
And decodes it, and the slave device is connected
So that the slave bus and before Symbol master bus is connected, vinegar
Switch control to determine the actual address of the slave device.
And sends the slave address on the slave bus.
The step of performing an operation of transmitting and receiving data
Serial transfer method characterized by having a.
【請求項10】 前記バス切り替え工程は、前記スイッ
チ制御回路に供給するデータを、前記スレーブバス上に
設けた前記アドレスデコーダから供給する工程を有する
ことを特徴とする請求項8または9に記載のシリアル転
送方法。
10. The bus switching step according to claim 8 , further comprising the step of supplying data to be supplied to the switch control circuit from the address decoder provided on the slave bus. Serial transfer method.
【請求項11】 前記バス切り替え工程は、 前記マスタデバイスから前記マスタバス上に送信され
た、データの送受信の対象となる前記スレーブデバイス
の論理アドレスを、前記アドレスデコードテーブルを参
照してデコードする工程と、 前記スレーブデバイスが接続されたスレーブバスと前記
マスタバスとが接続されるように前記スイッチの制御を
行う工程と、 前記スレーブデバイスの実アドレスに変換して前記スレ
ーブバス上にスレーブアドレスを送信し、データの送受
信を行う工程とを有することを特徴とする請求項乃至
10のいずれか一項に記載のシリアル転送方法。
11. The bus switching step includes: decoding a logical address of the slave device, which is a target of data transmission and reception, transmitted from the master device onto the master bus, with reference to the address decode table. Controlling the switch so that the slave bus to which the slave device is connected and the master bus are connected; and converting the slave device into a real address of the slave device and transmitting a slave address on the slave bus; 8 through claim, characterized in that a step of transmitting and receiving data
Serial transfer method according to any one of 10.
【請求項12】 前記アドレスデコードテーブルを参照
し、前記マスタデバイスから送出される前記スレーブデ
バイスの論理アドレスに基づいて、接続する前記スレー
ブバスのバス番号及び/または前記スレーブデバイスの
実アドレスを生成するバスアドレスデコーダ工程を有す
ることを特徴とする請求項またはに記載のシリアル
転送方法。
12. A bus number of the slave bus to be connected and / or a real address of the slave device are generated based on a logical address of the slave device sent from the master device with reference to the address decode table. serial transfer method according to claim 8 or 9, characterized in that a bus address decoder process.
【請求項13】 前記バスアドレスデコーダ工程は、前
記バス番号を前記スイッチ制御回路に送信し、前記スイ
ッチをONまたはOFFする工程を有することを特徴と
する請求項10に記載のシリアル転送方法。
13. The serial transfer method according to claim 10 , wherein the bus address decoder step includes a step of transmitting the bus number to the switch control circuit and turning on or off the switch.
JP10349321A 1998-11-25 1998-11-25 Multi-slave bus line system and serial transfer method Expired - Fee Related JP3133732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10349321A JP3133732B2 (en) 1998-11-25 1998-11-25 Multi-slave bus line system and serial transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10349321A JP3133732B2 (en) 1998-11-25 1998-11-25 Multi-slave bus line system and serial transfer method

Publications (2)

Publication Number Publication Date
JP2000165421A JP2000165421A (en) 2000-06-16
JP3133732B2 true JP3133732B2 (en) 2001-02-13

Family

ID=18402994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10349321A Expired - Fee Related JP3133732B2 (en) 1998-11-25 1998-11-25 Multi-slave bus line system and serial transfer method

Country Status (1)

Country Link
JP (1) JP3133732B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101819235B1 (en) * 2011-06-08 2018-01-16 엘에스산전 주식회사 Parallel communication device

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100423998B1 (en) * 2001-07-05 2004-03-22 주식회사 휴로펙 field bus communication system
KR100975992B1 (en) * 2003-09-05 2010-08-17 매그나칩 반도체 유한회사 Network interface device
JP2005327223A (en) * 2004-05-13 2005-11-24 Hiroshi Nakanishi Serial instruction execution type computer using serial bus and bus switch
US7493433B2 (en) 2004-10-29 2009-02-17 International Business Machines Corporation System, method and storage medium for providing an inter-integrated circuit (I2C) slave with read/write access to random access memory
JP2006295557A (en) 2005-04-11 2006-10-26 Denso Corp Communication device
JP4631569B2 (en) 2005-07-12 2011-02-16 パナソニック株式会社 Communication system, master device and slave device used therefor, and communication method
KR100696111B1 (en) 2005-07-15 2007-03-20 삼성전자주식회사 Communication system
JP5103842B2 (en) * 2006-09-22 2012-12-19 富士ゼロックス株式会社 Serial communication control device and serial communication method
JP2008219707A (en) * 2007-03-07 2008-09-18 Fujitsu Telecom Networks Ltd Branched serial communication system
JP4978421B2 (en) * 2007-10-24 2012-07-18 セイコーエプソン株式会社 Data communication system and communication control device
JP2009116378A (en) * 2007-11-01 2009-05-28 Renesas Technology Corp Semiconductor device
US9239799B2 (en) * 2008-06-26 2016-01-19 Qualcomm Incorporated Memory management unit directed access to system interfaces
JP2012173963A (en) * 2011-02-21 2012-09-10 Sumitomo Electric Ind Ltd Optical transceiver
JP5871309B2 (en) * 2011-11-11 2016-03-01 Necプラットフォームズ株式会社 Bidirectional serial bus communication control method and bidirectional serial bus switch
JP6254517B2 (en) * 2014-12-22 2017-12-27 富士通フロンテック株式会社 Media handling device
CN104935487B (en) * 2015-05-14 2018-04-20 珠海格力电器股份有限公司 Slave monitoring method and device on bus
JP2018135060A (en) * 2017-02-23 2018-08-30 株式会社デンソー Crew member protection system
CN114257468A (en) * 2021-12-10 2022-03-29 湖北迅迪科技有限公司 System and method for realizing address distribution to slave equipment through RS-485 bus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101819235B1 (en) * 2011-06-08 2018-01-16 엘에스산전 주식회사 Parallel communication device

Also Published As

Publication number Publication date
JP2000165421A (en) 2000-06-16

Similar Documents

Publication Publication Date Title
JP3133732B2 (en) Multi-slave bus line system and serial transfer method
EP1142210B1 (en) Interface interlace
US7111097B2 (en) One wire serial communication protocol method and circuit
CN102023954B (en) Device with multiple I2C buses, processor, system main board and industrial controlled computer
JP2002232508A (en) Electronic device and method for automatically selecting interface protocol used by the electronic device
JP3843667B2 (en) Data transfer control device and electronic device
JP2016538624A (en) Coexistence of I2C slave device and camera control interface expansion device on shared control data bus
JP2004516576A (en) I2C bus control to disconnect selected IC for high-speed I2C bus communication
US20060200605A1 (en) Electronic apparatus system with master node and slave node
JPH1083375A (en) Scsi system
US9817705B2 (en) Method for enabling a communication between processes, processing system, integrated chip and module for such a chip
US7430618B2 (en) Data transfer control device and electronic equipment
US6275498B1 (en) Extended PHY addressing
CA2336385A1 (en) Improved inter-device serial bus protocol
CN116541329A (en) Data transmission method, device, equipment and medium
CN114996184B (en) Compatible implementation SPI or I 2 Interface module of slave C and data transmission method
JP2006304011A (en) Interface circuit
JP2001320390A (en) Device and method for controlling serial bus
JP2009130684A (en) Control signal communication method and optical transceiver device
US6112259A (en) Integrated circuit for direct memory access
JP4604956B2 (en) Information processing device
KR100225531B1 (en) Apparatus for interfacing between peripheral processor and device in the switching system
JP2002215566A (en) Data transmission bus system
CN117033292A (en) I based on APB bus control 2 C interrupt method
US20030033453A1 (en) Method and device for message communication for programmable controller

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071124

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081124

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081124

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091124

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091124

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101124

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121124

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees