cancel
Showing results for 
Search instead for 
Did you mean: 

easySPIN Firmware

SannanAli
Associate

Hello, @Peter BENSCH @Cristiana SCARAMEL 

I recently came across the easySPIN library for controlling a stepper motor using the L6474 driver. The library provides two board options: STEVAL_PCC009V2 and STM32_VL_Discovery.

I am using the STEVAL_PCC009V2 code and have selected the STM32F103C8 as the target in uKeil. The code compiles successfully and flashes without any errors.

I have connected SPI2 and other required pins (SCK, DIR, STBY_RESET, and FLAG) as defined in the easyspin.h file. However, the motor does not move.

The main.c file contains motor functions such as eMotionControl_GoTo(-65);. I am attaching the relevant files for your reference. Kindly review and let me know if I am missing something.

Thank you!

0 REPLIES 0