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

nRF51822 bonding failed

Hi,

I have a custom board with nRF51822 chip on it and tried to run the proximity sample program on it. I have used the nRF51822 develpment board + nRFgo Motherboard to tested my code and everything worked fine. BTW I am using SDK version 4 and softdevice s110_nrf51822_5.2.1. After that, I downloaded the same code to the custom board, it was broadcasting ok, I could see it from the proximity demo program, but when I tried to connect it, it showed: bonding... bonding failed. I attached the schematic and the screenshot of bonding failure error below. Can anybody help me figure out the problem? Thanks!

q2.png

q3.png

log after change crystal.txt

log before change crystal.txt

Parents
  • Hi YiSu,

    Have you tried to use the 32kHz RC instead of the 32kHz crystal ?(by using for example NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION in SOFTDEVICE_HANDLER_INIT())

    Could you send me a close up photo of your board ? Have you tried with our stock SDK example or only with your firmware ? Could you try with other example, such as ble_app_hrs.

    Do you have the same issue all the time when using Master Control Panel ?(connection BTLE_CONN_FAILED_TO_BE_ESTABLISHED )

Reply
  • Hi YiSu,

    Have you tried to use the 32kHz RC instead of the 32kHz crystal ?(by using for example NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION in SOFTDEVICE_HANDLER_INIT())

    Could you send me a close up photo of your board ? Have you tried with our stock SDK example or only with your firmware ? Could you try with other example, such as ble_app_hrs.

    Do you have the same issue all the time when using Master Control Panel ?(connection BTLE_CONN_FAILED_TO_BE_ESTABLISHED )

Children
Related