Is somehow possible to detect rising and falling edge of input signal ?
HI,
I'm using STM32f4 and I'm trying to calculate rotation speed using Hall sensors.
Idea is to use TIM4 and 3 Hall sensors in 3 channels in caputre compare mode to calculate time between two edges. I know how to do that, but the problem is that I need information about the falling or rising edge to know on what angle is rotor.
I need angle to calculate rotation speed, the difference between to captures will never be exactly 60 deegres.
I' am also planing to do calibration of hall sensors to know angle precisely .
So is it possible to detect rising/falling edge using timer or is there some other way to do it ?
Thanks,
Domagoj.
