maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [HW-FIX] losing time/date on battery swap? Replace bupbat (https://talk.maemo.org/showthread.php?t=90864)

pichlo 2015-10-15 14:20

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
A bit of feedback, nearly 2 years on. I replaced the bupbat on four of my N900s and it worked fine for a while, but I noticed a few months ago that the RTC time is lost again once the main battery is taken out for more than a few seconds. That would suggest that the bupbat has ran out and is not being recharged. Wasn't there supposed to be a fix in the power kernel for that?

joerg_rw 2015-10-15 15:41

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
hmm, the charging *should* be enabled per default, afaik. You might want to check the registers, and/or probe voltage on bupbat during and after inserting main battery and attaching wallcharger
maybe useful:http://wstaw.org/m/2015/10/15/plasma-desktopiM9051.png http://www.ti.com/lit/an/swca025/swca025.pdf
actually seems it's not on per default: http://wstaw.org/m/2015/10/15/plasma-desktoppb9051.png http://www.datasheetarchive.com/SWCU050G-datasheet.html

Quote:

In the boot sequence for the device, going from wait-on to active mode, the backup battery charging sequence must be initiated by setting the BB_CFG[4] BBCHEN bit to 1.

[ SWCU050G – April 2008 – Revised December 2010 p438 "7.4.2.1 Backup Battery Charger"]
I would have expected this getting done by NOLO

pichlo 2015-10-15 19:40

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
OK, I made a few tests. Please note that I have the package, whatever it is called, that puts up the "enter date" dialog on boot up removed. My phone boots up straight to desktop every time.

Test 1: Remove main battery for 5 minutes. Put it back, power up. System tme is preserved.
Test 2: Remove main battery for 2 hours. Put it back, power up. System time is reset.

So it looks like the bupbat keeps some charge but not for very long.

joerg_rw 2015-10-15 20:24

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
which bupbat you are using? The polyacene capacitor type is not supposed to provide nearly as long a backup as the original LiMg cell. Anyway I'll try to find the data and do the math how long actually

to start with:
http://wstaw.org/m/2015/10/15/plasma-desktopAq9051.png

PAS414 CAP PAS COIN-TYPE 3.3V 0.07F
0.07 As/V * 3 V * 3 V = 0.63 VAs; aka Ws aka J (actually * 0.5 since voltage drops linear with discharge)
0.63 Ws / 7.2E-6 W = 87.5E3 s = 24 h (* 0.5; assuming the capacitor could power the VBRTC domain until voltage = 0, so actually probably another time half of that, ~6h in the end)

Anyway BB_CFG register reset default is 0b00000000, for polyacene cap PAS414 (!!!) I suggest setting it to 0b00011111 as soon as possible during boot

pichlo 2015-10-15 20:53

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
I am using the ones from you. If this is as expected then fine. I think my test proves that the bupbat does get recharged, otherwise the time would be lost right away and not after two hours. I was under a misconception that an RTC backup battery should last for days, if not years. We used some RTC chips back in mid-1990's, can't remember the type number, that had the battery built in. So clearly not vety big. IIRC, the catalogue page claimed the battery should last 10 years.

joerg_rw 2015-10-15 21:08

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
Quote:

Originally Posted by pichlo (Post 1485686)
We used some RTC chips back in mid-1990's, can't remember the type number, that had the battery built in. So clearly not vety big. IIRC, the catalogue page claimed the battery should last 10 years.

Infamous DALLAS chip, had a Lithium battery which had quite a few more Ws than the polyacene. Probably something like 100mAh * 3V = 18Ws. And the clock in DALLAS was less "greedy" than the TPS65950

jurop88 2016-01-30 09:26

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
Looking for new bup, Tayo Yuiden part is out of production. Could be ELNA DSK-414-HL a suitable replacement?

joerg_rw 2016-01-31 18:52

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
Quote:

Originally Posted by jurop88 (Post 1496993)
Looking for new bup, Tayo Yuiden part is out of production. Could be ELNA DSK-414-HL a suitable replacement?

yes, looks like a perfect match, though I didn't check the exact specs (millimeters etc), anyway generally it should just work as long as it fits.
Thanks for the pointer
/j

robthebold 2016-01-31 20:26

The N900 has a clock backup battery? All these years of ignorance I assumed it was just s lost technology and reseting date/time when changing battery wss a feature. Thanks to this recent activity in this thread I'll see if I can find that potential replacement.

The things one learns every day here!

And digikey stocks the Elna part. Makes it easy to get just one.

badpixel 2016-02-01 01:48

Re: [HW-FIX] losing time/date on battery swap? Replace bupbat
 
It's probably realted to broken firmware in mine case, but does Nokia N9 got similar RTC battery?


All times are GMT. The time now is 18:07.

vBulletin® Version 3.8.8