Hi!
I have strange behavior.
nRF52, SD132 6.0, SDK15
I use RC clock src.
nrf_clock_lf_cfg_t const clock_lf_cfg =
{
.source = NRF_SDH_CLOCK_LF_SRC,
.rc_ctiv = NRF_SDH_CLOCK_LF_RC_CTIV,
.rc_temp_ctiv = NRF_SDH_CLOCK_LF_RC_TEMP_CTIV,
.accuracy = NRF_SDH_CLOCK_LF_ACCURACY
};
When NRF_SDH_CLOCK_LF_RC_CTIV = 16 and NRF_SDH_CLOCK_LF_RC_TEMP_CTIV = 2
project under debug doesn't start first time after start. After call
ret_code = sd_softdevice_enable(&clock_lf_cfg, app_error_fault_handler);
function, there is no any answear. If project in a Keil restart, project starts normal. Also if just supply power, project always starts normal many times. But under Keil, first start always fail.
But if change to
NRF_SDH_CLOCK_LF_RC_CTIV = 0 and NRF_SDH_CLOCK_LF_RC_TEMP_CTIV = 0
project always starts normal.
???
why?