WO2002063480A2 - I2c self bus switching device - Google Patents

I2c self bus switching device Download PDF

Info

Publication number
WO2002063480A2
WO2002063480A2 PCT/GB2002/000489 GB0200489W WO02063480A2 WO 2002063480 A2 WO2002063480 A2 WO 2002063480A2 GB 0200489 W GB0200489 W GB 0200489W WO 02063480 A2 WO02063480 A2 WO 02063480A2
Authority
WO
WIPO (PCT)
Prior art keywords
switch
bus
data connection
data
control unit
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.)
Ceased
Application number
PCT/GB2002/000489
Other languages
French (fr)
Other versions
WO2002063480A3 (en
Inventor
Michael Anton Barenys
Robert Allan Faust
Joel Gerard Goodwin
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.)
IBM United Kingdom Ltd
International Business Machines Corp
Original Assignee
IBM United Kingdom Ltd
International Business Machines 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 IBM United Kingdom Ltd, International Business Machines Corp filed Critical IBM United Kingdom Ltd
Priority to JP2002563355A priority Critical patent/JP3782994B2/en
Priority to AT02710178T priority patent/ATE490507T1/en
Priority to EP02710178A priority patent/EP1358564B1/en
Priority to DE60238468T priority patent/DE60238468D1/en
Publication of WO2002063480A2 publication Critical patent/WO2002063480A2/en
Publication of WO2002063480A3 publication Critical patent/WO2002063480A3/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Definitions

  • the present invention relates to computer bus architecture. More specifically, the present invention relates to Inter Integrated Circuit (I 2 C) buses.
  • I 2 C Inter Integrated Circuit
  • Philips Inter Integrated Circuit (I 2 C) bus is a bi-directional two-wire serial bus designed to exploit these similarities.
  • VPD Vital Product Data
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • I 2 C busses can connect a number of devices simultaneously to the same pair of bus wires.
  • a problem results when one of the devices malfunctions and pulls a bus signal (clock or data) low.
  • the bus will not operate and it is very difficult to determine which of the numerous devices connected to the I 2 C bus is responsible.
  • a similar problem occurs when one of the bus conductors becomes shorted to a low impedance source, such as, for example, ground.
  • the invention provides a bus switch module, comprising: a control unit with an input for receiving instructions from a bus driver; and a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein the control unit opens and closes the switch in response to instructions received from the bus driver; and signals received in the first data connection are passed to the second data connection only when the switch is closed.
  • an improved I 2 C bus is provided from which it is readily determinable the device that has malfunctioned resulting in the bus ceasing to operate.
  • the present invention preferably provides a bus switch module for use in a bus such as an I 2 C bus.
  • the switch module includes a control unit and a switch.
  • the control unit preferably includes an input for receiving instructions from a bus driver as to whether to close or open the switch.
  • the switch preferably includes a first and a second data connection which connect the switch to a first and a second segment of the bus and includes a control input for receiving commands from the control unit.
  • the control unit opens and closes the switch in response to instructions received from the bus driver and signals received in the first data connection are passed to the second data connection preferably only when the switch is closed in response to a command from the control unit.
  • the bus switch module allows a bus driver to isolate devices and switch modules connected in series by opening or closing the switch.
  • the bus switch module is a bi-directional switch capable of passing signals received at the second data connection to the first data connection and of passing signals received at the first data connection to the second data connection only when the switch is closed.
  • the switch is a first switch and the signals are first signals.
  • the bus switch module further comprises a second switch with a third and a fourth data connection which connect the switch to a third and a fourth segment of the bus.
  • the control unit opens and closes the second switch in response to instructions received from the bus driver and second signals received in the third data connection are passed to the fourth data connection only when the switch is closed.
  • the second switch is a bi-directional switch capable of passing signals received at the fourth data connection to the third data connection and of passing signals received at the third data connection to the fourth data connection only when the second switch is closed.
  • the switch is a clock switch for passing clock signals only when the clock switch is closed.
  • the switch is a data switch for passing data signals only when the data switch is closed.
  • the first switch is a clock switch for passing clock signals only when the clock switch is closed and the second switch is a data switch for passing data signals only when the data switch is closed.
  • the bus is an inter integrated circuit bus .
  • control unit includes a reset input and a reset module which, in response to receiving a reset signal from the bus driver, opens both switches.
  • the invention provides a bus for use in connecting electronic components, comprising: a bus driver; and a plurality of bus switch modules each connected by a plurality of bus lanes with at least one of the plurality bus switch modules connected to the bus driver; wherein each of the plurality of bus switch modules comprises: a control unit with an input for receiving instructions from a bus driver; and a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein the control unit opens and closes the switch in response to instructions received from the bus driver; and signals received in the first data connection are passed to the second data connection only when the switch is closed.
  • the invention provides a data processing system, comprising: a plurality of components; a bus communicably coupling the plurality of components wherein the bus comprises: a bus driver; and a plurality of bus switch modules each connected by a plurality of bus lanes with at least one of the plurality bus switch modules connected to the bus driver; wherein each of the plurality of bus switch modules comprises: a control unit with an input for receiving instructions from a bus driver; and a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein the control unit opens and closes the switch in response to instructions received from the bus driver; and signals received in the first data connection are passed to the second data connection only when the switch is closed.
  • Figure 1 depicts a pictorial representation of a data processing system in which a preferred embodiment of the present invention is implemented
  • Figure 2 depicts a block diagram of a data processing system in which a preferred embodiment of the present invention is implemented
  • Figure 3 depicts a schematic diagram illustrating a I 2 C self bus switching device in accordance with a preferred embodiment of the present invention.
  • FIG. 4 depicts a block diagram of an I 2 C bi-directional bus switch module in accordance with a preferred embodiment of the present invention.
  • a computer 100 which includes a system unit 110, a video display terminal 102, a keyboard 104, storage devices 108, which may include floppy drives and other types of permanent and removable storage media, and mouse 106. Additional input devices may be included with personal computer 100, such as, for example, a joystick, touchpad, touch screen, trackball, microphone, and the like.
  • Computer 100 can be implemented using any suitable computer, such as an IBM RS/6000 ® computer or IntelliStation ® computer, which are products of International Business Machines Corporation, located in Armonk, New York.
  • Computer 100 also preferably includes a graphical user interface that may be implemented by means of systems software residing in computer readable media in operation within computer 100.
  • Data processing system 200 is an example of a computer, such as computer 100 in Figure 1 , in which code or instructions implementing the processes of the preferred embodiment may be located.
  • Data processing system 200 employs an IC bus architecture.
  • the IC bus 248 is a bi-directional serial bus requiring only two wires: a serial data line (SDA) and a serial clock line (SCL) .
  • SDA serial data line
  • SCL serial clock line
  • serial buses do not have the throughput capability of parallel buses, serial buses require less wiring and fewer Integrated Circuit (IC) connector pins.
  • Each device (processor 202, electronically erasable and programmable read only memory (EEPROM) 240, temperature sensor 242, and any other I 2 C device 244) connected to I 2 C bus 248 is software addressable by a unique address .
  • the devices can operate as either transmitters or receivers .
  • All I 2 C bus compatible devices have an on-chip interface which allows the devices to communicate directly with each other via the I 2 C bus 248.
  • a simple master/slave relationship exists at all times.
  • a master is a device which initiates a data transfer and the clock signals to permit the transfer, and any device addressed at the time of transfer is considered a slave.
  • the I 2 C bus is a multimaster bus, meaning more than one device capable of controlling the bus can be connected to it. However, the preferred embodiment is operated in a single-master mode. Typical I 2 C local bus implementations will support three or four I 2 C expansion slots or add- in connectors .
  • PCI local bus 206 Processor 202 and main memory 204 are connected to PCI local bus 206 through PCI bridge 208.
  • PCI bridge 208 also may include an integrated memory controller and cache memory for processor 202. Additional connections to PCI local bus 206 may be made through direct component interconnection or through add- in boards.
  • local area network (LAN) adapter 210, small computer system interface SCSI host bus adapter 212, and expansion bus interface 214 are connected to local bus 206 by direct component connection.
  • audio adapter 216, graphics adapter 218, and audio/video adapter 219 are connected to local bus 206 by add- in boards inserted into expansion slots.
  • Expansion bus interface 214 provides a connection for a keyboard and mouse adapter 220, modem 222, and additional memory 224.
  • SCSI host bus adapter 212 provides a connection for hard disk drive 226, tape drive 228, and CD-ROM drive 230.
  • An operating system runs on processor 202 and is used to coordinate and provide control of various components within data processing system 200 in Figure 2.
  • the operating system may be a commercially available operating system such as Windows ® 2000, which is available from Microsoft ® Corporation (Windows and Microsoft are registered trademarks of Microsoft Corporation in the United States and/or other countries) .
  • An object oriented programming system such as JavaTM may run in conjunction with the operating system and provides calls to the operating system from Java programs or applications executing on data processing system 200. "Java” is a trademark of Sun Microsystems, Inc. Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive 226, and may be loaded into main memory 204 for execution by processor 202.
  • data processing system 200 may not include SCSI host bus adapter 212, hard disk drive 226, tape drive 228, and CD-ROM 230, as noted by dotted line 232 in Figure 2 denoting optional inclusion.
  • the computer to be properly called a client computer, preferably includes some type of network communication interface, such as LAN adapter 210, modem 222, or the like.
  • data processing system 200 may be a stand-alone system configured to be bootable without relying on some type of network communication interface, whether or not data processing system 200 comprises some type of network communication interface.
  • data processing system 200 may be a personal digital assistant (PDA) , which is configured with ROM and/or flash ROM to provide non-volatile memory for storing operating system files and/or user-generated data.
  • PDA personal digital assistant
  • data processing system 200 also may be a notebook computer or hand held computer in addition to taking the form of a PDA.
  • data processing system 200 also may be a kiosk or a Web appliance.
  • 202 using computer implemented instructions, which may be located in a memory such as, for example, main memory 204, memory 224, or in one or more peripheral devices 226-230.
  • a memory such as, for example, main memory 204, memory 224, or in one or more peripheral devices 226-230.
  • I 2 C buses can connect a number of devices simultaneously to the same pair of bus wires.
  • a problem results when one of the devices malfunctions and pulls a bus signal (clock or data) low.
  • the I 2 C bus will not operate in this situation, and it is difficult to determine which device is causing the problem.
  • a similar problem occurs when one of the I 2 C bus conductors becomes shorted to a low impedance source, such as ground.
  • the solution to these problems is to break the bus into sections in order to determine which section contains the fault. This can be accomplished with the I 2 C self bus switching device.
  • the I 2 C self bus switching device monitors the IC bus and responds to its own address.
  • the device also passes bus signals through if its switches are turned on. "On” means that the circuit is closed (i.e. the devices downstream from the switch will be connected to the bus and can see the bus traffic) .
  • the switch is "off" the downstream devices are disconnected from the bus.
  • the device can be commanded to turn its switches on or off, and the switches can also be turned off independent of the IC bus by the switch reset signal.
  • An eight-pin package permits one address bit to be programmed. This allows switch devices to deal with a bus that has a forked path. A larger pin package can have more address options.
  • I 2 C bus 390 may be implemented as, for example, I 2 C bus 248 in Figure 2.
  • the bus driver 300 can communicate with the four main devices 311-314, plus switches 301-304. If a fault occurs on the I 2 C bus, the system will assert a signal to reset all of the switches 301-304.
  • the bus master will send a bus command on a predefined address to indicate that switch 301 should turn on. Since only switch 301 can see this command (switch 302 is disconnected) , switch 301 operates but switch 302 does not, since the off condition of switch 301 prevented switch 302 from seeing the command. This switch-on command connects the device 311 and switch 302 to the bus. If a fault now exists, it is located in device 311, switch 302, or on the bus connectors 321-324 just switched on.
  • switches 301 and 302 will see this command, but switch 301 will not change its switch status since it is already on.
  • Switch 302 will respond to the command, and will then connect device 312 to the bus. If a fault occurs, it is located in device 312 or on the bus connectors 325 and 326. This process is continued with the switches 303 and 304 and devices 313 and 314. In this example, switches 301 and 303 are connected in parallel, but switch 303 has an address bit pulled down, which makes its predefined address different from that of switch 301.
  • switches have been described herein as either separate chips or incorporated into the I 2 C bus itself, the switches could also be incorporated into one of the devices connected to the I 2 C bus. Furthermore, the switch could be incorporated into an existing switch on an I 2 C device with separate signals and/or commands to indicate which switching function that the switch should perform. Thus, the present invention is not limited to the specific embodiment described herein.
  • I 2 C bi-directional bus switch module 400 may be implemented as, for example, any of switches 301-304 in Figure 3.
  • switch module 400 is an eight pin 404-418 package that includes control unit 402 and switches 420-422. For clarity, not all connections, such as power connections, within switch module 400 are shown.
  • Pin 404 is a voltage input pin connected, in one embodiment, to a 5 volt power source. Pin 412 is connected to ground. Control unit 402 will respond to a predefined address, one bit of which is determined by pin 418 being pulled high or low. Thus, the bus driver may direct certain data or instructions to a particular switch module.
  • Pin 416 receives clock signals from a bus driver and passes these signals to control unit 402 as well as to clock signal switch 422.
  • Clock signal switch 422 can be closed or opened by control unit 402 as directed by a bus driver. If clock signal switch 422 is open, any clock signals received via pin 416 are prevented from being sent to downstream switch modules or devices. If clock signal switch 422 is closed, then any clock signal received via pin 416 is still received by control unit 402 but in addition, the signal is passed downstream to other switch modules and/or devices via pin 414.
  • Clock signal switch 422 may also receive signals from pin 414 which may be passed to control unit 402 as well as upstream to other switch modules, devices, and/or the bus driver via pin 416 if clock signal switch 422 is closed and are prevented from being passed upstream if clock signal switch 422 is open.
  • Pin 408 receives data signals from a bus driver and passes these data signals to both the control unit 402 and data signal switch 420. If control unit 402 has been instructed by the bus driver to close data signal switch 420, then data signals received via pin 408 are still received by control unit 402 but in addition, the signals are passed downstream to other switch modules and/or devices by data signal switch 420 via pin 410. If control unit 402 has been instructed by the bus driver to open data signal switch 420, then data signals received via pin 408 are prevented from being passed downstream by data signal switch 420. Similarly, any data signals received from downstream by data signal switch 420 via pin 410 are passed or prevented from being passed upstream to other switch modules, devices, and/or the bus driver depending on whether data signal switch 420 has been closed or opened by control unit 402.
  • Switch module 400 also includes a pin 406 which receives switch reset signals from the bus driver and passes these signals to control unit 402. If a switch reset signal is received by control unit 402, both switches 420-422 are opened. By doing this, the bus driver can reset all switch modules at once in response to a malfunctioning device or switch module that has caused the I 2 C bus cease functioning properly and then determine which of the devices has caused the problem by selectively turning on switch modules until the malfunctioning device or switch is found .
  • bi-directional bus switch module depicted herein is given merely by way of example and is not intended as an architectural limitation to the present invention.
  • Other embodiments of a bus switch may, for example, include different numbers of pins and include other components not shown .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Debugging And Monitoring (AREA)
  • Small-Scale Networks (AREA)
  • Current-Collector Devices For Electrically Propelled Vehicles (AREA)
  • Information Transfer Systems (AREA)

