[STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

Working libraries, libraries being ported and related hardware
User avatar
fpiSTM
Posts: 1758
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

Post by fpiSTM »

I've made some test and found why. I've made a fix:
https://github.com/stm32duino/Arduino_C ... /pull/2227

You can test on your side, adding below lines after the Wire.end():

Code: Select all

pinMode(SDA, INPUT_ANALOG);
pinMode(SCL, INPUT_ANALOG);
Post Reply

Return to “Libraries & Hardware”