Resolved! using the stm32f7222ze - nucleo board and trying to activate standby mode and wake up by pin PA0 .
int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init();...