sksingh
Newbie level 2

I am trying to run a stepper motor for a pump application. For this I need to run it in micro-steps. I am using a PWM driver to achieve micro-stepping. I want to know how can I configure the driver so that I will get the desired no. of micro steps. I mean what will be sequence of the PWM signals so that I will get the result. Is there any formula which will decide no. of micro-steps say 1/32 for some percentage duty cycle of the PWM signal and similarly for speed too? Can any body please help me regarding this matter?