2024-10-13 02:54 PM
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
Solved! Go to Solution.
2024-10-14 02:53 AM
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:
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.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-14 02:53 AM
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:
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.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-15 03:43 AM
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