From 79352326e6dd639f8153a7e4be76414774b126ea Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Fri, 19 Apr 2024 10:48:03 +0800 Subject: [PATCH] confirmed ExitStopMode lines.... keep this for 5uA, otherwise 9uA --- Core/Src/stm32_lpm_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Src/stm32_lpm_if.c b/Core/Src/stm32_lpm_if.c index 8957c55..7bda99b 100644 --- a/Core/Src/stm32_lpm_if.c +++ b/Core/Src/stm32_lpm_if.c @@ -125,11 +125,11 @@ void PWR_ExitStopMode(void) SRAM ctrls, DMAx, DMAMux, AES, RNG, HSEM */ /* Resume not retained USARTx and DMA */ - vcom_Resume(); + vcom_Resume(); //not remove this... keep low power /* USER CODE BEGIN ExitStopMode_2 */ MX_GPIO_Init(); MX_DMA_Init(); - MX_I2C2_Init(); + /* USER CODE END ExitStopMode_2 */ }