Hi,
Maybe you could try, without removing the interruptions, assigning higher priority to your critical process and a lower priority to USB.
Which device and USB Stack are you using?
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------