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

app_timer stop working after upgrade from 4.3 to 5.2

it just the typical button_timeout, in 4.3 no problem to accept call back


	// Create button polling timer
	err_code = app_timer_create(&m_detection_button_timer_id,
													APP_TIMER_MODE_SINGLE_SHOT,
													button_timeout_handler);

	// Start the timer
	button_timeout_active_event = (1 << IO_PORT_INT_BUTTON);
	err_code = app_timer_start(m_detection_button_timer_id,
														 BUTTON_DETECTION_DELAY, NULL);

above call called but button_timeout_handler never called after upgrade to 5.2, clock is handled by sd:


	uint32_t p_is_running;
	
	sd_clock_hfclk_request();
	do
	{
		sd_clock_hfclk_is_running(&p_is_running);
	} while (p_is_running == 0);
	


Related