2025-05-04 5:27 AM
I am looking for ST products that will:
Other requirements are:
I prototyped this project many years ago using:
The original prototype was too large and drained the battery too quick (partly due to an assembly/design fault I think)
I am looking to reinstigate this project using the latest devices available, but make it smaller and more effecient.
What ST products are available that could meet these requirements ?
2025-05-04 7:16 AM - edited 2025-05-04 11:05 AM
Hello @freeflyer @and welcome to the ST Community.
I suggest you have a look at theSTM32WBA64/65 that is a product based on the Cortex-M33 with a flash up to 2MB and with the support of BLE (not classic Bluetooth) +audio capabilities. Also, it is known as a low power power product with different peripherals (SPI, I2C, ADC,…)to connect external devices (external memory, sensors,…).
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.
2025-05-04 11:00 AM
Thank STTwo-32
So the STM32WBA64/65 will receive blue tooth audio from a smartphone. But what about the additional requirements ?
In my old protoype
The STM32WBA64/65 does not have I2S interface, so how can the audio be output to an amplifier ?
The stored audio samples are just spoken numbers (e.g. "one", "two"). Ideally I would like these audio samples saved as a compressed format such as mp3. On my old prototype I have to save them as wav files which took up more memory because I did not know how to decode mp3. Ideally these samples could be saved on the processor itself so not need external flash.
If I can meet the requirements using less external compoenents than even better. For example, I only used a CODEC, external flash, I2S interface etc because thats the only way I could get it to work. If there is a better or alterntive solution I would be interested to know about it.
2025-05-05 2:55 AM
The STM32WBA64/65 provide an SAI interface which includes I2S (see RM0515, section 4.3).
Regarding the remaining parts of your target design:
Regards
/Peter
2025-05-05 4:59 AM
Thanks Peter
The amplifiers use an analogue input, so whats the best way to get this analogue signal from the STM32 ?
In my old prototype I had to use a CODEC which converted I2S (from the dsPIC) to an analogue signal for the amplifier.
Would I still need a CODEC or is there another option ?
2025-05-05 5:55 AM
STMicroelectronics does not have an amplifier with I2S input, but you are sure to find something from another manufacturer.
2025-05-07 12:33 PM
So the STM32WBA64/65 can receive bluetooth audio from a smart phone such as an Apple or Android device ?
But can I also develop my own software on the STM32WBA64/65, whilst keeping the bluetooth functionality ?
I need to read a pressure sensor using an I2C or SPI interface and convert the pressure to an altitude which requires some floating point calculations.
Then depending on the calculated altitidue, I need the audio (music) received via bluetooth to be attenuated and a voice audio sample played to call out the altitude.
Then theres also some algorithms (state machine) to power up the device and control some LEDs.
Im hoping for an all in one solution unlike my previous project.
In my previous project I used the WT32i to receive the bluetooth, then a dsPIC to read the I2S audiio from the WT32i and then I2C to read the pressure sensor, then algorithms to trigger when the voice audio samples need to be called (based on altitude) where the voice audio samples were stored on external flash (in WAV format) which required an SPI interface.
2025-05-07 12:57 PM
@freeflyer wrote:STM32WBA64/65 can receive bluetooth audio from a smart phone such as an Apple or Android device?
Only BLE audio ("Auracast") - not Bluetooth Classic:
I don't think there are many LE-Audio capable phones on the market yet?
2025-05-08 9:11 AM
Thanks Andrew
So STM32WBA64/65 is not suitable then?
Is there another bliuetooth module that’s suitable and if possible one that I can add my own code to whilst maintaining the Bluetooth functionality ?
2025-05-08 9:16 AM
If you are looking to use classic Bleutooth, our STM32 Wireless products does not support such communication.
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.