cancel
Showing results for 
Search instead for 
Did you mean: 

Spurious BLE disconnection

TVandenbussche
Associate

Hi,

I am using two device that are connected one to another with BLE.

The first device is a server.

The second is a routeur.

I detect some spurious disconnection between both device after some random time.

The disconnection error I get is : HCI_CONNECTION_TIMEOUT_ERR_CODE

Do you have any idea what could be the cause and how I could fix it?

The server device writes sometimes into the flash, but it should write on the flash only during specific moments

Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Remy ISSALYS
ST Employee

Hello,

Did you follow the algorithm to write/erase data in the flash memory (see figure 10) describes in AN5289? In STM32CubeWB package, BLE_RfWithFlash example demonstrate the capability to erase/write the flash while a Point-to-Point communication using BLE component is active using the flash drive which follow the algorithm.

Best Regards

View solution in original post

2 REPLIES 2
Remy ISSALYS
ST Employee

Hello,

Did you follow the algorithm to write/erase data in the flash memory (see figure 10) describes in AN5289? In STM32CubeWB package, BLE_RfWithFlash example demonstrate the capability to erase/write the flash while a Point-to-Point communication using BLE component is active using the flash drive which follow the algorithm.

Best Regards

TVandenbussche
Associate

Hi,

Thank you for your reply.
I indeed implemented the algorithm to write/erase data in the flash memory as described in AN5289 and it seemed to solve my problem.

Thank you very much !