Hello...
I'm trying to drive stepper motor with C2000 Launchpad, and I'm using PWM1 A,B and PWM2 A,B to generate sequnence and controll current using PWM chopping...
That all works fine, and my stepper have smooth rotation, but now i need to count steps of my stepper...
What is the easiest way to count steps in open loop control???
Can I count PWM on PWM1A and set some counter and then trigger interrupt and turn off PWM???
Do you have some examples that will help me with that???
Thanks...