AnsweredAssumed Answered

stop mode not working ?

Question asked by vitthal muddapur on Feb 18, 2018
Latest reply on Feb 19, 2018 by Clive One

i am new in stm32 

 

if (HAL_LPTIM_Counter_Start_IT(&LptimHandle, 1000) != HAL_OK)
{
Error_Handler();
}

HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);

/* Infinite Loop */
while (1)
{
BSP_LED_Toggle(LED2);
HAL_Delay(3000);
}

it does not enter the stop mode continue led on and off

Outcomes