cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32wb55cgu6 HAL_PWREx_EnterSHUTDOWNMode();

GilAndrei
Associate

 

I am developing a very energy-efficient device. Which will work on the 2032 element. I understand that this will be a server that will wake up every 3 seconds for a short time and wait for a connection to it. I have a problem that in the HAL_PWREx_EnterSHUTDOWNMode(); mode, the controller consumes as much as 0.113 mA, but it should be 0.013. Maybe I am not turning on the SHUTDOWNMode correctly?
/* USER CODE BEGIN SysInit */

/* USER CODE END SysInit */

/* Initialize all configured peripherals */
/* USER CODE BEGIN 2 */

/* USER CODE END 2 */

/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{

HAL_PWREx_EnterSHUTDOWNMode();
/* USER CODE END WHILE */

/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}

0 REPLIES 0