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

Bad LF cristal config, stuck in sd_softdevice_enable

Hi,

I'm using the S132 on the PCA10040 with the external XTAL disconnected (SB1 and SB2 cut)

In order to check to if the external is present I call nrf_sdh_enable_request() with the flowing config.
#define NRF_LFCLK_XTAL_CONFIG \
{ \
.source = 1, \
.rc_ctiv = 0, \
.rc_temp_ctiv = 0, \
.accuracy = 7 \
}

As I cut the crystal track I expect an err_code = NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN. Instead of the I stuck in sd_softdevice_enable() at 0x25278 ...

Related