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 error 4097

I'm trying to launch my app on a custom board with nrf52 after a successful launching on DK. The problem is here: err_code = sd_softdevice_enable(p_clock_lf_cfg, softdevice_fault_handler);

I use internal RC as oscillator and init it like:

#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,
.rc_ctiv       = 16,
.rc_temp_ctiv  = 2, 
.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_250_PPM}

I checked sdk_config.h and every interrupt that I use there has priority 7.

Moreover, I don't understand why program uses last if case except one with #elif defined(S1XX). I'm using SD s132, do I need to define it somewhere?

Parents
  • Also if you find sd_softdevice_enable function signature in SDK header files and look to \components\softdevice\s132\headers\nrf_error_sdm.h then you see that your problem is actually is NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION meaning it is really related to interrupt setting. Have you based your project on any SDK example? If yes then try to go back and compare all nasty changes which you did. If not then you will probably need to share more from your project so Nordic support team could look into it...

Reply
  • Also if you find sd_softdevice_enable function signature in SDK header files and look to \components\softdevice\s132\headers\nrf_error_sdm.h then you see that your problem is actually is NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION meaning it is really related to interrupt setting. Have you based your project on any SDK example? If yes then try to go back and compare all nasty changes which you did. If not then you will probably need to share more from your project so Nordic support team could look into it...

Children
No Data
Related