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

nRF51822 Advertising works, connecting doesnt

Hi everybody

I've got a problem with my "custom hardware" with the "nRF51822 QFAAFA 1322AA" MC by Nordic. When I try to connect the hardware with the "Master Control Panel" I can see the advertising. When I try to connect the hardware and read the data the connection is going to loose the link (see the screenshot bleerror in the Attachments). The second screenshot ("ble error.png" ) shows the traffic log with a TI sniffer when i try to connect the hardware with the Master Control Panel. As you can see the Master gets no acknowledge, that means that my custom board isn't able to receive.

I've read a lot of articles in this forum and saw that the 16 MHz crystal may be a problem. I'm using a 16 MHz crystal by AVX (www.farnell.com/.../84480.pdf) with two 12 pF capacitors as "load capacitors". Do you think this crystal may be the problem? Or did anyone have a similar problem and get a solution? Im using the SDK 4.4.2 and softdevice 5.2.1.

Thank you for your answers!

bleerror.PNG

ble error.png

Parents
  • I had the same problem and it was caused by crystal with low frequency stability (~50ppm). When I tried crystal with 30ppm everything began to work fine. As it stated in nRF51822 Product Specification v2.0 on page 33: fTOL,X16M,BLE | Frequency tolerance, Bluetooth low energy applications | ±40 ppm *The Frequency tolerance relates to the amount of time the radio can be in transmit mode. See Table 32 on page 41. *Includes initial tolerance of the crystal, drift over temperature, aging, and frequency pulling due to incorrect load capacitance.

Reply
  • I had the same problem and it was caused by crystal with low frequency stability (~50ppm). When I tried crystal with 30ppm everything began to work fine. As it stated in nRF51822 Product Specification v2.0 on page 33: fTOL,X16M,BLE | Frequency tolerance, Bluetooth low energy applications | ±40 ppm *The Frequency tolerance relates to the amount of time the radio can be in transmit mode. See Table 32 on page 41. *Includes initial tolerance of the crystal, drift over temperature, aging, and frequency pulling due to incorrect load capacitance.

Children
Related