??? 03/13/07 18:28 Modified: 03/13/07 18:32 Read: times |
#134894 - That may be your problem Responding to: ???'s previous message |
How do I go about this ? Is I2C slave difficult to implement on software ? what are the other alternatives ?
there are IIC slave routines all over the web (probably one or more in the code library right here), so it can not be 'difficult'. However it would be much more efficient and easier to use chips with hardware IIC. If your devices are close (you say nothing about this) I see no better alternative than IIC. The data needs to be broad casted to all slaves. That may be your problem, IIC is not very good for broadcasting. I would 'talk to' the slaves one by one. Also, if all devices are not within, say, a foot of each other, IIC is a bad choice, unless you really dive into things like lowering line capacitance, noise free environment, repeaters and such. Erik |