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

nrf51822 : problem on another electronic card

Hi !

I'm developing a bluetooth low energy service using the nordic evaluation kit and following the ble_lbs example. It works, but when I load the code on an other electronic card using the nrf51822 module too, i can't detect the device with my phone. I have changed the main.c and removed all parts that i can't use on my card such as button and led.. I have changed the PCA10001.h and adapted the PIN declaration.

Did i miss a step to adapte my code ?

Parents
  • Thx for your answer !

    Yes, there is the same hardware (exepted leds and buttons), and I put in the same softdevice than i used for the nrf51822 on the evaluation kit (and it works on it).

    I used the command in my main for using the nrf51822 32KHz default crystal : SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_4000MS_CALIBRATION, false);

    Now the function softdevice_handler_init works ! because this function take in parameter "nrf_clock_lfclksrc_t" "clock_source")

    Now when i use the debugger, i stay in the function power_manage(). I obtain the same result with the evaluation kit and my own card using an nrf51822.

    The difference : service start on the evaluation kit and i can connect myself with the development dongle, but i discover no device when i used my own card.

    Have you a solution to solve my problem ?

    thx a lot !

  • Well, then probably your antenna does not work. It's very sensitive to component placement and PCB routing.

Reply Children
No Data
Related