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

How to offload work of IRQ_ZERO_LATENCY interrupt ?

I'm using a SPI with a circular buffer so i need to have an interrupt with low latency that reset the RXD.PTR when the buffer is full.

The SPI is used for communicating with an ADC so the transfer can't be delayed.

Without using the IRQ_ZERO_LATENCY flag, the RXD.PTR reset happens sometime too late.

But when I'm using the IRQ_ZERO_LATENCY flag, I'm unable to offload the ADC data works because the call to k_sem_give() is not allowed with IRQ_ZERO_LATENCY.

Is there a way to offload an interrupt with the IRQ_ZERO_LATENCY flag ?

Parents Reply Children
No Data
Related