ccperng WROTE:if I supply a let say 1kHz frequency PWM to the driver, will the driver output the same frequency of pulses to the motor??
Yes, SD02B will drive the stepper motor at the stepping frequency equals to the frequency of the pulses given to the driver. The error rate is proportional to the stepping frequency, from 0% to around 2.5% at 20kHz. However, please take note that SD02B's default stepping mode is set to 1/10 micro-stepping. So the stepper motor will rotate at 10 times lower speed (1/10), but with 10 times more accuracy (10X). You can change the mode by using UART interface & protocol provided. Both sample source code for PIC and computer are available at the product page. You may choose either way.
ccperng WROTE:What if i supply more than 1kHz? cos from the user manual, the maximum speed is up to 1000 steps per second only...
Yes, you can supply more than 1kHz to the PULSE pin. SD02B can detect pulses at frequency up to 20kHz (tested). However, normal small size stepper motor cannot operate up to 10kHz.
If not mistaken, the 1k steps per sec is only a suggested frequency for most of the small size stepper motors, such as MO-STEP-17PM-J3X and 42BYGHD-234. You'll notice these stepper motors cannot run smoothly at very high frequency (eg: > 4kHz, without load).