-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2C fails with hw NACK on ES8388 while I2S stream is running (AUD-5942) #1334
Comments
Is there any update for this issue? |
Hi @RaresCon |
Hi @ALToast |
Hi @RaresCon |
Hi @ALToast Regarding the hardware possible solution, I don't have the caps and resistors yet, but I will try it next week and tell you if I have any success. I will try to write a QSPI solution to change the I2C register writing. Is there any other way to change the volume of the I2S stream? |
I got the same issue on ES8388 codec. It will show up at start, or sometimes at the volume adjustment. It's a random problem. |
Similar issue on espressif/esp-idf#14715 and espressif/esp-idf#14030 |
Environment
Problem Description
I am trying to use the A2DP Sink example from
player
examples on an ESP32-WROOM-32D with ES8388 breakout board, using a custom board setup in ADF. While everything works fine without changing the volume after the I2S stream is initialized, trying to change the volume or in fact trying to send any I2C command to the codec results in a hardware NACK. Before initializing the I2S stream, everything works fine with I2C communication and configuration (the NACKs in the running log are from me trying to change the volume withaudio_hal_set_volume()
inapp_main
). I have tried multiple solutions found around the internet, like changing the I2C/I2S port or adding external pull-up resistors, but nothing seems to work. Even though the NACKs come from setting the volume, I have tried to read the codec's volume for example from its registers and this produces NACKs as well.Expected Behavior
Being able to set/read any register with I2C commands while I2S stream is running.
Actual Behavior
Getting HW NACKs for any I2C command after the initialization of the I2S stream.
Steps to Reproduce
Code to Reproduce This Issue
The code is the one from the example, the code can be found on my fork, the modifications for my setup can be found in the HEAD commit on the new-local-branch.
Debug Logs
The logs can be found in the running log section.
Other Items If Possible
[ * ] sdkconfig
sdkconfig.zip
[ * ] elf file in the
build
folder (Note this may contain all the code details and symbols of your project.)bt_sink_demo.zip
The text was updated successfully, but these errors were encountered: