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

Softdevice clock Operation failing

I am using SES SDK 15.3 SD 132 

I am trying to step through simple operations and need to enable a softdevice clock.

Right now i am using nrf_drv_clock and engaging clock using

 err_code = nrf_drv_clock_init();
APP_ERROR_CHECK(err_code);
nrf_drv_clock_lfclk_request(NULL);
 

However i try and add the nrf_sdh.c and nrf_sdh_soc.c files to the project and update my Preprocessor definitions to include S132 and SOFTDEVICE_PRESENT and when i try and compile changing nothing else i get all kinds of ewrrors saying NRF_SUCCESS not found. I figured i should have been able to add the files to the project and compile without incident.

I am trying to just use the softdevice clock using

err_code = nrf_sdh_enable_request();
APP_ERROR_CHECK(err_code);

instead of the above

What is the basic things i need to add within proprocessor definitions, sdk_config and calls in order to use the softdevice clock.

Parents
  • there are a couple files that are either/or for sd or no soft devic. I deleted the following:

    Deleted from preprocessor include list

    $(SolutionDir)/nRF5_SDK_15.3.0/components/drivers_nrf/nrf_soc_nosd

    Removed from project

    nrf_nvic.c from nrf_drivers

    nrf_soc.c from nRF_Libraries

    I am getting a bunch of error i think are related to the linker file but i cant seem to figure out how to do the linker file within SES

Reply
  • there are a couple files that are either/or for sd or no soft devic. I deleted the following:

    Deleted from preprocessor include list

    $(SolutionDir)/nRF5_SDK_15.3.0/components/drivers_nrf/nrf_soc_nosd

    Removed from project

    nrf_nvic.c from nrf_drivers

    nrf_soc.c from nRF_Libraries

    I am getting a bunch of error i think are related to the linker file but i cant seem to figure out how to do the linker file within SES

Children
No Data
Related