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

    I2S GPIO pins?

    Scheduled Pinned Locked Moved Cores
    4 Posts 3 Posters 4.1k 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.
    • Z Offline
      zalaking
      last edited by

      Looking for some help - trying to enable the speaker for a Basic Core in ESPHome.

      I need to enter the I2S info such as: .. =

      i2s_audio:
      i2s_lrclk_pin: GPIOxx
      i2s_bclk_pin: GPIOxx

      Can anything kindly confirm which GPIO pins show I use for this? Thanks

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

        Hello @zalaking

        M5Stack Basic speaker uses PWM (GPIO25) and not I2S.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 2
        • Z Offline
          zalaking
          last edited by zalaking

          many thanks @felmue - got that working via PWM as suggested - THANK YOU!!

          do the later models, e.g. Core 3 use i2S?

          M 1 Reply Last reply Reply Quote 1
          • M Offline
            mtylerjr @zalaking
            last edited by

            @zalaking The schematic shows the following I2S pins on the CoreS3:

            GPIO00 I2S_LRCK, (Mic MCLK)
            GPIO13 I2S_DOUT/DAT0
            GPIO14 I2S_DIN/DAT1
            GPIO33 I2S_WCK (Mic)
            GPIO34 I2S_BCK (Mic)

            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