2025-11-28 4:02 AM - last edited on 2025-11-28 9:08 AM by Imen.D
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
2025-12-01 1:50 AM
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,
2025-12-01 9:44 PM
Thank you...