STOPmode not wakeup when code generated CubeMX 5.6. Same code 5.4 work ok.???
main.cpp from 5.4
//turned off wait on
while (1)
{
HAL_Delay(1);
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
if (HAL_GPIO_ReadPin(SW_PWR_GPIO_Port, SW_PWR_Pin) == GPIO_PIN_RESET ||
HAL_GPIO_ReadPin(TRIGER_IN_GPIO_Port, TRIGER_IN_Pin) == GPIO_PIN_RESET)
{
break;
}
....
}
main.c same code from 5.6 dont wake with same exti.
MX_GPIO_Init(void) is identical.
