Hi, > I have been trying (and failing) to understand if it's possible to > make the arrangement specified on page 45 regarding "Multi-Slave > Operation", where each device address is configured during > initialization, by first pulling down the nFAULT pin of all other > devices and then writing to the address register of the default > address, which the remaining device would then ack and use afterwards. > > Is anyone aware of other devices using similar schemes, that I could > maybe draw some inspiration from? Well, GMSL has a somewhat similar mechanism, it seems. The de-serializer (drivers/media/i2c/max9286.c) is an i2c-mux to which n camera sensors are attached. The sensors all have the same i2c address initially. Now, the code first muxes each single bus to the controller, so that the serializer (drivers//media/i2c/max9271.c) on the "other side" of the muxed bus can then be programmed to translate the all-the-same-address to an individual address. After this is done for all cameras, the mux enables all channels at once because the addresses are now unique on the busses. The code for all that is complicated, though. Not sure if you can derive inspiration from it. Good luck, though! Happy hacking, Wolfram
Attachment:
signature.asc
Description: PGP signature