Can the AccelSteper maximum speed limit be improved for Microstepping?

So I am building a Camera Slider using a Nema 17, a Ramps 1.4, an A4988 and Accell stepper with an Arduino Mega.

The slider is done and the hardware and software also works. I need microsteppinng, otherwise the motor is very loud and doesn´t run smooth.

Currently I use 1/4 microstepping. So I quadrupled the maxSpeed to 4000 to get a decent real life speed. That is still quite slow and I would like to go up to 10000 steps/second. The Accellstepper documentation says that with a 16khz clock speed, the maximum steps/second is 4000. Is there anthing I am missing that could increase that speed? My loop is already optimized to the best of my ability.

If you are using a stepper driver that takes step and direction signals it is very easy to control it without the AccelStepper library.

See this Simple Stepper Code

And if you need acceleration have a look at the code in this link.

...R

I need aceleration and the code works absolutley well, so changing it to run without Accelstepper now would require a ton of work.

MaxMaker:
I need aceleration and the code works absolutley well, so changing it to run without Accelstepper now would require a ton of work.

Then accept the limitations of the library.

...R