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 Reply Children
No Data
Related