power consumption in stop modes,standby and shutdown mode
i am trying to measure the power consumption of the MCU in my custom board with different sleep modes, while measuring the stop2 mode i am getting consumption of 110 uA in the datasheet its showing of 2 uA ,even for shutdown and standby mode also its consuming that current.in sleep and active mode am getting proper value as mention in the data sheet.
to get into stop2 mode am using,
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
HAL_Delay(1000);
HAL_SuspendTick();
HAL_PWREx_EnterSTOP2Mode(PWR_SLEEPENTRY_WFI);
HAL_ResumeTick();
}
/* USER CODE END 3 *
apart from this step do i need to do anything extra for enabling the stop2 mode.
(am using lpm01a ST power measurement module.)
