Multiple TCA9548 multiplexers

Hello!

I'm a newbie in I2C and I have a question:

is it possible to connect two or three TCA 9548 multiplexers to each other and than to an Arduino to manage n times 8 sensors? My feeling is a yes but I couldn't really find such a project.

Yes you can use up to 8 TCA9548A on a single I2C bus but if you want to access identical sensors with it (all having the same I2C address) you can control only 7 sensors per TCA9548A because you have to leave one output unconnected. That output have to be selected if one of the other multiplexers connect to an existing sensor. So let's say you have two multiplexers M0 and M1 and both have no sensors on outputs S0 to S6 but S7 is not connected. If you want to access the sensor S4 on M0 you have to select output 4 on M0 and output 7 on M1. If you select any other output on M1 the sensor connected there will also answer the request and you have a conflict.