I believe that motor will not feel the difference ifthe PID routine is interrupted for a small fraction of time (in the order of microseconds).
The inertia is large enough even for small motors.
As Darrel always says, keep the ISR as fast as possible and return to your main routine for the processing. That way your PID will still run fast.
Ioannis
Bookmarks