This driver is for use with the ST Electronics L6470 Stepper Driver (dSpin) http://www.st.com/internet/analog/product/248592.jsp
The code is a port of the “STM32F1xx motor control firmware library for the L6470 dSPIN IC”
To execute, create an instance of dSpinDemo, and call the Run() function;
UPDATE: The code has been tested and it works. Also, the demo program may need a little tweaking to run your motor. The demo is coded to run the stepper at 10% of the input power. My stepper just buzzes at that setting. Upping it to 50% gave stable operation. I’ll prob try running it to 100% someday.