2011-07-12 12:44 AM
Nid help in Stm32 Encoder Interface, to turn the motor in clockwise and anti-clockwise direction. Thanks
2011-08-17 07:28 AM
You need to elaborate more on what exactly it is you want?
Firstly what sort of encoder are you using? what sort of motor controller? and what sort of motor?
Typically if you know your motor controller configuration you will know what will make it go forwards and backwards so that should never be an issue.
2011-08-18 03:15 AM
you can use hall interface with timer2 , timer3 or timer4 interrupt handler with xored inputs. this means every xored transition of hall sensor generates interrupt and this interrupt triggers timer1 com (commutation) event. according to this com event you can generate various type of signals such as pwm-on, on-pwm, pwm-pwm for upper and lower mosfet gate signals.you can find sufficient information at