Skip to main content
Associate II
April 18, 2025
Question

Stepper Control with l6474

  • April 18, 2025
  • 3 replies
  • 1012 views

Hi, 

@Peter BENSCH . I am working on a project. In which i need to control Stepper motor using X-Nucleo-IHM01A1 Sheild. Currently i'm using STM32G431RB Nucleo-64 board for this and in future will use STM32F103. I've download X Cube SPN1 for basic working. But i think it does not support boards like (STM32G4 and STM32F103). How can i change X Cube SPN1 Library to make workable or any Solution for making L6474 to work with STM32F103 ?

Moreover, I successfully run Stepper motor with STM32G431RB in Arduino IDE same version of this library.  Link of library is attached. https://github.com/stm32duino/X-NUCLEO-IHM01A1.  

Thanks

3 replies

Cristiana SCARAMEL
Technical Moderator
April 28, 2025

Hello @SannanAli,

You can use the drivers for other STM32 MCUs found in the BSP/X-NUCLEO-IHMxx folder as starting point, and adapt the calls to the HAL libraries for use with the STM32F103.

"If you feel a post has answered your question, please click ""Accept as Solution"""
SannanAliAuthor
Associate II
September 22, 2025

Can you explain the above procedure a little bit more. Like How to use BSP for STM32F103.  I do not know what's the procdure to make X-CUBE-SPN1 or SPN3 to work with STM32F103C8T6. Any document for implementing X-CUBE-SPN1 or other software expansion package for different board. That would be great to help.
Thanks

Peter BENSCH
Technical Moderator
September 23, 2025

Do you have a specific board in mind when you think of STM32F103V8T6? Perhaps a Blue Pill board?

Please upload a photo of it.

Regards
/Peter

SannanAliAuthor
Associate II
September 24, 2025

Yes. It's Blue Pill Board STM32F013

SannanAliAuthor
Associate II
October 23, 2025

I have Changed board from bluePill, to STM32F103V8T6 Controller. X-CUBE-SPN1 mostly works with Nucleo Board. I want to control stepper motor with STM32F103V8T6What's the procdure to make X-CUBE-SPN1 or SPN3 to work with STM32F103V8T6 . Any document for implementing X-CUBE-SPN1 or other software expansion package for different board. That would be great to help.
Thanks