Confusion about the A2DP-HFP pipeline example

RaresCon
Posts: 5
Joined: Tue Nov 12, 2024 2:09 pm

Confusion about the A2DP-HFP pipeline example

Postby RaresCon » Wed Nov 13, 2024 11:38 am

In the A2DP-HFP pipeline example, I am not sure I understand how the HFP client-pipeline interaction works. The `pipeline_e` variable represents a pipeline that reads data from the codec ES8388 (I assume from the mics that are attached to LyraT for example and connected to the L/R IN lines) and then sends it through the HFP client to the phone/whatever BT device is connected to the board. Is this correct or the example does not transmit any voice data back to the device that received the call?

And if this is correct, what configuration must be done for the codec ES8388 to send that data over I2S to the ESP and not use it during output mixing (as seen in the ES8388 datasheet, where the L/R IN lines seem to be used during mixing of the output)?

Thanks for responding!

hamzatamer76
Posts: 11
Joined: Mon Dec 16, 2024 5:26 am

Re: Confusion about the A2DP-HFP pipeline example

Postby hamzatamer76 » Thu Jan 09, 2025 10:45 am

Hi, did you solve the problem? I am also developing with Lyrat Mini, but in the example you gave, the A2DP part works without any problems, while the HFP part does not work. The microphone does not detect or transmit sounds during a call.

RaresCon
Posts: 5
Joined: Tue Nov 12, 2024 2:09 pm

Re: Confusion about the A2DP-HFP pipeline example

Postby RaresCon » Fri Jan 10, 2025 9:45 am

Hi! I have not resolved the issue, because I use an ESP32-WROOM-32D and an ES8388 codec breakout board. I haven't connected a microphone to the ES8388 to test, but I get another problem on the A2DP sink example. The I2C commands do not work after starting the I2S stream, meaning that all I2C commands to the codec return a HW NACK, which is really strange, because before starting the I2S stream, the calls work just fine. Do you know anything specific about LyraT that I should keep in mind?

Who is online

Users browsing this forum: No registered users and 10 guests