Question
How to do STEP/DIR interface?
Hello,
I need to connect STEP/DIR driver (DRV8825 to STM32F103) for driving one axis stepper motor. I will use buttons for moving and I need to set acceleration and deceleration profile. Do you have some experience what way of pulse generation I shoud use? The maximum frequency I use is 200 kHz. According to my opition there are these ways:
1) using PWM and recalculate frequency each period
2) use timer interrupt to generate pulse and recalculate
Do you have some experience what way is best?
Thank you
