Page 1 of 1

why does esp32-lyrat running a2dp_sink example without output ?

Posted: Tue Apr 24, 2018 9:59 am
by mkseven32
Hi all
i have config the a2dp_sink example as like below
A2DP sink output as I2S codec;
GPIO setting :

| ESP pin | I2S signal |
| :-------- | :----------- |
| GPIO25 | LRCK |
| GPIO26 | DATA |
| GPIO5 | BCK |

when bt linked to smartphone, while playing muisc, there is a log shows bt is works fine, but there is not any voice out!

does any wrong of the setting ?

BR !

Re: why does esp32-lyrat running a2dp_sink example without output ?

Posted: Tue Apr 24, 2018 11:05 am
by krzychb
Hi mkseven32,
mkseven32 wrote:when bt linked to smartphone, while playing muisc, there is a log shows bt is works fine, but there is not any voice out!
The ES8388 codec on board of ESP32 LyratT requires configuration.

Have you tried pipeline_bt_sink example instead?

Re: why does esp32-lyrat running a2dp_sink example without output ?

Posted: Wed Apr 25, 2018 4:20 am
by mkseven32
thanks ,no i have not try other bt sink example。

i just curious about whether the GPIO setting is right or not?

please help me check it !

Re: why does esp32-lyrat running a2dp_sink example without output ?

Posted: Wed Apr 25, 2018 10:46 am
by krzychb
mkseven32 wrote: i just curious about whether the GPIO setting is right or not?

please help me check it !
I2S GPIO assignment of the ESP32 LyraT is listed under https://esp-adf.readthedocs.io/en/lates ... header-jp4 and your setting for the three I2S signals is the same.

Re: why does esp32-lyrat running a2dp_sink example without output ?

Posted: Thu Apr 26, 2018 3:03 am
by mkseven32
Hi
do you mean the example of pipeline_bt_sink in the esp-adf ?
it is OK,but i found there is less info about make menuconfig in Readme file .

anyway , the examples is so unstable,when esp broad linked to smart phone,first time play music is OK, but when smart phone take a phone, the linked could not relinked again。

Re: why does esp32-lyrat running a2dp_sink example without output ?

Posted: Thu Apr 26, 2018 4:37 am
by krzychb
mkseven32 wrote:Hi
do you mean the example of pipeline_bt_sink in the esp-adf ?
it is OK,but i found there is less info about make menuconfig in Readme file .
For the the 'pipeline_bt_sink' there is no need to configure I2S pins using menuconfig.
Related configuration is hidden in the driver 'esp-adf/components/audio_hal'