This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE_HCI_CONNECTION_TIMEOUT and NRF_CLOCK_LF_XTAL_ACCURACY_XX_PPM

Hi there,

We started to notice that we have been getting random disconnects with the reason BLE_HCI_CONNECTION_TIMEOUT. After profiling our device, it was found on one of our devices that our 32768 Hz timer has an accuracy of about 45 PPM. We have passed the parameter NRF_CLOCK_LFCLKSRC_XTAL_20_PPM into the sd_softdevice_enable() function. Could this be the cause of the random disconnects?

Note: we've tried running a couple units with the parameter NRF_CLOCK_LFCLKSRC_XTAL_500_PPM, and we haven't had random disconnects for a few hours. However, depending on the alignment of the sun, moon and stars, we sometimes don't get disconnects with the NRF_CLOCK_LFCLKSRC_XTAL_20_PPM parameter either.

Related