🤖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...

    General
    2
    2
    1.4k
    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
      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
        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
        • First post
          Last post