10-22-2015 09:54 AM
Hi.
With a 845x module (as master), is it possible to communicate with multiple slaves, each using the same address, and using for instance relays to switch the i2c lines from one slave to the other?
I need to test multiple slave devices, ideally with a single master.
The test itself can take one minute (the i2c sensors are heating during this time), and to save time, I'd switch from one device to the other, achieving some kind of parallel testing.
Thanks in advance!
10-23-2015 06:51 PM
Sending a message to two devices that have the same address is not advised. If the devices do not send any replies, you could potentially set them up to both receive the message. If they are needing to reply to the master, the line would get clogged, since only one message can be on the bus at a time.
10-26-2015 07:02 AM
Thanks Kelli.
Maybe it was not clear in my original post but only one device would be connected to the master at a time.
The devices would be switched in and out with a relay matrix or something alike.
All the slaves are using the same address.
We are producing the units and want to test them something like ten at a time.
The idea is to use a relay matrix and switch from one to the other.
Possible?
Thanks again!
François
10-26-2015 08:00 AM
10-26-2015 08:09 AM
Ok, so I'll get a slave at a time, is it phrased correctly now? 🙂
Is it possible to operate that way?
10-26-2015 08:32 AM
10-26-2015 08:34 AM
He said yes. How many ways would you like to hear it?
If they're connected at the same time, that makes for one strange test as they can't reply. If you're using a switch to switch between them in a way that only one is hooked up at a time, then it's no different than any other I2C setup. Why would you even bother to ask if a system with one slave and one master would be expected to work?