STM32L011 consumption variation
I am starting with the STM32L011 MCU (NUCLEO-L011K4 kit) and I want to use it for a very low-power application.
I need an operating frequency of 65536Hz to generate a pattern on a GPI/O continuously.
So I configured the STM32 in LowPower Run mode with MSI clock and RAM operation (Flash memory in power-down). The consumption measured at 3.3V is consistent with that given by the tool available in the STM32CubeIDE (with the ioc file) i.e. approximately 11µA.
Nevertheless, I observe a cyclic variation of the consumption of approximately 0.4µA which I cannot explain.
The measured current decreases slowly for about 2 minutes 10 seconds then rises instantly by 0.4µA and resumes its decrease etc...
Does anyone have an explanation for this phenomenon?
NB1: I replaced the actions on the GPI/O with "nop" instructions, without any more results.
NB2: The project is created as a new "empty" STM32Cube project, so no functions for the HAL.