This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28075: Best way to control stepper motor driver like DRV8846

Part Number: TMS320F28075
Other Parts Discussed in Thread: DRV8846, CONTROLSUITE

I'm trying to create the STEP control signal for a stepper motor drive chip (like DRV8846).  The STEP signal could need to be about 1200 pulses per second, but the frequency needs to change several times per second.  What's the best way in terms of minimizing CPU load to do this?  I've thought about using a PWM at 50% duty cycle and varying the period of it.  It looks like that should work fairly well if I use the shadow registers - it will change frequency on the next pulse.  I've also thought about using timer 0 interrupt to toggle a GPIO.  Either way, I'd like to use the CLA to offload the main CPU as much as possible.

Does anyone know which of these (or another option yet) is the best approach?

Rob