I thought about this. In fact I tried to change the IRQ values. I changed the priorities of the usb which was originally 6. I took it to a lower level and nothing has changed. I tried to raise it a lot, and it seems to be doing better but it still goes wrong.
Is there any other way to fix?
Is it possible that while you are working the usb, the other interrupts go to the queue?
Maurizio