2025-08-01 1:24 AM
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.
2025-09-22 7:10 AM
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