Skip to main content
Associate II
February 4, 2024
Solved

BLE 5.4 Audio project guidance

  • February 4, 2024
  • 7 replies
  • 3139 views

Hello, i have a STM32WBA52CG with a NUCLEO 64 board.

I want to utilize the new BLE in speakers. I want a Client phone to broadcast audio to servers -> STM32WBA52CG.

First question, does an example sketch exist for this application? Is there some available code that i can look at to get started with BLE and its new features like an audio server?

Second question, can i use the internal DAC for audio purposes? Then the left and right channel go though the DAC and out to GPIO, so i can connect it to amplifier?

Third question, can i use the buildin DSP for doing equalizer operations on the left and right audio channel?

Fourth question, I was at a ST workshop in Denmark -> Aarhus, they showcased a video with some audio applications where the boards were used for audio broadcasting. In the video the server side could switch between two audio channels and there was two audio boards that each had a channel that were broadcasting audio. Im looking for this video, i cant find it, also looking for the source code.

Thank you!

 

This topic has been closed for replies.
Best answer by Joe_

Hello Flamefire,

1)
To do audio broadcasting from a smartphone to servers, applications will be released in the next release around mid-March. You will need to use the TMAP_Unicast_Server application and use a compatible phone such as the Pixel 7/Pixel 8/Sony Xperia.

2)

There will be a DAC on the new WBA audio discovery kit that will be released at the same time as the examples. However, the STM32WBA52CG does not have one.

3)

There is no DSP for the moment.

4)

I don't have any information about this video, but it can be directly played with the PBP_Sink and PBP_Source on the new STM32WBA DK Audio. The source code is already available here.

Best regards, Joé.

7 replies

Joe_Best answer
ST Technical Moderator
February 6, 2024

Hello Flamefire,

1)
To do audio broadcasting from a smartphone to servers, applications will be released in the next release around mid-March. You will need to use the TMAP_Unicast_Server application and use a compatible phone such as the Pixel 7/Pixel 8/Sony Xperia.

2)

There will be a DAC on the new WBA audio discovery kit that will be released at the same time as the examples. However, the STM32WBA52CG does not have one.

3)

There is no DSP for the moment.

4)

I don't have any information about this video, but it can be directly played with the PBP_Sink and PBP_Source on the new STM32WBA DK Audio. The source code is already available here.

Best regards, Joé.

Andrew Neil
Super User
February 6, 2024

@Joe_ wrote:

To do audio broadcasting from a smartphone to servers...


Are we talking Auracast / LE Audio here?

https://www.bluetooth.com/auracast/

https://www.bluetooth.com/learn-about-bluetooth/feature-enhancements/le-audio/ 

 

What about broadcasting from the STM32 to phones?

 


@Joe_ wrote:

compatible phone such as the Pixel 7/Pixel 8... 


Does that include Pixel 7a ?

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.
flamefireAuthor
Associate II
February 6, 2024

Yes i was specifically referring to Auracast and LE audio.

AScha.3
Super User
February 6, 2024

About DSP (maybe you seen in ds ) :

AScha3_0-1707208549078.png

The M4 core has some instructions, like DSPs have : MAC ...etc. , but no real DSP-co-processor there.

"Normal" C /++ program will not use this, you have to write assembler or use CMSIS -> DSP library.

If you feel a post has answered your question, please click on " Best Answer ".
flamefireAuthor
Associate II
February 6, 2024

Got it, I could probably add my own DSP. If the new Audio DK kit wont be featured with DSP-co-processor.

Associate III
April 17, 2024

Does STM32WB55RG support this LE audio streaming?