2025-03-05 8:02 PM - last edited on 2025-03-05 10:17 PM by Peter BENSCH
Hello.
I have configured a circuit to drive a step motor by giving a signal from XC7S15-1FTGB196C.
We are not going to do stepping control, but to continuously give an enable signal and use it as a motor.
I configured the circuit as shown in the datasheet and gave a 3.3V power input.
However, it does not work, and when checking OUTA1 and OUTA2 with an oscilloscope, a phenomenon was confirmed where it went down from 1.5V to 0V. Please let me know what to check. Thank you.
Signal Processing: XC7S15-1FTGB196C
Motor drive: STSPIN220
Motor: SMSSH5-F20-VKB9
2025-03-05 11:36 PM - edited 2025-03-06 12:12 AM
Welcome @Kang1, to the community!
I'm not quite sure how you want to use STSPIN220: does ‘continuously give an enable signal’ mean that you want to give a static enable signal and the STSPIN220 should run the motor independently like a DC motor without any other signals?
The STSPIN220 (data sheet) is a stepper motor driver that converts the step pulses from the host into power pulses that allow the motor to perform steps. However, it must also be configured so that it knows the direction of rotation and the step size. It is therefore not enough to simply set the EN\FAULT pin, if that's what you wanted to achieve?
Regards
/Peter
2025-03-05 11:49 PM
Thank you for your answer and question.
The current circuit diagram is configured as shown in the image below.
I entered the signals required for STSPIN220, but I am asking because the step pulse is not coming out.
Regards.
2025-03-06 12:28 AM
The schematics look OK at first, but you can't see any capacitors on VS or the value of VREF.
Please check the orientation of the STSPIN220 to ensure that it has not been soldered rotated.
What signals are you connecting to the six lines on the left?
To be on the safe side, have you checked this with a known good board like the X-NUCLEO-IHM06A1?
Regards
/Peter