AnsweredAssumed Answered

STM32F407 Motor + Encoder interface problem

Question asked by Lukasz Przenioslo on Sep 28, 2015
Latest reply on Sep 28, 2015 by Lukasz Przenioslo
Hello there,
I am trying to build a stepper motor driver with encoder interface using stm32F4 discovery board. I have already configured and got working the stepper motor interface. For that I used Timers 1 and 8 like in the picture bellow (2 H bridges):

https://www.dropbox.com/s/31rrg5sldelfthn/Zrzut%20ekranu%202015-09-28%2011.49.10.png?dl=0

Now I would like to add the encoder interface which consists signals A and B. If I am reading the datasheet correctly for that I need timer 1 and 2. But timer 1 is also used for motor driving... Is there a way to overcome this and have both motor and encoder interfaces implemented?

I would apreciate all help!

Outcomes