Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Since "the motor also stalls at high microstepping but same steps/sec. That is even at low RPM it can’t take more than 65000 steps/sec" I suspect something is wrong with your sketch (TeensyStep should be able to do up to 300'000 steps/sec on a T3.6). Can you add a minimal example showing the effect to your question?
re MOSFET: I often use a irlm6344 to directly connect to Teensy 3V3 pins. octopart.com/irlml6344trpbf-infineon-65874984?r=sp . Works without issue so far. Only external part I'm using is a 100k resistor from gate to gnd. It is good for 30V 5A and comes in a tiny SOT23 package.
Sorry, my comment was unclear indeed. I might be wrong, but Ib needs to be supplied by the Teensy pin. The IMXRT datasheet is very vague, but sourcing/sinking 25mA seems to be on the high side.