2020-05-02 11:40 PM
HALL_MAX_PSEUDO_SPEED question
at HALL_TIMx_CC_IRQHandler() function,
how come the "if condition" become TRUE, then assign HALL_MAX_PSEUDO_SPEED value to pHandle->CurrentSpeed
I found that the motor is not rotated, but the HALL_M1.CurrentSpeed value is HALL_MAX_PSEUDO_SPEED(3630), anyone know that?
if ( wCaptBuf < pHandle->MinPeriod )
{
pHandle->CurrentSpeed = HALL_MAX_PSEUDO_SPEED;
pHandle->NewSpeedAcquisition = 0;
}
Thanks