cancel
Showing results for 
Search instead for 
Did you mean: 

STSPIN220 operation error

Kang1
Visitor

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

3 REPLIES 3
Peter BENSCH
ST Employee

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 sheetis 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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

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.

 

Kang1_0-1741247355711.png

 

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.