IEXT.IO2 I2C address change



  • Hi - the EXT.IO2 says that it "Supports configuration of device I2C address, which means that users can mount multiple EXT.IO2 UNITs on the same I2C BUS to extend more IO resources." but I don't see any documentation on how to actually do this. Does anyone have a tutorial or explanation?

    Thanks!



  • Hello @emsea22

    check out this page - almost at the bottom, just before the FAQ.

    Arduino example here - function: bool M5_EXTIO2::setDeviceAddr(uint8_t addr)

    Thanks
    Felix



  • Hi @felmue - thanks for that - although I have to admit it didn't help me quite as much as it ideally would. My vague understanding is that to flash the new address you attach an FTDI dongle to some of the pins - hope I don't sound completely incompetent, but was hoping for a tutorial...

    Thanks!



  • Hello @emsea22

    sorry, I don't have a tutorial. But no, you don't need to attach an FTDI dongle to the iEXT.IO2 unit - the I2C address can be changed via an I2C command sent from the host, e.g. 0xFF, <new I2C address>. (At least that is my understanding from reading the documentation.)

    Thanks
    Felix