Skip to main content
Associate
October 13, 2024
Solved

STM32WB1MMCH6TR Power Consumption Issue After OTA Update

  • October 13, 2024
  • 1 reply
  • 820 views

Hi everyone,

 

I'm facing a problem with my STM32WB1MMCH6TR. After performing an OTA update, the power consumption jumps from 120µA to 2.5mA, which is significantly higher than expected. Interestingly, the power consumption returns to normal after I power cycle the board.

I'm uploading the exact same code that is currently running on the MCU, so there shouldn't be any code changes causing this. Has anyone encountered a similar issue or have any suggestions on what could be causing this behavior?



I appreciate any help you can provide.
Tadej

Best answer by Sarra.S

Hello @TadejF, welcome to ST community, 

Are you enabling debug in low power mode? if (DBG_CR) bits remain active after an OTA update, it can cause increased power consumption and can be resolved by power cycle (which resets the register) or by simply clearing the debug bits in DBG_CR. 

Another thing to be aware of, is this erratum related to WB series:

 

SarraS_0-1728899372924.png

Even if in your application HSE is not targeted to be used,  you have to turn it off in order to avoid this overconsumption that is in 350uA range.

 

1 reply

Sarra.SBest answer
ST Employee
October 14, 2024

Hello @TadejF, welcome to ST community, 

Are you enabling debug in low power mode? if (DBG_CR) bits remain active after an OTA update, it can cause increased power consumption and can be resolved by power cycle (which resets the register) or by simply clearing the debug bits in DBG_CR. 

Another thing to be aware of, is this erratum related to WB series:

 

SarraS_0-1728899372924.png

Even if in your application HSE is not targeted to be used,  you have to turn it off in order to avoid this overconsumption that is in 350uA range.

 

TadejFAuthor
Associate
October 15, 2024

Hello Sarra,

Thank you,

Calling the following functions:

 HAL_DBGMCU_DisableDBGSleepMode();
 HAL_DBGMCU_DisableDBGStopMode();
 HAL_DBGMCU_DisableDBGStandbyMode();

before the main loop sorted the problem.

Best regards,
Tadej