Looking for library to help debugging power used
Hi,
I'm using a STM32L0, the power consume under stop mode was ~50uA. After some search, i see that i forgot to stop the USART clock which permit a consume under stop mode around 20uA which is far from the datasheet <1uA.
Actually, i'm doing manual search for clock or GPIO which could drain useless power. I wondered if a library or function already exist which could scan all possibility option which drain power and give information about that. I'm not looking for exact number (it could be nice to have approximation) but more a list of all activate option like :
- ADC clock enable
- GPIOx under output state
- MSI clock at x Mhz
etc
So i can figure out what i forgot to disable.
Thanks in advance,
