cancel
Showing results for 
Search instead for 
Did you mean: 

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

Branio
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

View solution in original post

2 REPLIES 2
TDK
Guru

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
Associate

Thank you! It works well.