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

ERROR 3735928559 [Unknown error code] at E:\nRF5_SDK_14.2.0_17b948a\components\drivers_nrf\timer\nrf_drv_timer.c:160

Hi

I'm using nrf52DK board with SDK 14.02. 

I wanted to use PWM Library with softdeivce but  I'm getting this <error> app: ERROR 3735928559 [Unknown error code] at E:\nRF5_SDK_14.2.0_17b948a\components\drivers_nrf\timer\nrf_drv_timer.c:160

I am not able to point out what is getting wrong here.

void nrf_drv_timer_enable(nrf_drv_timer_t const * const p_instance)
{
    ASSERT(m_cb[p_instance->instance_id].state == NRF_DRV_STATE_INITIALIZED); //line 160
    nrf_timer_task_trigger(p_instance->p_reg, NRF_TIMER_TASK_START);
    m_cb[p_instance->instance_id].state = NRF_DRV_STATE_POWERED_ON;
    NRF_LOG_INFO("Enabled instance: %d.", p_instance->instance_id);
}

I tested pwm library example in sdk and it is working fine. 

Related