Claims
- 1. A method for dynamically allocating addresses to electronic components coupled to a segmented bus, comprising:resetting addresses of each of a plurality of devices, coupled to an integrated circuit bus, to a default address; controlling, by a bus driver that is coupled to said integrated circuit bus, a position of each one of a plurality of bus switches; each one of said plurality of bus switches switching on and off in response to commands received on said bus from said bus driver, said bus driver communicating with all of said plurality of bus switches and controlling a position of each one of said plurality of bus switches regardless of a current position of any of said plurality of bus switches; turning off, by said bus driver, said plurality of bus switches and disconnecting all of the plurality of devices from the bus; turning on a first bus switch, using said bus driver; assigning a first address to a first device connected to the bus downstream of the first bus switch; turning on a second bus switch downstream from the first bus switch, using the bus driver; and assigning a second address to a second device connected to the bus downstream of the second bus switch, wherein the second address is different from the first address.
- 2. The method according to claim 1, wherein the integrated circuit bus is an inter integrated circuit bus.
- 3. The method according to claim 1, wherein the addresses of the devices can be changed by accessing special control registers in the devices.
- 4. The method according to claim 1, wherein the default addresses of the devices are known and identical.
- 5. The method according to claim 1, wherein the devices are isolated on their own portions of the bus by the bus switches.
- 6. The method according to claim 1, further comprising:all of said plurality of devices remaining powered on regardless of a position of any of said plurality of bus switches.
- 7. A system for dynamically allocating addresses to electronic components coupled to a segmented bus, comprising:a bus master processor that resets addresses of each of a plurality of devices, coupled to an integrated circuit bus, to a default address; a bus driver to turn on a first and second ones of a plurality of bus switches; said bus driver coupled to said integrated circuit bus and for controlling a position of each one of said plurality of bus switches; each one of said plurality of bus switches switching on and off in response to commands received on said bus from said bus driver, said bus driver communicating with all of said plurality of bus switches and controlling a position of each one of said plurality of bus switches regardless of a current position of any of said plurality of bus switches; wherein the bus driver assigns a first address to a first device connected to the bus downstream of the first bus switch; and wherein the bus driver assigns a second address to a second device connected to the bus downstream of the second bus switch, wherein the second address is different from the first address.
- 8. The system according to claim 7, wherein the integrated circuit bus is an inter integrated circuit bus.
- 9. The system according to claim 7, wherein the addresses of the devices can be changed by accessing special control registers in the devices.
- 10. The system according to claim 7, wherein the default addresses of the devices are known and identical.
- 11. The system according to claim 7, wherein the devices are isolated on their own portions of the bus by the bus switches.
- 12. The system according to claim 7, further comprising:all of said plurality of devices remaining powered on regardless of a position of any of said plurality of bus switches.
CROSS REFERENCE TO RELATED APPLICATIONS
The present application is related to U.S. patent application Ser. No. 09/779,368 entitled “A Method for Isolating and I2C bus Fault using Self Bus Switching Device” filed Feb. 8, 2001. The content of the above mentioned commonly assigned, U.S. Patent application is hereby incorporated herein by reference for all purposes.
US Referenced Citations (6)