Abstract

A bus switch module for use in a bus such as an I²C bus is provided. In one embodiment, the switch module includes a control unit and a switch. The control unit includes an input for receiving instructions from a bus driver as to whether to close or open the switch. The switch includes a first and a second data connection which connect the switch to a first and a second segment of the bus and includes a control input for receiving commands from the control unit. The control unit opens and closes the switch in response to instructions received from the bus driver and signals received in the first data connection are passed to the second data connection only when the switch is closed in response to a command from the control unit. Thus, the bus switch module allows a bus driver to isolate devices and switch modules connected in series by opening or closing the switch.

Description

I2C SELF BUS SWITCHING DEVICE
BACKGROUND OF THE INVENTION
Technical Field
The present invention relates to computer bus architecture. More specifically, the present invention relates to Inter Integrated Circuit (I2C) buses.
Description of Related Art
Many similarities exist between seemingly unrelated designs in consumer, industrial and telecommunication electronics. Examples of similarities include intelligent control, general-purpose circuits (i.e. LCD drivers, I/O ports, RAM) and application-oriented circuits. The
Philips Inter Integrated Circuit (I2C) bus is a bi-directional two-wire serial bus designed to exploit these similarities.
Devices on the I2C bus are accessed by individual addresses, 00-FP (even addresses for Writes, odd addresses for reads) . The I2C architecture can be used for a variety of functions. One example is Vital Product Data (VPD) . Each component in the system contains a small Electrically Erasable Programmable Read Only Memory (EEPROM) (typically 256 bytes) which contains the VPD information such as serial numbers, part numbers, and EC revision level.
I2C busses can connect a number of devices simultaneously to the same pair of bus wires. However, a problem results when one of the devices malfunctions and pulls a bus signal (clock or data) low. The bus will not operate and it is very difficult to determine which of the numerous devices connected to the I2C bus is responsible. A similar problem occurs when one of the bus conductors becomes shorted to a low impedance source, such as, for example, ground.
SUMMARY OF THE INVENTION
Accordingly, the invention provides a bus switch module, comprising: a control unit with an input for receiving instructions from a bus driver; and a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein the control unit opens and closes the switch in response to instructions received from the bus driver; and signals received in the first data connection are passed to the second data connection only when the switch is closed.
Preferably an improved I2C bus is provided from which it is readily determinable the device that has malfunctioned resulting in the bus ceasing to operate.
The present invention preferably provides a bus switch module for use in a bus such as an I2C bus. In one embodiment, the switch module includes a control unit and a switch. The control unit preferably includes an input for receiving instructions from a bus driver as to whether to close or open the switch. The switch preferably includes a first and a second data connection which connect the switch to a first and a second segment of the bus and includes a control input for receiving commands from the control unit. In a preferred embodiment the control unit opens and closes the switch in response to instructions received from the bus driver and signals received in the first data connection are passed to the second data connection preferably only when the switch is closed in response to a command from the control unit. Thus, the bus switch module allows a bus driver to isolate devices and switch modules connected in series by opening or closing the switch.
In a preferred embodiment, the bus switch module is a bi-directional switch capable of passing signals received at the second data connection to the first data connection and of passing signals received at the first data connection to the second data connection only when the switch is closed.
Preferably the switch is a first switch and the signals are first signals. In a preferred embodiment, the bus switch module further comprises a second switch with a third and a fourth data connection which connect the switch to a third and a fourth segment of the bus. Preferably the control unit opens and closes the second switch in response to instructions received from the bus driver and second signals received in the third data connection are passed to the fourth data connection only when the switch is closed.
In a preferred embodiment, the second switch is a bi-directional switch capable of passing signals received at the fourth data connection to the third data connection and of passing signals received at the third data connection to the fourth data connection only when the second switch is closed. Preferably the switch is a clock switch for passing clock signals only when the clock switch is closed.
In a preferred embodiment the switch is a data switch for passing data signals only when the data switch is closed.
Preferably, the first switch is a clock switch for passing clock signals only when the clock switch is closed and the second switch is a data switch for passing data signals only when the data switch is closed.
In a preferred embodiment, the bus is an inter integrated circuit bus .
Preferably the control unit includes a reset input and a reset module which, in response to receiving a reset signal from the bus driver, opens both switches.
According to one embodiment, the invention provides a bus for use in connecting electronic components, comprising: a bus driver; and a plurality of bus switch modules each connected by a plurality of bus lanes with at least one of the plurality bus switch modules connected to the bus driver; wherein each of the plurality of bus switch modules comprises: a control unit with an input for receiving instructions from a bus driver; and a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein the control unit opens and closes the switch in response to instructions received from the bus driver; and signals received in the first data connection are passed to the second data connection only when the switch is closed.
According to one embodiment, the invention provides a data processing system, comprising: a plurality of components; a bus communicably coupling the plurality of components wherein the bus comprises: a bus driver; and a plurality of bus switch modules each connected by a plurality of bus lanes with at least one of the plurality bus switch modules connected to the bus driver; wherein each of the plurality of bus switch modules comprises: a control unit with an input for receiving instructions from a bus driver; and a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein the control unit opens and closes the switch in response to instructions received from the bus driver; and signals received in the first data connection are passed to the second data connection only when the switch is closed. BRIEF DESCRIPTION OF THE DRAWINGS
A preferred embodiment of the present invention will now be described by way of example only and with reference to the following drawings :
Figure 1 depicts a pictorial representation of a data processing system in which a preferred embodiment of the present invention is implemented;
Figure 2 depicts a block diagram of a data processing system in which a preferred embodiment of the present invention is implemented;
Figure 3 depicts a schematic diagram illustrating a I2C self bus switching device in accordance with a preferred embodiment of the present invention; and
Figure 4 depicts a block diagram of an I2C bi-directional bus switch module in accordance with a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
With reference now to the figures and in particular with reference to Figure 1, a pictorial representation of a data processing system in which a preferred embodiment of the present invention is implemented is depicted. A computer 100 is depicted which includes a system unit 110, a video display terminal 102, a keyboard 104, storage devices 108, which may include floppy drives and other types of permanent and removable storage media, and mouse 106. Additional input devices may be included with personal computer 100, such as, for example, a joystick, touchpad, touch screen, trackball, microphone, and the like. Computer 100 can be implemented using any suitable computer, such as an IBM RS/6000® computer or IntelliStation® computer, which are products of International Business Machines Corporation, located in Armonk, New York. Although the depicted representation shows a computer, other embodiments of the present invention may be implemented in other types of data processing systems, such as a network computer. Computer 100 also preferably includes a graphical user interface that may be implemented by means of systems software residing in computer readable media in operation within computer 100.
With reference now to Figure 2, a block diagram of a data processing system is shown in which a preferred embodiment of the present invention is implemented. Data processing system 200 is an example of a computer, such as computer 100 in Figure 1 , in which code or instructions implementing the processes of the preferred embodiment may be located. Data processing system 200 employs an IC bus architecture. The IC bus 248 is a bi-directional serial bus requiring only two wires: a serial data line (SDA) and a serial clock line (SCL) . Although serial buses do not have the throughput capability of parallel buses, serial buses require less wiring and fewer Integrated Circuit (IC) connector pins. Each device (processor 202, electronically erasable and programmable read only memory (EEPROM) 240, temperature sensor 242, and any other I2C device 244) connected to I2C bus 248 is software addressable by a unique address . The devices can operate as either transmitters or receivers . All I2C bus compatible devices have an on-chip interface which allows the devices to communicate directly with each other via the I2C bus 248. A simple master/slave relationship exists at all times. A master is a device which initiates a data transfer and the clock signals to permit the transfer, and any device addressed at the time of transfer is considered a slave. The I2C bus is a multimaster bus, meaning more than one device capable of controlling the bus can be connected to it. However, the preferred embodiment is operated in a single-master mode. Typical I2C local bus implementations will support three or four I2C expansion slots or add- in connectors .
Processor 202 and main memory 204 are connected to PCI local bus 206 through PCI bridge 208. PCI bridge 208 also may include an integrated memory controller and cache memory for processor 202. Additional connections to PCI local bus 206 may be made through direct component interconnection or through add- in boards. In the depicted example, local area network (LAN) adapter 210, small computer system interface SCSI host bus adapter 212, and expansion bus interface 214 are connected to local bus 206 by direct component connection. In contrast, audio adapter 216, graphics adapter 218, and audio/video adapter 219 are connected to local bus 206 by add- in boards inserted into expansion slots. Expansion bus interface 214 provides a connection for a keyboard and mouse adapter 220, modem 222, and additional memory 224. SCSI host bus adapter 212 provides a connection for hard disk drive 226, tape drive 228, and CD-ROM drive 230.
An operating system runs on processor 202 and is used to coordinate and provide control of various components within data processing system 200 in Figure 2. The operating system may be a commercially available operating system such as Windows® 2000, which is available from Microsoft® Corporation (Windows and Microsoft are registered trademarks of Microsoft Corporation in the United States and/or other countries) . An object oriented programming system such as Java™ may run in conjunction with the operating system and provides calls to the operating system from Java programs or applications executing on data processing system 200. "Java" is a trademark of Sun Microsystems, Inc. Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive 226, and may be loaded into main memory 204 for execution by processor 202.
Those of ordinary skill in the art will appreciate that the hardware in Figure 2 may vary depending on the implementation. Other internal hardware or peripheral devices, such as flash ROM (or equivalent nonvolatile memory) or optical disk drives and the like, may be used in addition to or in place of the hardware depicted in Figure 2. Also, the processes of the preferred embodiment may be applied to a multiprocessor data processing system.
For example, data processing system 200, if optionally configured as a network computer, may not include SCSI host bus adapter 212, hard disk drive 226, tape drive 228, and CD-ROM 230, as noted by dotted line 232 in Figure 2 denoting optional inclusion. In that case, the computer, to be properly called a client computer, preferably includes some type of network communication interface, such as LAN adapter 210, modem 222, or the like. As another example, data processing system 200 may be a stand-alone system configured to be bootable without relying on some type of network communication interface, whether or not data processing system 200 comprises some type of network communication interface. As a further example, data processing system 200 may be a personal digital assistant (PDA) , which is configured with ROM and/or flash ROM to provide non-volatile memory for storing operating system files and/or user-generated data.
The depicted example in Figure 2 and above-described examples are not meant to imply architectural limitations. For example, data processing system 200 also may be a notebook computer or hand held computer in addition to taking the form of a PDA. Data processing system 200 also may be a kiosk or a Web appliance.
The processes of the preferred embodiment are performed by processor
202 using computer implemented instructions, which may be located in a memory such as, for example, main memory 204, memory 224, or in one or more peripheral devices 226-230.
I2C buses can connect a number of devices simultaneously to the same pair of bus wires. However, a problem results when one of the devices malfunctions and pulls a bus signal (clock or data) low. The I2C bus will not operate in this situation, and it is difficult to determine which device is causing the problem. A similar problem occurs when one of the I2C bus conductors becomes shorted to a low impedance source, such as ground. The solution to these problems is to break the bus into sections in order to determine which section contains the fault. This can be accomplished with the I2C self bus switching device.
The I2C self bus switching device monitors the IC bus and responds to its own address. The device also passes bus signals through if its switches are turned on. "On" means that the circuit is closed (i.e. the devices downstream from the switch will be connected to the bus and can see the bus traffic) . When the switch is "off", the downstream devices are disconnected from the bus. The device can be commanded to turn its switches on or off, and the switches can also be turned off independent of the IC bus by the switch reset signal. An eight-pin package, for example, permits one address bit to be programmed. This allows switch devices to deal with a bus that has a forked path. A larger pin package can have more address options.
Referring now to Figure 3, a schematic diagram illustrating a I2C self bus switching device is depicted in accordance with a preferred embodiment of the present invention. I2C bus 390 may be implemented as, for example, I2C bus 248 in Figure 2. The bus driver 300 can communicate with the four main devices 311-314, plus switches 301-304. If a fault occurs on the I2C bus, the system will assert a signal to reset all of the switches 301-304. The bus master will send a bus command on a predefined address to indicate that switch 301 should turn on. Since only switch 301 can see this command (switch 302 is disconnected) , switch 301 operates but switch 302 does not, since the off condition of switch 301 prevented switch 302 from seeing the command. This switch-on command connects the device 311 and switch 302 to the bus. If a fault now exists, it is located in device 311, switch 302, or on the bus connectors 321-324 just switched on.
If no fault exists, the bus master can once again send a command to the predefined address. Both switches 301 and 302 will see this command, but switch 301 will not change its switch status since it is already on. Switch 302 will respond to the command, and will then connect device 312 to the bus. If a fault occurs, it is located in device 312 or on the bus connectors 325 and 326. This process is continued with the switches 303 and 304 and devices 313 and 314. In this example, switches 301 and 303 are connected in parallel, but switch 303 has an address bit pulled down, which makes its predefined address different from that of switch 301.
Although the switches have been described herein as either separate chips or incorporated into the I2C bus itself, the switches could also be incorporated into one of the devices connected to the I2C bus. Furthermore, the switch could be incorporated into an existing switch on an I2C device with separate signals and/or commands to indicate which switching function that the switch should perform. Thus, the present invention is not limited to the specific embodiment described herein.
With reference now to Figure 4, a block diagram of an I2C bi-directional bus switch module is depicted in accordance with a preferred embodiment of the present invention. I2C bi-directional bus switch module 400 may be implemented as, for example, any of switches 301-304 in Figure 3. In the depicted example, switch module 400 is an eight pin 404-418 package that includes control unit 402 and switches 420-422. For clarity, not all connections, such as power connections, within switch module 400 are shown.
Pin 404 is a voltage input pin connected, in one embodiment, to a 5 volt power source. Pin 412 is connected to ground. Control unit 402 will respond to a predefined address, one bit of which is determined by pin 418 being pulled high or low. Thus, the bus driver may direct certain data or instructions to a particular switch module.
Pin 416 receives clock signals from a bus driver and passes these signals to control unit 402 as well as to clock signal switch 422. Clock signal switch 422 can be closed or opened by control unit 402 as directed by a bus driver. If clock signal switch 422 is open, any clock signals received via pin 416 are prevented from being sent to downstream switch modules or devices. If clock signal switch 422 is closed, then any clock signal received via pin 416 is still received by control unit 402 but in addition, the signal is passed downstream to other switch modules and/or devices via pin 414. Clock signal switch 422 may also receive signals from pin 414 which may be passed to control unit 402 as well as upstream to other switch modules, devices, and/or the bus driver via pin 416 if clock signal switch 422 is closed and are prevented from being passed upstream if clock signal switch 422 is open.
Pin 408 receives data signals from a bus driver and passes these data signals to both the control unit 402 and data signal switch 420. If control unit 402 has been instructed by the bus driver to close data signal switch 420, then data signals received via pin 408 are still received by control unit 402 but in addition, the signals are passed downstream to other switch modules and/or devices by data signal switch 420 via pin 410. If control unit 402 has been instructed by the bus driver to open data signal switch 420, then data signals received via pin 408 are prevented from being passed downstream by data signal switch 420. Similarly, any data signals received from downstream by data signal switch 420 via pin 410 are passed or prevented from being passed upstream to other switch modules, devices, and/or the bus driver depending on whether data signal switch 420 has been closed or opened by control unit 402.
Switch module 400 also includes a pin 406 which receives switch reset signals from the bus driver and passes these signals to control unit 402. If a switch reset signal is received by control unit 402, both switches 420-422 are opened. By doing this, the bus driver can reset all switch modules at once in response to a malfunctioning device or switch module that has caused the I2C bus cease functioning properly and then determine which of the devices has caused the problem by selectively turning on switch modules until the malfunctioning device or switch is found .
The bi-directional bus switch module depicted herein is given merely by way of example and is not intended as an architectural limitation to the present invention. Other embodiments of a bus switch may, for example, include different numbers of pins and include other components not shown .

