2023-02-07 10:42 PM
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.
2023-02-08 12:37 AM
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?
2023-02-08 12:57 AM
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
2023-02-08 02:01 AM
>>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