Skip to main content
cyt
Associate II
May 3, 2020
Question

HALL_MAX_PSEUDO_SPEED question

  • May 3, 2020
  • 0 replies
  • 490 views

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

This topic has been closed for replies.