cancel
Showing results for 
Search instead for 
Did you mean: 

SPBTLE-RF disconnection problem

Sagi Gliksman
Associate
Posted on December 26, 2016 at 09:13

I am using the SPBTLE-RF connected to a standalone MCU to communicate with my PC using BLE.

I am establishing the connection and the data is being transferred ok but every X minutes I encounter a drop in the BLE connection. In such case, the PC tries to connect again to the module and the connection established again so the data transfer.

Are you familiar with such phenomena?

BR.

3 REPLIES 3
Andrea Cucchi
Associate II
Posted on December 26, 2016 at 21:59

Hi,

this kind of issue has never been reported on this module.

Could you please give us more details?

How often the connection drop?

is it reproducible?

do you receive the disconnection event on both side( host mcu and pc?)

have tried with a different central device( a mobile phone)?

what's the tx output power set into the module? can we exclude range issue?

which fw vers in present on the module?

Regards,

Andrea

Posted on December 27, 2016 at 13:17

 ,

 ,

Hi Andrea,

Thanks for replying.

Per your questions, the issue is reproducible and occurs every X minutes.

I didnt try to use this specific component with phone but from other projects with this module, it doesn't happen in Android.

The power is the default power

I will get the firmware version later but I know it is greater than 30....

The parameters we configure are:

♯ define INTERVAL_MIN , , , 10

♯ define INTERVAL_MAX , , , 500  ,  , ,

♯ define SLAVE_LATENCY , , 50  ,  , ,

♯ define TIMEOUT_MULTIPLIER , 100

 ,

Sagi

Andrea Cucchi
Associate II
Posted on December 27, 2016 at 22:17

Hi Sagi,

please help me better understand:

- what do you mean by X minutes? are we talking about 2 to  3 minutes? or more? can you please add more details.

- So if I well understood, you are saying that the link does not drop if you connect an android phone with the module. it drops only if you connect your laptop to the module, right? 

Have you tried to connect your laptop to other bt low energy commercial products? everything works ok?

- what it is happening when the connection drop? writing/reading/notifying a characteristic value? or just idle connection?

- are you using a st evaluation board for the module?

- I guess you wrote your ble project on your mcu starting from a st sample, right? which one?

some suggestions:

- try to set +4dBm as tx output power ( this can help if you are close to the range limit)

- check if you receive the disconnection event from the module ( so we check thar the module does not reset)

- play with connection parameter ( relax some values)

- chech the Vin pin, to make sure the power is stable ( so make sure your power source can keep up with current spikes required when the module is in tx mide)

Let me know.

Andrea