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
  • My app collects data samples at 16000hz, my IRQ will be triggered when the DMA buffer is fully loaded by the last sample.  Thus before the next samples come in 1/16000sec=60us, my IRQ needs be finished so that the new SPIM xfer can be setup, otherwise the old SPIM xfer may corrupt memory.

    So from this regard, the timing requirements for the IRQ seems shall be less than 60us. Will this be possible?

Children
Related