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

10040 softdevice_handler_init hangs

This straightforward code:

ble_stack_init(void) {
    nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;
    SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);
    . . .
}

hangs on my 10040 board. That is, it never returns from softdevice_handler_init(), so no error code and no assertion failure. I see this clock source used in sample apps, so I don't think that's wrong. I read something about interference with UART...so I tried moving LOG_INIT() to after ble_stack_init(), but that didn't fix it.

Because it's a hang and not an error, I have little else to go on. (I'm using S132, BTW).

Parents Reply Children
No Data
Related