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

NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN

Hello,

We are adding BLE scanning to an ANT product.

We have been using SDK 10.0.0 from the beginning, so we use the Example below. 

          SDK 10.0.0.0\examples\ble_central\ble_app_multilink_central\pca10028\s130\arm5_no_packs\ble_app_multilink_central

Test board is

          PCA10028 V1.2.0  2016.19

Problem: SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);

                returns NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN (0x1000).

We have converted SOFTDEVICE_HANDLER_INIT to code for debugging, see below, that's where we see the ERR_CODE 0x1000

We have seen DevZone comments that SDK and 51422 incompatibility can cause this error message.

Is this our problem?

Thanks,

Steve

static uint32_t BLE_EVT_BUFFER[CEIL_DIV(BLE_STACK_EVT_MSG_BUF_SIZE, sizeof(uint32_t))];

ERR_CODE = softdevice_handler_init((NRF_CLOCK_LFCLKSRC_XTAL_20_PPM),
                                                                BLE_EVT_BUFFER,
                                                               sizeof(BLE_EVT_BUFFER),
                                                                NULL);

Related