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

NRF52 S132 v2 sd_softdevice_enable reset

Hi,

my device resets on executing sd_softdevice_enable(p_clock_lf_cfg, softdevice_fault_handler);

I have external 32KHZ crystal. I also know that software works because one of 2 boards swork correctly, so something is wrong on the second one. But what?

I also checked LFCLK by manually starting it and it worked fine:

NRF_CLOCK->LFCLKSRC            = (CLOCK_LFCLKSRC_SRC_RC << CLOCK_LFCLKSRC_SRC_Pos);
NRF_CLOCK->EVENTS_LFCLKSTARTED = 0;
NRF_CLOCK->TASKS_LFCLKSTART    = 1;

while (NRF_CLOCK->EVENTS_LFCLKSTARTED == 0)
{
    // Do nothing.
}

All voltages are correct. Where should I look? Thanks!

Related