I am running the A2DP sink example on CYBT-343026-EVAL board. I play a 48kHz (sample rate) test audio file from a Pixel 4A android device.
The oscilloscope show the I2S word select signal to always be at 44.1kHz. I enabled android developer options, and sure enough this is the only sample rate that is selectable (i.e. not grayed out).
It seems that the 48kHz cannot be negotiated.
Any suggestion on how to make the 48kHz available? I would expect this to work after reading KBA228409 and this page https://community.cypress.com/t5/Resource-Library/A2DP-Sink-Example-on-CYW20706/ta-p/246388.
Can you please confirm which codec you are using?
Hope you are testing using default A2DP sink example available in SDK and have not modified the default codec configuration used. Can you please confirm?
Hi @AnjanaM_61 ,
Android shows the SBC codec. I changed the Makefile in order to add CYBT-343026-EVAL to the supported platforms, and tried different options for the UART (I'm new to this stuff...). Other than that, I am running the vanilla code.
Hi @Owen_Zhang123 ,
thanks for your help. I configured Android to enable HCI debug and pulled the log file/ converted to btsnoop log using btsnooz.py.
Sorry for the stupid question, but this is the first time I do this...what is exactly the order of operations I need to do?
I think I should (correct me if I'm wrong)
1) disable bluetooth on android smartphone
2) enable android HCI debug logging in developer settings
3) enable bluetooth on smartphone
4) connect smartphone to cybt-343026 bluetooth (which uses the A2DP sink code)
5) run "adb bugreport newbug"
6) unzip newbug.zip
7) run "python btsnooz.py /path/to/bugreport.log
share the file generated by btsnooz, correct?