Claims

1. A bus switch module, comprising:
a control unit with an input for receiving instructions from a bus driver; and
a switch with a first and a second data connection which connect the switch to a first and a second segment of a bus; wherein
the control unit opens and closes the switch in response to instructions received from the bus driver; and
signals received in the first data connection are passed to the second data connection only when the switch is closed.
2. The bus switch module as recited in claim 1, wherein the switch is a bi-directional switch capable of passing signals received at the second data connection to the first data connection and of passing signals received at the first data connection to the second data connection only when the switch is closed.
3. The bus switch module as recited in claim 1, wherein the switch is a first switch and the signals are first signals, further comprising:
a second switch with a third and a fourth data connection which connect the switch to a third and a fourth segment of the bus; wherein
the control unit opens and closes the second switch in response to instructions received from the bus driver; and
second signals received in the third data connection are passed to the fourth data connection only when the switch is closed.
4. The bus switch module as recited in claim 3, wherein the second switch is a bi-directional switch capable of passing signals received at the fourth data connection to the third data connection and of passing signals received at the third data connection to the fourth data connection only when the second switch is closed.
5. The bus switch module as recited in claim 1, wherein the switch is a clock switch for passing clock signals only when the clock switch is closed.
6. The bus switch module as recited in claim 1, wherein the switch is a data switch for passing data signals only when the data switch is closed.
7. The bus switch module as recited in claim 3, wherein the first switch is a clock switch for passing clock signals only when the clock switch is closed and the second switch is a data switch for passing data signals only when the data switch is closed.
8. The bus switch module as recited in claim 1, wherein the bus is an inter integrated circuit bus.
9. The bus switch module as recited in claim 1, wherein the control unit includes a reset input and a reset module which, in response to receiving a reset signal from the bus driver, opens both switches.
10. A bus for use in connecting electronic components, comprising:
a bus driver; and
a plurality of bus switch modules each as claimed in any of claims 1 to 9 and each connected by a plurality of bus lanes with at least one of the plurality bus switch modules connected to the bus driver.
11. A data processing system, comprising:
a plurality of components; and
a bus as claimed in claim 10 communicably coupling the plurality of components .
PCT/GB2002/000489 2001-02-08 2002-02-04 I2c self bus switching device Ceased WO2002063480A2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002563355A JP3782994B2 (en) 2001-02-08 2002-02-04 Computer bus architecture
AT02710178T ATE490507T1 (en) 2001-02-08 2002-02-04 SYSTEM WITH I2C SELF-BUS SWITCHING DEVICES
EP02710178A EP1358564B1 (en) 2001-02-08 2002-02-04 System having i2c self bus switching devices
DE60238468T DE60238468D1 (en) 2001-02-08 2002-02-04 SYSTEM WITH I2C SELF-BUS SWITCHES

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/779,364 US6725320B1 (en) 2001-02-08 2001-02-08 I2C bus switching devices interspersed between I2C devices
US09/779,364 2001-02-08

Publications (2)

Publication Number Publication Date
WO2002063480A2 true WO2002063480A2 (en) 2002-08-15
WO2002063480A3 WO2002063480A3 (en) 2003-03-06

Family

ID=25116201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2002/000489 Ceased WO2002063480A2 (en) 2001-02-08 2002-02-04 I2c self bus switching device

Country Status (7)

Country Link
US (1) US6725320B1 (en)
EP (1) EP1358564B1 (en)
JP (1) JP3782994B2 (en)
AT (1) ATE490507T1 (en)
DE (1) DE60238468D1 (en)
TW (1) TW571196B (en)
WO (1) WO2002063480A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085863B2 (en) * 2003-10-30 2006-08-01 International Business Machines Corporation I2C device including bus switches and programmable address
EP1791061A1 (en) * 2005-11-26 2007-05-30 Wolfson Microelectronics Plc Audio bus circuit
US9111052B2 (en) 2011-12-20 2015-08-18 Fujitsu Limited Control system for controlling electronic circuit, and signal relaying apparatus

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7092041B2 (en) * 2000-12-20 2006-08-15 Thomson Licensing I2C bus control for isolating selected IC's for fast I2C bus communication
DE10126749A1 (en) * 2001-05-31 2003-01-23 Wittenstein Ag Data processing structure
US6868468B2 (en) * 2002-02-14 2005-03-15 Standard Microsystems Corporation Switchable hot-docking interface for a portable computer for hot-docking the portable computer to a docking station
US7016993B2 (en) * 2002-12-17 2006-03-21 Inventec Corporation I2C MUX with anti-lock device
US20040255070A1 (en) * 2003-06-12 2004-12-16 Larson Thane M. Inter-integrated circuit router for supporting independent transmission rates
US7304905B2 (en) * 2004-05-24 2007-12-04 Intel Corporation Throttling memory in response to an internal temperature of a memory device
JP2006129235A (en) * 2004-10-29 2006-05-18 Tokyo Electron Device Ltd Network system, master device, slave device, network system startup control method.
KR100620964B1 (en) * 2005-01-07 2006-09-14 삼성전자주식회사 Image display device capable of analog / digital tuning by DV tuner and its analog / digital tuning method
US7478286B2 (en) * 2005-04-08 2009-01-13 Linear Technology Corporation Circuit and method of detecting and resolving stuck I2C buses
TWM289939U (en) * 2005-11-25 2006-04-21 Tatung Co Audio/video switching circuit using I2C bus control
TWI335528B (en) * 2007-05-15 2011-01-01 Htc Corp A device with multiple functions, and a method for switching the functions and related electronic devices thereof
US20090119420A1 (en) * 2007-11-06 2009-05-07 International Business Machines Corporation Apparatus and method for scaleable expanders in systems management
WO2010002397A1 (en) 2008-07-01 2010-01-07 Hewlett-Packard Development Company, L.P. Segmenting bus topology
JP2010157995A (en) * 2008-12-01 2010-07-15 Ricoh Co Ltd Electronic apparatus and signal disconnection/connection method
US8521942B2 (en) 2011-03-21 2013-08-27 Microsoft Corporation HID over simple peripheral buses
US9256570B2 (en) * 2011-08-05 2016-02-09 Linear Technology Corporation I2C isolated, bidirectional communication system with isolated domain current source pull-ups
US8725916B2 (en) 2012-01-07 2014-05-13 Microsoft Corporation Host side implementation for HID I2C data bus
JP2013257465A (en) * 2012-06-13 2013-12-26 Sumitomo Electric Ind Ltd Optical transceiver
WO2014155721A1 (en) 2013-03-29 2014-10-02 富士通株式会社 Connection control apparatus, information processing apparatus, and connection control method
US20160335213A1 (en) * 2015-05-13 2016-11-17 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Motherboard with multiple interfaces
RU2620729C1 (en) * 2016-04-06 2017-05-29 Федеральное государственное бюджетное учреждение науки Институт проблем управления им. В.А. Трапезникова Российской академии наук Digital data collection system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0697663A2 (en) 1994-08-10 1996-02-21 AT&T Corp. Apparatus and method for computerprocessing using an enhanced harvard architecture

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4016546A (en) * 1974-10-30 1977-04-05 Motorola, Inc. Bus switch coupling for series-coupled address bus sections in a microprocessor
US5473264A (en) * 1992-11-13 1995-12-05 Apple Computer, Inc. Methods and apparatus for electrically terminating a high speed communications pathway
DE19621272A1 (en) * 1996-05-25 1997-11-27 Bosch Gmbh Robert Addressing device for a slave station of a serial bus system and method for addressing a slave station
TW362178B (en) * 1997-01-30 1999-06-21 Nxp Bv Electronic apparatus
US5892933A (en) 1997-03-31 1999-04-06 Compaq Computer Corp. Digital bus
US5946495A (en) 1997-04-08 1999-08-31 Compaq Computer Corp. Data communication circuit for controlling data communication between redundant power supplies and peripheral devices
KR100224965B1 (en) * 1997-07-10 1999-10-15 윤종용 The diagnostic/control system using the multi-level i2c bus
EP0892352B1 (en) 1997-07-18 2005-04-13 Bull S.A. Computer system with a bus having a segmented structure
US5968158A (en) * 1997-10-06 1999-10-19 International Business Machines Corporation Apparatus including a host processor and communications adapters interconnected with a bus, with improved transfer of interrupts between the adapters and host processor
US6339806B1 (en) * 1999-03-23 2002-01-15 International Business Machines Corporation Primary bus to secondary bus multiplexing for I2C and other serial buses

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0697663A2 (en) 1994-08-10 1996-02-21 AT&T Corp. Apparatus and method for computerprocessing using an enhanced harvard architecture

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085863B2 (en) * 2003-10-30 2006-08-01 International Business Machines Corporation I2C device including bus switches and programmable address
EP1791061A1 (en) * 2005-11-26 2007-05-30 Wolfson Microelectronics Plc Audio bus circuit
US7376778B2 (en) 2005-11-26 2008-05-20 Wolfson Microelectronics Plc Audio device
US9111052B2 (en) 2011-12-20 2015-08-18 Fujitsu Limited Control system for controlling electronic circuit, and signal relaying apparatus

