| ??? 12/22/05 08:24 Read: times |
#105722 - You have two problems? Responding to: ???'s previous message |
Yes it is possible to scan all 128 addresses for finding slaves - it just takes a lot of time! But do you expect all your slaves to be addressed from 1 to 128? Normally there's blocks of addresses that certain devices live at, so you could only scan a limited range of addresses to speed things up.
The master as such does not go into an 'unknown state' - it is most likely waiting for the ack from the slave - obviously your i2c code should have a timeout when it is waiting for an ack. Ten seconds seems an excessive amount of time to wait - 100mS might be more reasonable. As to why the other i2c devices stop working - maybe your code doesn't recover the bus state as it should. I think you need to look carefully at your code to see where it stops and how you recover. |
| 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 |



