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

restricted peripheral access

Hi,

I want to access restricted peripheral: TIMER0. After small research found that I should use sd_ wrappers, in my case sd_nvic_SetPendingIRQ(TIMER0_IRQn) however I got always NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE error. How can I check if resource is currently used by softDevice? __sd_nvic_app_accessible_irq(TIMER0_IRQn) also gives always false.