Hello everyone,
this may be a stranger question.
Is it possible to have an I2C Master-Slave arrangement, where the Slave also has I2C-Slaves itself?
Master (L1)
- Slave1 (L1)
- Slave2 (L1)
-- Subslave21 (L2)
-- Subslave22 (L2)
- Slave3 (L1)
-- Subslave31 (L2)
-- Subslave32 (L2)
The toplevel (L1) uses a Raspberry as Master and Arduinos as Slaves (via I2C A4/5). Is it possible that the Arduinos also have slaves using I2C.
I do not want to share the I2C line with everything, since the Subslaves consists of the same chips and therefore have the same address. Also a I2C line through all components would exceed the length limit (if possible I would like not to use extenders).
Is it possible to allocate another 2 analog pins as additional I2C or is there a better way to go about it (maybe I2C to the slaves and SPI to the Subslaves).
Thanks for the help