Search found 1 match

by cupracing
Tue Sep 03, 2019 4:25 pm
Forum: STM32 Support
Topic: Hall sensor does not recognize FALLING_EDGE
Replies: 3
Views: 2455

Hall sensor does not recognize FALLING_EDGE

Hello,

i am using an STM32F103C8T6 to read data from two hall sensors to detect the direction of rotation of a pulley mounted on a motor.

I am not able to count the pulses from the sensor with accuracy, i read multiple interrupts and is a problem. What i am doing wrong?

Attached the code to read ...