Page 1 of 1

Confusion about the A2DP-HFP pipeline example

Posted: Wed Nov 13, 2024 11:38 am
by RaresCon
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!