Skip to main content
Branio
Associate
April 3, 2020
Solved

How to make an automatic reset of the stepper motor pulse in STM32F407 without need to put it low manually?

  • April 3, 2020
  • 2 replies
  • 1437 views

Hi everybody,

I'm working on 10 stepper motors controller using STM32F407vgt6. Is there any way how to automatically turn off the step pulse after I turn it on programatically?

Maybe something with timer(s)? Some turn off delay?

The pulse should be turned off after a defined period of time/clock pulses.

The reason why I'm trying to do this is, that stepper motor driver requires some time to sense the pulse and so I can't turn it ON and then OFF immediately.

Thank you.

This topic has been closed for replies.
Best answer by TDK

Yes, use timer one-pulse mode. The signal will rise when you enable the timer, then fall when the timer expires.

2 replies

TDK
TDKBest answer
April 3, 2020

Yes, use timer one-pulse mode. The signal will rise when you enable the timer, then fall when the timer expires.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Branio
BranioAuthor
Associate
April 7, 2020

Thank you! It works well.