This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sd_softdevice_enable loop

Hello,

I have a program that do an infinite loop in sd_softdevice_enable. How can i investigate ?

Loop is from 0x00009DEA to 0x00009DF2

Target is nRF52832 AA with nRF5_SDK_13.0.0_04a0bfd / s132_nrf52_4.0.2_softdevice.hex

Parents
  • Does your sparkfun board have an external 32k Hz crystal? Try the interal RC:

    nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;
    
    clock_lf_cfg.source = NRF_CLOCK_LF_SRC_RC;
    clock_lf_cfg.rc_ctiv = 16;
    clock_lf_cfg.rc_temp_ctiv = 2;
    
    // Initialize SoftDevice.
    SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);
    
Reply
  • Does your sparkfun board have an external 32k Hz crystal? Try the interal RC:

    nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;
    
    clock_lf_cfg.source = NRF_CLOCK_LF_SRC_RC;
    clock_lf_cfg.rc_ctiv = 16;
    clock_lf_cfg.rc_temp_ctiv = 2;
    
    // Initialize SoftDevice.
    SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);
    
Children
No Data
Related