Skip to main content
Associate
Mar 13, 2024 10:56 AM UTC
Question

stm32l072rz higher stop mode current then stm32l072rb

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

This topic has been closed for replies.

5 replies

Andrew Neil
Super User
Mar 13, 2024 11:03 AM UTC

@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 ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
Mar 13, 2024 11:10 AM UTC

Boards are Identical and we have flashed the same code!

Andrew Neil
Super User
Mar 13, 2024 11:22 AM UTC

There's still scope for (some/most of) the extra leakage to be from things outside the STM32 ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
Mar 13, 2024 11:28 AM UTC

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!!!

waclawek.jan
Super User
Mar 14, 2024 4:07 PM UTC

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