1 week, 1 day ago.
What's causing this power spike?
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?
To post an answer, please log in.