🤖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

    Scheduled Pinned Locked Moved Units
    4 Posts 2 Posters 5.2k Views
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post