Tracking power leackage in my freerunner

rixed at happyleptic.org rixed at happyleptic.org
Wed Feb 17 10:38:58 CET 2010


-[ Wed, Feb 17, 2010 at 09:13:41AM +0200, Timo Juhani Lindfors ]----
> rixed at happyleptic.org writes:
> My expertise pretty much ends here :-) However, it might help if you
> power down all extra hardware (bt, gsm, gps, wifi) and then run gpio
> from
> 
> http://svn.openmoko.org/trunk/src/target/gpio/ 

Here are the result, once turned everything down (bt, gsm, wifi, usb, gps) :


A  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 
  F0 F0 F0 F0 F0 F0 F0 F0 F0 F0 F0 F0 F0 >0 F0 >0 >0 F0 F0 F0 F0 F0 F0 
B  0  1  2  3  4  5  6  7  8  9 10 
  >0 >0 >0 >0 >0 >0 >0 >0 >0 >1 >0 
C  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 
  >0 >0 >0 >0 >0  0R>0 >0 >0 >0 >0 >0 >0 >1 >0 >1 
D  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 
  >1 >0 >0 >1 >1 >0 >0 >0 >0 >0 >0 >0 >1 >1  1 >0 
E  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 
  F0 F1 F0 F0 F0 F0 F1 F1 F1 F1 F1 F1RF1 F1 F1 F1 
F  0  1  2  3  4  5  6  7 
  F1 F0 F1 F0RF0 F0 F0 F0 
G  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 
  >0 F1 X1 >0 F1  1R>0 >1 F1 F1 F1 F1 >0  1  1  0 
H  0  1  2  3  4  5  6  7  8  9 10 
  F0 F0RF1 F1R>0 F1 F1 F1 F0RF1 >0 
J  0  1  2  3  4  5  6  7  8  9 10 11 12 
   0R>1 >0 >0 >1 >1 >1  0R>1 >0 >0 >0 >1 

and a diff from yours :

--- gpio.ref    2010-02-17 09:54:13.000000000 +0100
+++ gpio        2010-02-17 09:46:11.000000000 +0100
@@ -7,12 +7,12 @@
 E  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 
-  F1 F1 F0 F1 F1 >0 F1 F1 F1 F1 F1 F1RF1 F1 F1 F1 
+  F0 F1 F0 F0 F0 F0 F1 F1 F1 F1 F1 F1RF1 F1 F1 F1 
   ^^       ^^ ^^ ^^
 F  0  1  2  3  4  5  6  7 
-  F1 F0 F1 F0RF0 F1 F0 F0 
+  F1 F0 F1 F0RF0 F0 F0 F0 
                  ^^
 G  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 
-  >0 F1 X1 >0 F1  1R>0 >1 F1 F1 F1 F0 >0  1  1  0 
+  >0 F1 X1 >0 F1  1R>0 >1 F1 F1 F1 F1 >0  1  1  0 
                                    ^^
 H  0  1  2  3  4  5  6  7  8  9 10 
-  F0  0R 0 F0R>0 F1 F1 F1 F0RF1 >0 
+  F0 F0RF1 F1R>0 F1 F1 F1 F0RF1 >0 
      ^^^^^ ^^^^^
 J  0  1  2  3  4  5  6  7  8  9 10 11 12 
-   0R>1 >0 >0 >1 >1 >1  0R>1 >0 >0 >0 >0
+   0R>1 >0 >0 >1 >1 >1  0R>1 >0 >0 >0 >1 
                                       ^^

I'm not familiar with gpios, and I don't understand the values here.
But looking to the ones that differs, lets see what they are connected to :

GPE0 is ISSLRC, linked to in/out port LRC of something that could be the codec.
GPE3 is ISSSDI, linked to output port ADCDAT of the same thing.
GPE4 is ISSSDO, linked to input port DACDAT of the same thing.

GPE5 is WLAN_SDCLK, linked to input port SPI_CLK of CON7901 (related to SD card apparently)
GPF5 is linked to in/out port WLAN_GPIO1 of same CON7901 (aparently related to wlan wakeup)

GPG11 is EINT19/TCLK, linked to output GSMOC point near a small thing.

GPH1 is NRTS0, linked to output port CTS_MODEM of the calypso.
GPH2 is TXD0, linked to input port RX_MODEM of the same capypso.
GPH3 is RXD0, linked to output port TX_MODEM.
GPH4 is TXD1, linked to output port RXD1 of the U7608.

GPJ12 is CAMRESET linked to input port RESET of the CON7901.

So, the conclusion to draw from all this is very clear : this is not going
to be obvious. :o)

If noone has a better idea I will try to write your values into my FR's gpio
to see if that changes anything.


Apart from that, and interrestingly, I changed my battery to a new one (not
really new since I own it for severall months, but never used it). Apparently
it's better : I measured 13.5mA ( -> suspend time more than 80h). I still find
it very doubtfull that changing battery can alter this as much, so I will have
to check a couple of time.


Thank you for your patience, support and ideas, anyway.




More information about the community mailing list