nRF5340 drop connection before going to low power

Hi, 

I´m using a Fanstel BC40M board with a nRF5340 on board as a peripheral device.

Being connected to a central, it triggers some tasks in the peripheral. The peripheral does some task using some peripherals like SPIM, timers, PPI, etc., sends some BLE notifications and then sometimes drops connection before going to low power.

This happens on some devices and not on others (same firmware, same hardware).

The error is: Disconnected from device xx:xx:xx:xx:xx:xx, reason: BLE_HCI_CONNECTION_TIMEOUT

After a while the device reconnects but has the same behaviour.

I'm using Zephyr nRF Connect SDK 2.5.0.

So far, I have tried:

- Increase connection timeout.

- Define different crystal accuracies in prj.conf.

CONFIG_CLOCK_CONTROL_NRF_K32SRC_xxPPM
No success.
any clue?
Thank you!
Related