When I add example timer to example ble_app_uart an error occurs.
I followed the template and pasted the code.
Here is my sdk_config.h
An error occurs when executing to nrf_drv_timer_init
Can anyone help me thanks
When I add example timer to example ble_app_uart an error occurs.
I followed the template and pasted the code.
Here is my sdk_config.h
An error occurs when executing to nrf_drv_timer_init
Can anyone help me thanks
Hello,
The Softdevice reserves access to TIMER0 for internal timekeeping (System on Chip resource requirements). This is why it raises the assert when you try to use it.
The solution is to select one of the other available TIMER instances. Just pass another instance number to the NRF_DRV_TIMER_INSTANCE() macro and make sure the instance is enabled in sdk_config.h.
Best regards,
Vidar
Hello,
The Softdevice reserves access to TIMER0 for internal timekeeping (System on Chip resource requirements). This is why it raises the assert when you try to use it.
The solution is to select one of the other available TIMER instances. Just pass another instance number to the NRF_DRV_TIMER_INSTANCE() macro and make sure the instance is enabled in sdk_config.h.
Best regards,
Vidar