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

irq latency with softdevice

Hi,

My goal is to capture on gpio burst infrared proprietary "messages" composed of multiple "bits". The Length of each bit is around 100 to 200us.

Initially I planned to use timer1 and timer2 to capture the low and high level length, store the length in a buffer in the GPIOTE_IRQHandler at each edge, then process the buffer in the main application

After reading S110 SDS I think its not possible to measure with accuracy this kind of signals even using timers because latency in tsr(lowerstack) last few hundred of us And that it's not possible to configure irqs to be with higher priority thant softdevice lower stack

Could you confirm that there is no way to do this type of task when the softdevice runing ?

Thanks

Related