I am trying to drive BLDC motor by hall values. I am facing the following issue i am not able to detect the exact transition of hall values. How should i proceed? The hall values are analog values given to adc. I am finding a delay between 20 to 70 micro seconds to detect transition. I am using pic controller and operating at 20 mhz.