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.

Parents
  • The Soft Device Specification has a table is section 11 of the peripherals. TIMER0 is not restricted, it is blocked with the caveat that it is accessible using the multi protocol timeslot. So, you cannot access it using the Soft Device without the timeslot feature enabled.

    What is it about TIMER0 that you can't do with TIMER1 or TIMER2? There may be other alternatives if we know what you are trying to accomplish.

Reply
  • The Soft Device Specification has a table is section 11 of the peripherals. TIMER0 is not restricted, it is blocked with the caveat that it is accessible using the multi protocol timeslot. So, you cannot access it using the Soft Device without the timeslot feature enabled.

    What is it about TIMER0 that you can't do with TIMER1 or TIMER2? There may be other alternatives if we know what you are trying to accomplish.

Children
No Data
Related