issues icon indicating copy to clipboard operation
issues copied to clipboard

I2S Audio not available for IDF platform

Open ezpl opened this issue 3 years ago • 0 comments

The problem

Using the IDF platform for an ESP32-S2 chip, ESPHome reports that I2S Audio / external DAC is not available

# This feature is only available with frameworks ['arduino'].
  platform: i2s_audio
    id: mediaplayer_01_media_out
    name: MediaPlayer
    dac_type: external
    i2s_lrclk_pin: GPIO5
    i2s_dout_pin: GPIO18
    i2s_bclk_pin: GPIO4
    mode: stereo

Pinout is changed to what is suggested in Espressif documentation: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/i2s.html

Which version of ESPHome has the issue?

2022.6.2

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2022.8

What platform are you using?

ESP32-IDF

Board

Wemos Mini S2

Component causing the issue

media_player / i2s_audio

Example YAML snippet

improv_serial:

media_player:
  - platform: i2s_audio
    id: "${id_prefix}_media_out"
    name: ${esp_name}
    dac_type: external
    i2s_lrclk_pin: GPIO5 # Word Select or Left/Right Clock
    i2s_dout_pin: GPIO18 # Data Out
    i2s_bclk_pin: GPIO4 # Bit Clock

Anything in the logs that might be useful for us?

No response

Additional information

No response

ezpl avatar Aug 04 '22 12:08 ezpl