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

Can't start LFCLK when softdevice is not present

Hi.

I am trying to get the RTC started, and I've followed the rtc example in the NRF51_SDK.

But things go wrong when I call:

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

I get the errer code: 2, meaning NRF_ERROR_SOFTDEVICE_NOT_ENABLED. And that is exactly right, the softdevice is not enabled, because I want to be able to debug for the moment?

(btw. will it ever be possible to debug while using the softdevice, it is getting pretty annoying, not to be able to debug :) )

Parents Reply Children
No Data
Related