I'm currently working on a stm32l073 MCU that embeds RIOT-OS. I'm using stop mode. When i go for the first time in stop mode, the current consumption is around 1 or 2uA but then, after wake up, when i want to go back in stop mode, the current consumption is around 20uA and i don't know why. I'm using the RTC for the wake up every 20 seconds. Do i need to reactivate something before going back in stop mode ? I'm also clearing PWR_CR_PDDS flag before going back in stop mode.
If someone has already faced this issue, feel free to answer