cancel
Showing results for 
Search instead for 
Did you mean: 

Question about current consumption on pin

SBaro.11
Associate III

Hi all

I'm working with an stm32f4 and I have a question about current consumption on stop mode, on the pin PC1 I have a external pull up 10k connected to 3.3v, before stop mode what is the best mode to avoid PC1 consume 0.33ua ? Right now I have put all gpio in ANALOG, in this mode PC1 avoid connection and 0.33ua are not present ?

 

3 REPLIES 3

Where does 0.33uA come from?

A 10k resistor across a 3.3V supply will take 0.33mA  (ie, 330uA) - is that what you meant?

 


@SBaro.11 wrote:

on the pin PC1 I have a external pull up 10k connected to 3.3v


The pullup will only pass any current when the pin is driving low - so don't drive the pin low!

In general, for minimum current, set GPIO pins to Analog.

Ok so if I put PC1 in Analog mode no current pass through my external resistor when I'm in stop mode ? Bad news for me in stop mode I have 480ua current and I hoped that the problem would come from PC1, so my issue coming from another part.


@SBaro.11 wrote:

Ok so if I put PC1 in Analog mode no current pass through my external resistor .


There will always be some leakage.

 


@SBaro.11 wrote:

 in stop mode I have 480ua current and I hoped that the problem would come from PC1,


You could easily check by disconnecting the resistor...