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

Advertising issue in nRF52832

I have made a bluetooth beacon based on nRF52832 chip. I am able to write code DeviceDownload\nRF5SDK17009d13099\nRF5_SDK_17.0.0_9d13099\examples\ble_peripheral\ble_app_beacon using segger JTAG edu mini. Platform used is nRFgo Studio. Still my beacon is not discoverable in any of the app i.e., nRFConnect nRFtoolbox, and nRFBeacon. What may be the possible problem?. I have attached schematic and board file for reference.schematic.pdf

Parents Reply
  • Something like this:

    // Add this at the top of sdk_config.h:
    #define NRFX_CLOCK_CONFIG_LF_SRC         0
    #define CLOCK_CONFIG_LF_SRC              0
    #define NRF_SDH_CLOCK_LF_SRC             0
    #define NRF_SDH_CLOCK_LF_RC_CTIV        16
    #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV    2
    #define NRF_SDH_CLOCK_LF_ACCURACY        1 // <1=> NRF_CLOCK_LF_ACCURACY_500_PPM
    
    // Add this in main.c:
    static void init_bsp(void)
    {
       APP_ERROR_CHECK(nrf_drv_clock_init());
       nrf_drv_clock_lfclk_request(NULL);
       while (NRF_CLOCK->EVENTS_LFCLKSTARTED == 0) ;
    ...

    Search for other posts on this subject if this is not clear

Children
Related