i2s_es8311 example not working with ESP32-S3-LCD-EV-Board

w4tchd0g
Posts: 1
Joined: Sun Feb 02, 2025 12:45 pm

i2s_es8311 example not working with ESP32-S3-LCD-EV-Board

Postby w4tchd0g » Sun Feb 02, 2025 12:54 pm

Hello all,

I tried to get the i2s_es8311 example to run on ESP32-S3-LCD-EV-Board. Unfortunately this does not work and I get the following error in the monitor:

Code: Select all

I (287) i2s_es8311: i2s driver init success
E (297) ES8311: es8311_init(329): I2C read/write error
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x42006aa7
--- 0x42006aa7: es8311_codec_init at /Users/***/ESP32/i2s_es8311/main/i2s_es8311_example.c:60 (discriminator 1)

file: "./main/i2s_es8311_example.c" line 60
func: es8311_codec_init
expression: es8311_init(es_handle, &es_clk, ES8311_RESOLUTION_16, ES8311_RESOLUTION_16)

abort() was called at PC 0x4037aeb3 on core 0
--- 0x4037aeb3: _esp_error_check_failed at /Users/***/esp/v5.4/esp-idf/components/esp_system/esp_err.c:49
I followed the instructions on GitHub (settings in menuconfig) but this doesn't help. Can someone help me here?

Thanks!

houyawei
Posts: 15
Joined: Fri Sep 17, 2021 5:26 am

Re: i2s_es8311 example not working with ESP32-S3-LCD-EV-Board

Postby houyawei » Wed Feb 05, 2025 4:11 am

I have the same problem, I am using ESO32-C3 and have tried ESPIDF5.1. X and 5.3. X versions, and the problem is the same.
I2C read/write error
But the demo test of i2c tools is normal
viewtopic.php?f=13&t=44240
viewtopic.php?f=25&t=44239

Code: Select all

i2s es8311 codec example start
-----------------------------
I (363) i2s_es8311: i2s driver init success
E (1363) ES8311: es8311_init(329): I2C read/write error
ESP_ERROR_CHECK failed: esp_err_t 0x107 (ESP_ERR_TIMEOUT) at 0x42007890
--- 0x42007890: es8311_codec_init at E:/ESPproject/i2s_es8311/main/i2s_es8311_example.c:61 (discriminator 1)

file: "./main/i2s_es8311_example.c" line 61

Who is online

Users browsing this forum: No registered users and 94 guests