🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    IEXT.IO2 I2C address change

    Units
    2
    4
    4.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      emsea22
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by felmue

        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

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • E
          emsea22
          last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • felmueF
            felmue
            last edited by

            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

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            1 Reply Last reply Reply Quote 0
            • First post
              Last post