Connection disconnects with connection interval above about 200mS

We just recently started testing with slave latency above 0 to save power. Our connection interval is 60. If we have a slave latency above 3, then the connection terminates every few seconds. Also, if we keep slave latency at 0, and set connection interval to 180 or higher, then it has same issue.

This seems to work correctly on the DK, but not our PCB. So we are suspecting a clock issue. But this is not a particularly long connection interval, so it would mean the clock is pretty far off. Anyone have ideas how to confirm this?

Parents Reply Children
  • It could theoretically also be related to the high frequency clock. If that is inaccurate, then radio frequencies would be off etc. Before measuring it makes sense to check the crystal circuitry there as well. And you can set up a carrier using the radio test example and measure the frequency deviation to check if it is good.

    A much more common issue when talking about clock accuracy and disconnects is the low frequency (LF) clock. This is because in Bluetooth, the peers sleep between connection events, and wakes up to communicate at specific times. This is based on the LF clock, and if the LF clock is too inaccurate / there is too much drift between the peers, they will try to communicate at different times. This is also why the sleep clock accuracy is exchanged between the peers so that they can account for the inaccuracy (and this is also why I asked for your firmware clock configuration, to check that the configured clock accuracy matches the actual accuracy).

  • Thanks for your advice. We were focused on the wrong clock. Will let you know what we find. I need to ask the firmware guy about the clock configuration, I have no idea.

Related