Hi, i downloaded new SDK14 with example, after i upload hex from example in ble_peripheral/ble_app_hrs I use s132 / nrf52
program stuck here :
ret_code_t nrf_sdh_enable_request(void)
{
ret_code_t ret_code;
if (m_nrf_sdh_enabled)
{
return NRF_ERROR_INVALID_STATE;
}
m_nrf_sdh_continue = true;
// Notify observers about SoftDevice enable request.
if (sdh_request_observer_notify(NRF_SDH_EVT_ENABLE_REQUEST) == NRF_ERROR_BUSY)
{
// Enable process was stopped.
return NRF_SUCCESS;
}
// Notify observers about starting SoftDevice enable process.
sdh_state_observer_notify(NRF_SDH_EVT_STATE_ENABLE_PREPARE);
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,
#ifdef S132
.accuracy = NRF_SDH_CLOCK_LF_XTAL_ACCURACY
#else
.xtal_accuracy = NRF_SDH_CLOCK_LF_XTAL_ACCURACY
#endif
};
#ifdef ANT_LICENSE_KEY
ret_code = sd_softdevice_enable(&clock_lf_cfg, app_error_fault_handler, ANT_LICENSE_KEY);
#else
ret_code = sd_softdevice_enable(&clock_lf_cfg, app_error_fault_handler);
#endif
if (ret_code != NRF_SUCCESS)
{
return ret_code;
}
on ret_code = sd_softdevice_enable(&clock_lf_cfg, app_error_fault_handler);
same problem is, if i recomplile whole project a load new one.
could someone help me, where is the problem ? regards