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

Problem with advertising on custom board

I've made a custom board with nrf51422-QFAC, which I can program with nrf51-DK. I'm using SDK 12.3.0 and SD130, which is flashed to the custom board.

When I program the custom board with some of the standard examples OR my modification of the ble_app_hids_keyboard example, it starts advertising, but:

  • On my laptop (Win10 Creators Update) I can see the device, but can't connect ("Try to connect your device again")
  • On my android phone can't find the device even from Nordic Connect App.

I'm using the internal RC oscillator:

// Low frequency clock source to be used by the SoftDevice

#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,            \
                                 .rc_ctiv       = 32,                                \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}

An interesting point is that I've configured the advertising timeout period to be 30 seconds, but my custom board goes off on 26-27th second.

The app works fine with the nrf51-DK. I attach the schematics of my board.

Edit: One thing I forgot to mention is that I'm powering the board from nrf51-DK for now and the TPS and MCP are not used.

Hancy_1.pdf

Parents
  • I tried to manually turn on the external 16mhz crystal with all possible ways, but it's not starting even without softdevice.

    So probably the internal 16mhz RC oscillator is used and device is not working correctly because internal 16mhz RC is not accurate enough.

    Am I missing something from the design part?

    Used crystal is NX3225SA-16.000M-STD-CSR-1, 8 pF, 15 ppm.

Reply
  • I tried to manually turn on the external 16mhz crystal with all possible ways, but it's not starting even without softdevice.

    So probably the internal 16mhz RC oscillator is used and device is not working correctly because internal 16mhz RC is not accurate enough.

    Am I missing something from the design part?

    Used crystal is NX3225SA-16.000M-STD-CSR-1, 8 pF, 15 ppm.

Children
Related