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

err_code = 0x07 after calling a timer start

Hi, I got an err_code = 0x00000007 after calling this function.

void system_timer_start(void)
{
	uint32_t err_code;

	
	err_code = app_timer_start(m_one_ms_timer_id, ONE_MILLISEC_TICKS, NULL);

	if(err_code != NRF_SUCCESS)
	{
		
	}

	APP_ERROR_CHECK(err_code);
}

m_one_ms_timer_id has been correctly initialized through this function

err_code = app_timer_create(&m_one_ms_timer_id,
		APP_TIMER_MODE_REPEATED,
		one_ms_timeout_handler);
APP_ERROR_CHECK(err_code);

Here, err_code is = 0x00. So, what is the invalid parameter in system_timer_start()? I use sd 130 and nrf51822.

Related