This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: AM3352 linux board GPIO irq priority

Other Parts Discussed in Thread: AM3352

Tool/software: Linux

Hi,

In our AM3352 linux board, we have a GPIO pin taking an interrupt per 250us coming from an ADC. Within the ISR, i do some instructions to read ad ADC. This take less than 30 us. This construction works as long as we do not create heavy network traffic. When for example we restart the network stack, the irq can disappears for up to 6 ms... This is unacceptable because we loose data... I know that 250 us is very small for a linux interrupt but on the other hand, we run java code in user space do file io, etc... without loosing any irq. Only in some heavy networking conditions our 250us irq is blocked for some ms... Is there something i can change in order to never loose a 250 us irq? Or what can is do to make this 250us irq the highest priority and able to preempt all other irqs?

Kind Regards,

Koen