Skip to main content
JBron
Associate II
August 9, 2019
Solved

STM32WB55 Nucleo - unexpected current consumption in STOP2 mode

  • August 9, 2019
  • 5 replies
  • 2766 views

Hello,

I used the Nucleo STM32WB55 board to test the STM32WB55xx current consumption.

I took the PWR_STOP2_RTC example from the STM32Cube MCU package for STM32WB Series (v1.2.0)

With STM32CubeMx v5.3.0 I re-generated code for Truestudio (I am using Truestudio v9.3.0) and followed the readme for the board setup.

I measured 113µA on JP2 (when the chipset is in STOP2 mode), while I expected something close to 2µA as per the datasheet.

What is strange is that I have the same consumption if I change the code to use STOP1 or STOP0 mode instead of STOP2.

What could be wrong in my setup?

How much current should the board consume with this example code?

Thanks & Best Regards,

Julien.

This topic has been closed for replies.
Best answer by JBron

Thanks Abid.

I got the workaround from another discussion.

The following line should be added before entering STOP2 mode (otherwise it uses STOP0 mode)

LL_C2_PWR_SetPowerMode(LL_PWR_MODE_STOP2);

Best Regards,

Julien.

5 replies

Piranha
Principal III
August 10, 2019
DBGMCU->CR = 0; // Disable debug and trace in low-power modes

Do this before entering low-power mode.

JBron
JBronAuthor
Associate II
August 12, 2019

Thanks @Piranha​ . Unfortunately I tried it but I still get 113µA...

AbidSulaiman
Associate II
August 20, 2019

Hello @JBron​ ,

did you removed all jumpers on JP5? Refer to readme.txt in \Projects\P-NUCLEO-WB55.Nucleo\Examples\PWR\PWR_STOP2_RTC.

Best Regards

Abid

JBron
JBronAuthor
Associate II
August 20, 2019

Hi Abid,

Yes I removed all the jumpers on JP5 and fully followed the readme.

Best Regards,

Julien.

AbidSulaiman
Associate II
August 20, 2019

Hi Julien,

I think i cannot help you further. But a suggestion would be to create a blank project and enter stop2 mode using HAL functions. Then try to measure.

Best Regards

Abid

JBron
JBronAuthorAnswer
Associate II
August 21, 2019

Thanks Abid.

I got the workaround from another discussion.

The following line should be added before entering STOP2 mode (otherwise it uses STOP0 mode)

LL_C2_PWR_SetPowerMode(LL_PWR_MODE_STOP2);

Best Regards,

Julien.

AbidSulaiman
Associate II
August 21, 2019

Hi Julien,

Thanks for notifying me. I just notice that in FW_V1.2.0, we need to write more code for LPM in comparison to FW_V1.1 and before.

Regards

Abid