ErikZalm/Marlin — Issue #43: Step-rate above 10kHz
Author: alainm
Created: 2011-12-30 00:49:19+00:00
State: open

I have a problem with 10kHz. If I change in stepper.cpp line 234, function calc_timer() from this:
else if(step_rate > 10000) { // If steprate > 10kHz >> step 2 times
to this
else if(step_rate > 20000) { // If steprate > 10kHz >> step 2 times
the problem goes away. So far I am sure that this is part of the problem...

As it is, the movement gets really weird. It is hard to describe, so I need help to *understand what is happening* at this point so that I can search a little more deeply. As far as I undestood, this produces 2 steps per IRQ, but are them uniformly spaced in time?

My printer has threaded screws instead of pulleys, so I have high step-rates. 10kHz is only 1905 mm/min. But this should not be an issue because Ultimaker is going faster then that...