AnsweredAssumed Answered

Counting The impulses sent via timers...

Question asked by magalski.marcin on May 23, 2015
Latest reply on May 25, 2015 by Clive One
Hi!

I am working now on the project (STM32F429i board) where I need to profile the velocity of servo motor (i.e. trapezoidal velocity)... So I need to control the number of pulses I've sent via PWM channel, to control position of servo motor... Would You suggest me a few method which I can use to do that...? And which is the best...?


Now I am using 2 timers linked by wire: one in PWM Out Mode and the other in Input Capture Mode with External CLK on this pin.
This method has "quite good results" I dont know if it is the best or only method to implement...
Thanks for any advice,

Marcin

Outcomes