Skip to main content
Associate
August 5, 2024
Solved

Inquiry about STM32Cube_FW_WBA_V1.4.0 example(STM32WBA55G-DK1)

Hello.
I have a question while using two examples(BLE_Audio_TMAP_Central, BLE_Audio_TMAP_Peripheral) provided in STM32Cube_FW_WBA_V1.4.0.

This example provides voice communication via BLE.

In this process, I want to transmit voice communication data via UART or SPI communication as well as BLE.

However, the configuration for BLE communication is not disclosed in the shared function in the project. (tmap_.app.c, codec_mngr.h)

 

void APP_NotifyTxAudioCplt(uint16_t AudioFrameSize)

CODEC_ReceiveData(TMAPAPP_Context.cis_snk_handle[i], 1, &aSnkBuff[0] + AudioFrameSize/2 + i);

 

void APP_NotifyRxAudioCplt(uint16_t AudioFrameSize)

CODEC_SendData(TMAPAPP_Context.cis_src_handle[i], 1, &aSrcBuff[0] + AudioFrameSize/2 + i);

 

I would like to ask if there is a way to disclose or guide the configuration of this part.

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
August 6, 2024

Hello @GwangsunKim 

If you are looking to understand how the Audio LE works, you may want to take a look on the 5 Wikis mentioned i,n this page: Category:BLE Audio - stm32mcu

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

3 replies

STTwo-32
STTwo-32Best answer
ST Technical Moderator
August 6, 2024

Hello @GwangsunKim 

If you are looking to understand how the Audio LE works, you may want to take a look on the 5 Wikis mentioned i,n this page: Category:BLE Audio - stm32mcu

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Associate
August 8, 2024

Thanks for the reply.

I needed voice(CODEC) data, not BLE data, and I confirmed that this can be found through

 

BSP_AUDIO_IN_IRQHandler(0,0);

BSP_AUDIO_OUT_IRQHandler(0,0);

 

I am checking this further.

Associate
August 6, 2024

Thanks for the reply.

I needed voice(CODEC) data, not BLE data, and I confirmed that this can be found through

 

BSP_AUDIO_IN_IRQHandler(0,0);

BSP_AUDIO_OUT_IRQHandler(0,0);

 

I am checking this further.