Skip to main content
Associate II
June 19, 2025
Question

easySPIN Firmware

  • June 19, 2025
  • 1 reply
  • 503 views

Hello, @Peter BENSCH @Cristiana SCARAMEL @TDK @Amel NASRI 

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!

1 reply

Cristiana SCARAMEL
Technical Moderator
July 18, 2025

Hello @SannanAli ,

I suggest to use the X-CUBE-SPN1 software package

 

"If you feel a post has answered your question, please click ""Accept as Solution"""