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.

一个奇怪的GPIO中断会影响USB传输的问题



现在在管脚GPIO2_26上捕获上升沿中断,然后中断内调度一个work_queue。

现在的问题是USB采用PIO中断模式下时,wake_up一个读队列后会引起USB传输的数据丢失问题。

如果USB改为DMA中断后,则不会引起USB传输问题。

不太明白USB的DMA和PIO模式下,调度另外一个不相关的内核线程为什么会有差异?