I'm attempting to revive (as-of-now closed) the topic located here: Second I2C Interface
I followed the instructions in that topic, as well as an example on Adafruit's website: Creating a new Wire | Using ATSAMD21 SERCOM for more SPI, I2C and Serial ports | Adafruit Learning System
I can get the code to compile, but at runtime it does not seem to find my i2c devices, specifically on the Arduino Nano 33 IoT. I understand the pin mappings are different, etc, and have done my best to accommodate this.
Has anyone been successful with this?
Why am I doing this??? Yes, I know that i2c should allow me to put all my devices on one bus, but we've been running into some weird, intermittent, hard-to-predict communication issues with having all our sensors on one bus. While it does not appear to be related to device addresses, I hypothesize that some communication noise could be due to certain sensors we are talking to requiring a logic converter for 3.3v to 5v conversion, while others on the same circuit do not require this conversion, and that somehow this extra converter being in the bus might do weird things. Although I am not an electrical engineer and don't understand this stuff fully. Being able to at least test each set of sensors on a separate bus could be useful.