Hi all, I used SDK example as a reference on how to initialize LF clock.
The code is :
err_code = nrf_drv_clock_init(); APP_ERROR_CHECK(err_code); nrf_drv_clock_lfclk_request(NULL);
The nrf_drv_clock_lfclk_request(NULL) is asynchronous and in current example callback handler was not assigned for handling successful start.
I have a few questions here.
1) What if LF hardware is broken? I suggest we need to check if LF actually started before running app code. Any code examples how to do this in most proper way?
2) Regarding 1) , is it safe enough to set LF crystal as a clock source for WDT?
3) If LF crystal clock started in bootloader, do I need to reinit it in app?
thanks