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

    I2S GPIO pins?

    Cores
    3
    4
    2.1k
    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
      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
        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
          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
            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
            • First post
              Last post