2024-03-13 03:56 AM - edited 2024-03-13 04:28 AM
Hello,
we have a validated project based on the stm32l072rb (FLASH 128KB) microcontroller and in stop mode the entire system consumes 3.5uA.
We have updated to the stm32l072rz (FLASH 192KB) and the stop mode current raised to 23uA.
In standby mode both boards consume 3uA.
Are there different actions we have to take to enter stop mode between the two uC which differ only in flash size?
Thanks for your help,
Andrea
2024-03-13 04:03 AM
@andrea-al2tech wrote:Are there different actions we have to take to enter stop mode between the two uC which differ only in flash size?
No.
Are you sure the code is identical?
Are the boards identical?
Remember, at this level the leakage from other components - eg, capacitors - can become significant ...
2024-03-13 04:10 AM
Boards are Identical and we have flashed the same code!
2024-03-13 04:22 AM
There's still scope for (some/most of) the extra leakage to be from things outside the STM32 ...
2024-03-13 04:28 AM
One thing I forgot to mention is that in STANDBY MODE both boards consumes around 3uA. That is why I think it is is something inside the uC!!!
2024-03-14 09:07 AM
Which revision is the 'L072RZ? There's a FLASH-related erratum for rev.A, and while it does not mention increased power supply, you can try the workaround mentioned there, i.e. setting FLASH_ACR.RUN_PD before entering Stop (it probable needs to be done while running code from RAM, together with going to Stop; and it needs an unlock described in the RM).
JW