We have sensing frequency through ECAP module from Hall sensor. from 0 to 50 Hz, some time we are founding incorrect values. What can be the reason for same?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We have sensing frequency through ECAP module from Hall sensor. from 0 to 50 Hz, some time we are founding incorrect values. What can be the reason for same?
When motor is running a constant speed That time HA and HB values are coming wrong at some moment. Where Ha and Hb are as
HA = (int32)ECap1Regs.CAP3 - (int32)ECap1Regs.CAP1;
HB = (int32)ECap2Regs.CAP3 - (int32)ECap2Regs.CAP1;
Are you using any input qualification? This should help smooth out the input coming into the pins in case of any noisy signals causing eCAP to read incorrect edges.