HAL_TIMEOUT when call HAL_LPTIM_Counter_Start
Hi,I am using stm32L431 and trying to use LPTIM to count pulses.When I call HAL_LPTIM_Counter_Start() return HAL_TIMEOUT in if (LPTIM_WaitForFlag(hlptim, LPTIM_FLAG_ARROK) == HAL_TIMEOUT) { return HAL_TIMEOUT; }But if I comment this part of function...