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!
Parents
  • Hi

    Glad to hear you were able to make it work as expected with the RC oscillator.

    This points to something being wrong with the 32.768kHz crystal on the physical board, as your clock configuration looks correct. Do you see it on multiple BC40M board or just on one specific one? If so a broken or poorly connected 32.768kHz crystal is likely the cause.

    Best regards,

    Simon

Reply
  • Hi

    Glad to hear you were able to make it work as expected with the RC oscillator.

    This points to something being wrong with the 32.768kHz crystal on the physical board, as your clock configuration looks correct. Do you see it on multiple BC40M board or just on one specific one? If so a broken or poorly connected 32.768kHz crystal is likely the cause.

    Best regards,

    Simon

Children
No Data
Related