cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401 - EVSPIN948 StepperControl - EVSPIN Studio 2.0.1

lepitrust
Associate

Hi to all,

I'm trying to use EVSPIN948 with stepper motor.

I bought the demo board EVSPIN948 and STM32F401 to use EVSPIN Studio 2.0.1 and all is fine.

 

Anyone can tell me where can i find the source ioc / project of demo firmware use to move the motor from evspin studio? I find only the binary file and not the source.

 

Thanks a lot.

1 REPLY 1
ADAVE.1
ST Employee

Hi @lepitrust 

I'm afraid the code used by STSpinStudio is not public.

However, the code can be developed by the user setting the PWM1A/2A/1B/2B pins as GPIOs (1A and 1B always high, 2A and 2B according to the current direction).

Two phase-shifted voltage references are then applied to REFA and REFB to set the desired target currents.

Alessio