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
  • I have been using PPI to control the data collection in batches. The problem is that when the SPIM list buffer is full, the COMPARE interrupt happens and my IRQ is called. Within the IRQ, I must setup new SPIM list within 60us otherwise I am afraid the new data will cause old list to grow beyond allowed buffer. So offloading data collection to PPI doesn't solve the IRQ delay issue.

    If 60us is too tight for s112, how about 120us? 

Children
Related