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

    Error with M5 echo example

    Scheduled Pinned Locked Moved General
    3 Posts 2 Posters 4.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.
    • F Offline
      Ferberto
      last edited by

      Hi all.

      Just setup my first M5 echo! The product seems great so far, I tried the factory BT firmware and it works fine.

      I want to test the Recoder&Replay example, but an error occurred after pressing the button:

      Init i2s_set_pin
      E (2137) I2S: i2s_check_set_mclk(253): ESP32 only support to set GPIO0/GPIO1/GPIO3 as mclk signal, error GPIO number:2133
      E (2142) I2S: i2s_set_pin(314): mclk config failed
      

      just after

      err += i2s_set_pin(SPEAKER_I2S_NUMBER, &tx_pin_config);
      

      where

      #define SPEAKER_I2S_NUMBER I2S_NUM_0
      

      I searched for some solution but I didn't find a good solution.

      Using Visual Studio code, this is the platformio.ini

      [env:esp32dev]
      platform = espressif32
      board = esp32dev
      framework = arduino
      monitor_speed = 115200
      upload_speed = 115200
      lib_deps =
        m5stack/M5Atom @ ^0.0.9
        fastled/FastLED @ ^3.5.0
      

      Thanks in advance!
      Ferb

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

        Hello @Ferberto

        I guess you've ran into this issue discussed here.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • F Offline
          Ferberto
          last edited by

          Fantastic, it works!
          Don't know why I wasn't able to find it first.

          Thanks!

          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