Skip to main content
Anandbalu
Associate II
Feb 8, 2023 6:42 AM UTC
Question

How do we send continuous data (Hex data - 250sps) through Bluetooth in STM32WB5MMG?

Our application connects ADS1299 with STM32WB5MMG through SPI and sends at least 250sps for data through Bluetooth. But we got a lot of examples using STM applications, but we couldn't get clear and straightforward code/examples for sending and receiving the data. Please share any examples, codes, or tutorials for our conditions.

This topic has been closed for replies.

3 replies

Javier1
Principal
Feb 8, 2023 8:37 AM UTC

What are sps?

STM32WB5MMG has a BLE (bluetooth low energy) radio/stack, its less straightfoward than Classic bluetooth.

What device is receiving the BLE data? a Pc?

hit me up in https://www.linkedin.com/in/javiermuñoz/
Anandbalu
AnandbaluAuthor
Associate II
Feb 8, 2023 8:57 AM UTC

Hi @Javier Muñoz​ 

250 samples per second - almost 4Kb/s we need to send.

We are planning to make applications on both PC and Mobile phones but currently, we are going to check with Mobile phones (Andriod).

Thanks

Javier1
Principal
Feb 8, 2023 10:01 AM UTC

>>250 samples per second - almost 4Kb/s we need to send.

I think that is doable.

Take a look at this https://novelbits.io/bluetooth-5-speed-maximum-throughput/

>>We are planning to make applications on both PC and Mobile phones but currently, we are going to check with Mobile phones (Andriod).

You will get dramatic differences depending on which operative system and which Bluetooth chipset are they using.

Fastest for me is Android phones late generation with BLE 5.2 capable chipset

what i would check out if i were you would be "sending notifications trough BLE to your phone":

https://www.youtube.com/watch?v=Zgw3wRpGSRQ

Be careful, these stm32wb tutorials are usually veeeery updated, but at least you can pickup ideas

hit me up in https://www.linkedin.com/in/javiermuñoz/