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

app timer event handlers not called

PROBLEM: the event handlers are never called after app_timer_start called

I have a design without the LFCLK XTAL. I initialize the stack with:

static void ble_stack_init(void) { uint32_t err_code;

// Initialize the SoftDevice handler module.
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, false);


// Register with the SoftDevice handler module for BLE events.
err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch);
APP_ERROR_CHECK(err_code);

// Register with the SoftDevice handler module for System events.
err_code = softdevice_sys_evt_handler_set(sys_evt_dispatch);
APP_ERROR_CHECK(err_code);

}

However the event handler for my app timers are not getting called. Is there some additional initialization required when not using a LF XTAL?

About my project:

Using sdk 5.1.0 soft device s110 6.0.0

same code base is working with PCA10001 target hardware does not have an LF XTAL code does not use the scheduler

Related