AnsweredAssumed Answered

stm 32 discovery adc tachometer code for sensorless motor

Question asked by k_dash on Jun 10, 2013
Latest reply on Jun 10, 2013 by baird.hal.001
i have a  stm32 discovery kit , and i am sensing  the back emf of sensorless motor which is driven by other kit. i am using adc with one channel and a timer. the main aim to calculate the period while reading the adc->dr register and starting the counter of timer, i am getting the values while debugging but still not able to think the right code which can calculate the period and ultimately the rpm.... i am starting the counter when adc reads non-zero value and stops at zero. am i doing right.........plz help...