cancel
Showing results for 
Search instead for 
Did you mean: 

HALL_MAX_PSEUDO_SPEED question

cyt
Associate II

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

0 REPLIES 0