Skip to main content
Branio
Associate
Apr 3, 2020 11:54 AM UTC
Solved

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

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.
TDK
TDKBest answer
Apr 3, 2020 1:15 PM UTC

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""."

2 replies

TDK
TDKBest answer
Apr 3, 2020 1:15 PM UTC

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
Apr 7, 2020 7:04 PM UTC

Thank you! It works well.