cancel
Showing results for 
Search instead for 
Did you mean: 

GATT + basic Audio from the STM32WB5

Ricko
Senior III

Hi,

I am working with the STM32WB5MMGH6TR and would like to achieve the following:

  1. Stream GATT data to a mobile phone
  2. Simultaneously play simple audio to BLE earbuds

The audio requirement is modest: a tone that rises and falls in a sine-wave pattern (no music, no complex audio, no high-quality audio). The frequency should sweep between 500 Hz and 2 kHz, with a modulation rate of up to 60 Hz.

Is this feasible using the standard ST BLE stack for the STM32WB5MMGH6TR? The key requirement is that both operations run concurrently.

If it is possible, could you please outline the recommended approach?

Thank you as always.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @Ricko ,

Have a look at the FP-AUD-BVLINKWB1 function package for audio streaming and GATT services for data transfer. This package is not recommended for new designs, which means the maintenance and support for this package are not provided: UM2614 : Getting started with the STM32Cube function pack for STM32WB MCU featuring advanced audio streaming over Bluetooth 5.0 using Opus codec - User manual

On the other hand, we recommend using an STM32WBA65I-DK1 with the official STM32CubeWBA MCU package and available audio applications that could serve as a starting point.

Refer to Bluetooth LE Audio Stream Management documentation for Audio capabilities:

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

3 REPLIES 3
Imen.D
ST Employee

Hello @Ricko ,

Have a look at the FP-AUD-BVLINKWB1 function package for audio streaming and GATT services for data transfer. This package is not recommended for new designs, which means the maintenance and support for this package are not provided: UM2614 : Getting started with the STM32Cube function pack for STM32WB MCU featuring advanced audio streaming over Bluetooth 5.0 using Opus codec - User manual

On the other hand, we recommend using an STM32WBA65I-DK1 with the official STM32CubeWBA MCU package and available audio applications that could serve as a starting point.

Refer to Bluetooth LE Audio Stream Management documentation for Audio capabilities:

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Andrew Neil
Super User

@Ricko wrote:

2. play simple audio to BLE earbuds


ST chips support only BLE - so you would need LE-Audio (aka "Auracast") earbuds.

No ST chip supports "Classic" Bluetooth audio.

 

https://community.st.com/t5/stm32-mcus-wireless/need-help-in-mcu-selection-regarding-bluetooth/m-p/843214/highlight/true#M26560

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Ricko
Senior III

Thank you both!