cancel
Showing results for 
Search instead for 
Did you mean: 

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

Anandbalu
Associate II

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.

3 REPLIES 3
Javier1
Principal

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?

we dont need to firmware by ourselves, lets talk
Anandbalu
Associate II

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

>>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

we dont need to firmware by ourselves, lets talk