cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L431 power consumption.

LeventF16
Associate II

Hello.

We are using PA3 pin as input with pin pull up enabled.

Power consumption of the board is around 36 microamps when pin is not connected to ground.

But when we connect PA3 to ground we have current increase to 74 microamps.

I think that we have some current leakage from the pull up resistor to ground.

How can we fix this?

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

> How can we fix this?

By not pulling the pin to ground...

You can use an external pullup (and switch off the internal pullup) with higher value. Its maximum value (thus minimum current) is given by the pin's leakage, see datasheet (usually around 1uA, so you could usually use something like 1MOhm values).

JW

View solution in original post

1 REPLY 1

> How can we fix this?

By not pulling the pin to ground...

You can use an external pullup (and switch off the internal pullup) with higher value. Its maximum value (thus minimum current) is given by the pin's leakage, see datasheet (usually around 1uA, so you could usually use something like 1MOhm values).

JW