STM32L051K8U6 - Larger current consumption scaling with clock than in datasheet
Hello,
I've designed a board with the MCU above. The board has the following peripherals/configurations:
-i2c
-spi
-gpioA
-gpioB
-EXTI and timer interrupts
-serial wire debug
-timers (tim2, tim21, tim22)
The board has some ICs that are all in their lowest power state. I estimate a total of 100uA spent on these ICs.
The code itself initializes the peripherals and sets SPI and I2C devices into their lowest power states before entering the main loop, which is empty.
I acknowledge that the other IC's on the board and the peripherals that are not associated with a clock will drain a roughly constant current. My confusion is regarding how the consumption of the board scales with the MSI clock. Below is my data.
Clock speed (kHz) | Board current (uA)
4194 | 2330
1048 | 1275
524 | 850
As you can see, the current consumption appears to be something like:
current = M*clock + static drainage, where M is much larger (~4X) than the datasheet suggests.
Any suggestions would be greatly appreciated.
Best,
Oliver