cancel
Showing results for 
Search instead for 
Did you mean: 

POWERSTEP01 problems with SetParameter and GetStatus

Adeline13008
Associate

Hello,

 

I’m trying to use an X-NUCLEO-IHM03A1 board with a STM32F401RE Nucleo 64 board and a small NEMA 17 motor.

 

My goal is just to learn how to drive steppers with the POWERSTEP01 for various projects and I just can’t make it work.

 

I first tried to port the Ponoor library for arduino to STM32 by adapting and rewriting most of it but it didn’t work.

 

I also tried to look at the ST Library from the X-CUBE-SPN3 software but it doesn’t seem to use the HAL so I haven’t been able to understand much of it.

 

SPI is configured correctly, I’ve watched all the ST videos and read the entire datasheet but somehow I can’t make it work.

I checked the entire ST Community forum, I also tried to find code on github or google but I can’t find a single usable piece of code written for STM32.

 

Could anyone who has worked with this component post his C / C++ code. Even a valid SendParameter SPI function and getstatus function would help.



Kind regards,

 

Adeline

 

0 REPLIES 0