Data Loss in BLE when sending the accelerometer values.

I can read above 3000 samples from accelerometer, before connecting to BLE, but after connecting to BLE the data rate reduces to 200 samples. This is clearly checked and identified. Can anyone help my to rectify the issue?. I have tried to use threads to send the the data to BLE, but the reading and other things are not effected but sending the samples is still 200per second..Cam anyone suggest the method to correct my issue?

  • Gokul, This is a well discussed topic in this forum. On nRF52 SoC which is a single core, the MCU needs to be shared by your application and for BT handling. After enabling bluetooth and connecting to peer, the BLE stack steals the MCU from application for handling the real time high priority stuff which cannot be influenced by application in a direct way. You can try to increase connection interval so that the per connection event latencies are distributed over time. Please search this forum like "sampling rate slow after enabling BLE" and similar keywords and you will find a lot of useful information in this forum. Please come back to this thread if you need further information or assistance and I will gladly add to that information.

Related