cancel
Showing results for 
Search instead for 
Did you mean: 

Inquiry about STM32Cube_FW_WBA_V1.4.0 example(STM32WBA55G-DK1)

GwangsunKim
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

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.

GwangsunKim
Associate II

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.

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.