I am using tca9548a to connect 8 IMU sensors with a nrf52832 micro controller. I would like to know how to initialize each channel of the i2c mux and how the control to each channel is retained until we get the sensor data from the sensor to the micro controller?
tca9548a has only one control register if I'm not wrong. What is the address of the control register to send the control register data to enable each channel like 0x01 for channel 0, 0x02 for channel 1, 0x04 for channel 2 and so on?
I would like to request you to send any pseudo code kind of thing for the entire process.
Thanks