Page 3 of 3

Re: STM32F030RCT high power consumption in sleep modes?

Posted: Wed Jul 31, 2024 1:12 pm
by Mangy_Dog
GonzoG wrote: Wed Jul 31, 2024 12:47 pm It is called like this, but it's a "normal" sleep mode. Barely any reduction in power as everything stays powered on.

If you want it to go down to uA range, you need to put MCU into standby mode - use shutdown().
f030cb_power.png
Yeah shutdown might be an option... but it also adds some complexity too... Not sure you can wake a shutdown with an interrupt...

Re: STM32F030RCT high power consumption in sleep modes?

Posted: Wed Jul 31, 2024 1:39 pm
by Mangy_Dog
With basic shutdown I got it to 0.14mA on my 3.3V rail which is good... But while I might be able to come up with a way to work with shutdown. Its going to be a pain... If could get around 0.5mA in a sleep state that can be woken up... I think that would satisfy everyone.

One interesting note I've observed after a little while from shutdown, current starts to climb slowly... That I'm not sure what's happening. It might be a floating IO slowly triggering a mosfet that might be powering a relay coil. Not sure.
Another reason to consider something sleep based as some IO needs to be held low.

But seeing 0.1mA in shutdown mode is promising, as it indicates there's not a huge amount of parasitic current going on outside the stm32.