Hi Paul and Paul,
Unfortunately there is still a problem. (I had put a code fix into my sketch and was assembling the OLA code as you described). Was not having a lot of luck getting it to recognize the sensors reliably. Was typically 1 out of 2 or 3 tries. I loaded your V19 code an am seeing the same issue (error message below: failing ID at 0x61…).
-
running mux and 2 sensors it is failing to recognize about 3 out of 10 times.
-
running mux and 1 sensor it is failing about 1 out of 2-3 times.
-
Without mux, and using one sensor, I was seeing same problem but in only about 1 in 10 tries. (It was more frequent in my code with one sensor and no mux)
So, not clear if the mux is part of the problem. In my code sometimes, I would get it to recognize 1 of the 2 sensors only sometimes. My intuition is that the problem is in the interrogation code. Would this have anything to do with the need for clock stretching?
BTW: lights on the sensors blink on at different times as you suspected. (not a problem for me).
Artemis OpenLog v1.9
Stop Logging is enabled. Pull GPIO pin 32 to GND to stop logging.
Logging to: dataLog00011.TXT
Logging to: serialLog00001.TXT
SD card online
Data logging online
Serial logging online
IMU online
Identifying Qwiic Muxes…
Identifying Qwiic Devices…
Multiplexers found. Scanning sub nets…
Known I2C address but device failed identification at address 0x61
Autodetect complete
Multiplexer failed to respond
rtcDate,rtcTime,aX,aY,aZ,gX,gY,gZ,mX,mY,mZ,imu_degC,output_Hz,