Comments (5)
Some steps need to be carried:
- Add esp32_s3_lcd_ev_v1_5.zip to $ADF_PATH/components/audio_board
- Add esp32s3lcd evboard2 option in CMakeLists.txt, component.mk, and Kconfig.projbuild.
- Modify line 35 in components/audio_hal/driver/es7210/es7210.c to:
#define ES7210_ADDR ES7210_AD1_AD0_01
- Change the function in components/audio_hal/driver/es8311/es8311.c at line 291 to:
esp_err_t es8311_pa_power(bool enable)
{
// esp_err_t ret = ESP_OK;
// if (enable) {
// ESP_LOGW(TAG, "PA Enable");
// ret = gpio_set_level(get_pa_enable_gpio(), 1);
// } else {
// ret = gpio_set_level(get_pa_enable_gpio(), 0);
// }
// return ret;
esp_tca9554_config_t pca_cfg = {
.i2c_scl = GPIO_NUM_18,
.i2c_sda = GPIO_NUM_8,
.interrupt_output = -1,
};
tca9554_init(&pca_cfg);
tca9554_set_io_config(BIT(0), TCA9554_IO_OUTPUT);
esp_err_t ret = ESP_OK;
if (enable) {
ESP_LOGW(TAG, "PA Enable");
ret = tca9554_set_output_state(BIT(0), TCA9554_IO_HIGH);
} else {
ret = tca9554_set_output_state(BIT(0), TCA9554_IO_LOW);
}
return ESP_OK;
}
If you need to use other boards, revert the changes in step 3 and step 4.
6. Run idf.py menuconfig and select your user-defined audio hal -> Audio Board
7. Good luck
from esp-adf.
Thank you for your guidance; despite my numerous attempts following your suggested approach, the monitor persistently displays an error: "E (455) I2C_BUS: D:/ESP52/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes): I2C Bus Write Register Error." I appreciate your assistance and am grateful for any further advice.
from esp-adf.
@liujkek22 looks like there might be a misconfiguration of the I2C. Which version of the esp32s3lcd evboard are you using? v1.5 or earlier?
from esp-adf.
Yes,the Verssion is truely is 1.5.
from esp-adf.
Please check the following:
- Ensure the board is configured as the provided audio_board.
- In the es8311.c file, make sure to include #include "tca9554.h".
- Verify the I2C pins are correctly configured as I2C_SCL->GPIO_NUM_18 and I2C_SDA->GPIO_NUM_8.
from esp-adf.
Related Issues (20)
- examples\advanced_examples\algorithm 这个例程中,请问下如何获取到 aec和ns后的音频数据呢 (AUD-5526) HOT 3
- Examples give warnings and not work (AUD-5538) HOT 6
- ESP-ADF does not get recognized in VSCode after install (AUD-5539) HOT 4
- 关于AEC信号延迟调整的问题,如果让参考信号更靠前 (AUD-5540) HOT 1
- I2C 驱动提示冲突(AUD-5547) HOT 2
- 使用pipeline_spiffs_mp3和pipeline_wav_amr_sdcard例程时喇叭会有破音的 (AUD-5550) HOT 4
- 关于VOIP AEC效果问题请教,如何可以让AEC质量变得更好? (AUD-5559) HOT 6
- How to enable NS_MODE_NET ? (AUD-5565) HOT 1
- Http_Stream resume behavior should restart at last read, not from beginning. (AUD-5571) HOT 2
- ESP-ADF Release/v2.7 (AUD-5577) HOT 3
- 关于audio_hal/driver/es7210的问题请教 (AUD-5580) HOT 1
- Facing issue while streaming audio to connected device HOT 3
- VOIP Example calls don't hang-up with Asteriks (AUD-5592) HOT 2
- esp_codec_dev: Breaking change in v1.2.0 (AUD-5594) HOT 2
- Unable to open the sd card file while transmitting audio data to connected device through bluetooth a2dp (AUD-5602) HOT 18
- Problems with using examples\recorder\pipeline_recording_to_sdcard (AUD-5609) HOT 1
- When the ESP-ADF can support Continuous speech recognition for continuous dialogue when wakeup by wakenet (AUD-5610) HOT 5
- pipeline_http_mp3播放卡顿问题,从已关闭议题(AUD-5291) #1174开启 (AUD-5612) HOT 8
- pipeline_http_mp3播放卡顿问题,从已关闭议题(AUD-5291) #1174开启 (AUD-5613)
- Configuring I2S Peripheral to Support PT8211 with LSB Justified Format (AUD-5618) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-adf.