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

    M5stack Tough EXT dosen't seem to work...

    Scheduled Pinned Locked Moved General
    2 Posts 2 Posters 2.0k 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.
    • D Offline
      davmoz
      last edited by

      Hi,

      I recently purchased an M5stack tough unit to experiment with MODBUS RTU and some I2C sensors but currently facing issues with getting the EXT module to work...

      My problems:

      • ESP-IDF - Querying an SDM630 utility meter (modbus RTU), i keep getting timeout, despite assigning GPIO27 as RX and GPIO19 as TX in the menuconfig in esp-idf. I have A and B connected on both ends. (I have also configured baud, bits, parity etc.. on both ends).
      • Tough Tools firmware, I2C devices are not showing under External I2C0 (Wire) G33 and G32. How come? I tried with an ATECC608B.

      Am i missing something? Feels like these should just work..
      Any ideas?

      Thanks in advance!

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

        Hello @davmoz

        Re Modbus RTU: using Arduino code (not ESP-IDF) I can control an M5_ACSSR (relay) from an M5Tough just fine (using GPIO27 as RX and GPIO19 as TX). So I guess the GPIO assignment is correct, but I cannot tell whether your issue is with ESP-IDF or the SDM630, sorry.

        Re Tough Tools firmware ext I2C: The ATECC608B is a 'bad' example as it requires special timing to wake it up and as long as it sleeps it doesn't show up in an I2C scan. Can you try with another I2C slave? I had success with an M5Stack PbHub for instance.

        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