cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WBA55G-DK1 Full Duplex Audio Transmit and Receive query

Sandeep_k
Associate III

Hi,

I am using STM32WBA55G-DK1, is it possible to use Audio In jack to send the input audio and at Out to receive the audio in a full duplex method.

Thank you

2 REPLIES 2
TMANE.1
ST Employee

Hello

 

Yes, this architecture is possible.

 

BSP_AUDIO_IN_Init() can be called with device set to AUDIO_IN_DEVICE_LINE_IN (left jack) while BSP_AUDIO_OUT_Init() device is set to AUDIO_OUT_DEVICE_HEADPHONE (right jack). 

 

From the provided telephony use case on TMAP or HAP (both full duplex), the main change from AUDIO_IN_DEVICE_ANALOG_MIC to AUDIO_IN_DEVICE_LINE_IN is the number of channel that is changed from 1 to 2 channels. So aSrcBuff buffer must be resized and CAP_Unicast_SetupAudioDataPath() must be called with a decimation set to 2 (samples are interleaved Left/Right)

 

Best regards,

Sandeep_k
Associate III

Thank you...