??? 12/22/05 08:05 Read: times |
#105721 - Plug & play by I2C ,is it possibe? |
Dear friends,
Is it possible to have a plug and play feature through I2C bus? if the answer is yes, I have the following problem. The system, I am working on, consists of several slave equipments(maximum 8), each connected by a four wire cable(2 wires for SDA&SCL (pulled up by 4.7k resistors) and the rest two for VCC and GND)to the master board. Actually the sysyem SHOULD have a PULG and PLAY feature, which helps user to connect or disconnect any slave he wishes whenever he wants. The whole system works fine when all slaves are connected. The problem actually is that if for example a slave is suddenly disconnected from master while a read or write cycle from/to it has not been completed, the master goes into an unkowm state which stops it from further read or write from/to other slaves. I have put a timeout delay of 10 seconds to return back the master to its normal job, but the I2C interface still was not working so the other slaves connected were useless. I have also used commands to stop andd then reinitialise to retrieve the I2c as well, but it did not work. Please help me. Is it possible to scan all 128 adresses for finding slaves? Ali |
Topic | Author | Date |
Plug & play by I2C ,is it possibe? | 01/01/70 00:00 | |
You have two problems? | 01/01/70 00:00 | |
I know | 01/01/70 00:00 | |
with a "master" with IIC hardware it sho | 01/01/70 00:00 | |
lot of time not needed ! | 01/01/70 00:00 | |
limited feasibility of I2C PnP | 01/01/70 00:00 | |
the fact is | 01/01/70 00:00 | |
Re: the facts is | 01/01/70 00:00 | |
CAN | 01/01/70 00:00 | |
unkowm state | 01/01/70 00:00 | |
I must try | 01/01/70 00:00 | |
Inappropriate Design Choice? | 01/01/70 00:00 | |
Hot-swap I2C | 01/01/70 00:00 | |
a fvew points | 01/01/70 00:00 | |
ACCESS.bus is PnP I2C | 01/01/70 00:00 | |
just recalled![]() | 01/01/70 00:00 |