Also Published As

Publication number Publication date
JP3782994B2 (en) 2006-06-07
WO2002063480A3 (en) 2003-03-06
TW571196B (en) 2004-01-11
JP2004528627A (en) 2004-09-16
EP1358564B1 (en) 2010-12-01
ATE490507T1 (en) 2010-12-15
EP1358564A2 (en) 2003-11-05
US6725320B1 (en) 2004-04-20
DE60238468D1 (en) 2011-01-13

Similar Documents

Publication Publication Date Title
US6725320B1 (en) I2C bus switching devices interspersed between I2C devices
US6769078B2 (en) Method for isolating an I2C bus fault using self bus switching device
US7085863B2 (en) I2C device including bus switches and programmable address
US6745270B1 (en) Dynamically allocating I2C addresses using self bus switching device
US5909586A (en) Methods and systems for interfacing with an interface powered I/O device
US7890690B2 (en) System and method for dual-ported flash memory
US5964855A (en) Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
US6505272B1 (en) Intelligent backplane for serial storage architectures
US6339806B1 (en) Primary bus to secondary bus multiplexing for I2C and other serial buses
WO2002077835A1 (en) Communication control semiconductor device and interface system
US11513981B2 (en) PCIe link management without sideband signals
CN100559312C (en) Programmable logic controller device
US5550990A (en) Physical partitioning of logically continuous bus
US6438624B1 (en) Configurable I/O expander addressing for I/O drawers in a multi-drawer rack server system
US7099966B2 (en) Point-to-point electrical loading for a multi-drop bus
CN1282932C (en) A method for accessing small-package live-line swapping optical module by CPU
US20090119420A1 (en) Apparatus and method for scaleable expanders in systems management
MXPA02009213A (en) A communication interface system, method and apparatus.
US12130765B2 (en) Sharing communication lines among multiple buses
US6919878B2 (en) Keyboard/mouse switching controller
US20060095626A1 (en) Multifunction adapter
US6177808B1 (en) Integration of bidirectional switches with programmable logic
JP2003141062A (en) IIC bus control system
CN112947287A (en) Control method, controller and electronic equipment
US7467252B2 (en) Configurable I/O bus architecture

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
AK Designated states

Kind code of ref document: A3

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

WWE Wipo information: entry into national phase

Ref document number: 1-2003-500703

Country of ref document: PH

WWE Wipo information: entry into national phase

Ref document number: 2002710178

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2002563355

Country of ref document: JP

WWP Wipo information: published in national office

Ref document number: 2002710178

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642