From what I understand, microstepping drivers like the DRV8825 output PWM on each output, and the output duty cycles are varied in a sinusoidal-approximating sequence to effect the microstepping drive.
The DRV8825 datasheet mentions PWM several places, but I could not find reference to the actual PWM frequency used on the outputs. The datasheet does reference an input step rate limit of 250kHz. At 32 steps/macrostep that would be a 8kHz pseudo-sine wave output. If these numbers are real I am led to assume the PWM frequency must be greater than 250kHz to reconstruct a 8kHz sine wave with 5-bit precision.
I wonder if the rate is really this high because it seems to me that for motor applications PWM frequencies in the tens of kHz are more common. Perhaps the 250kHz limit is the limit of the step sequencer and only applies to full-step operation?
Thanks
chaz