2019-08-09 06:14 AM
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.
Solved! Go to Solution.
2019-08-21 01:46 AM
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.
2019-08-09 11:57 PM
DBGMCU->CR = 0; // Disable debug and trace in low-power modes
Do this before entering low-power mode.
2019-08-11 11:54 PM
Thanks @Piranha . Unfortunately I tried it but I still get 113µA...
2019-08-20 07:08 AM
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
2019-08-20 07:14 AM
Hi Abid,
Yes I removed all the jumpers on JP5 and fully followed the readme.
Best Regards,
Julien.
2019-08-20 07:30 AM
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
2019-08-21 01:46 AM
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.
2019-08-21 01:52 AM
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