1 week, 1 day ago.

What's causing this power spike?

Hi there,

I'm using an STM32L073RZ on a bare board with just the CPU and necessary power electronics. I'm powering the board straight from an Otii Arc and measuring current consumption. When I call the sleep() function the CPU goes into a low power mode, with an occasional 5mA spike in current consumption approximately every second, see the image below:


What is the cause of this? I'm attempting to place the CPU into STOP mode with an RTC running - this should draw, according to the datasheet, 1µA current.

Further to this, how can I tell which low power mode the sleep() function has chosen?

Thanks, Adam

I believe its one of the rtos/thead tickers. If you can find away to turn these functions off it may stop. I use OS2 and do not have the problem.

posted by Paul Staron 15 Mar 2019
Comment on this question
Be the first to answer this question.

To post an answer, please log in.