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

Peripheral interrupt setting with S112

Hi,

It seems that s112 soft device uses IRQ level 0,1,4 of nRF52832.

By default my counter has default IRQ level 6, my concern is about the delay of COMPARE interrupt by s112? Will the delay be smaller when I set counter IRQ to level 3? 

If my counter interrupt handler is fast (mainly a nrfx_spim_xfer() and app_sched_event_put()), can I set its IRQ level to level 0 or 1 as well to avoid delay by s112?

Regards,

yf13

Parents Reply
  • To avoid interrupt CPU too much, I am using repeated SPIM with array list and use a counter to counter SPIM  END events and then interrupt CPU.

    According to your description, I probably need another counter B for the STARTED events and in the IRQ handler B to setup the new xfer registers? won't the IRQ B gets delayed by higher priority interrupts of s112 for more than 60us?

Children
Related