Tab5 RTC backup battery specifications
-
I'm wondering if anybody can answer this; the Tab5 has a RTC chip with a dedicated backup battery on the PCB:

Does anybody have electrical specs for this part? or a part number? It would be really handy to have this info.
- The rx8310 RTC chip has a number of settings for controlling and monitoring it's backup battery, it can charge rechargeable ones (for instance) and has configurable switching levels.
- You need to know what type/capacity of battery you are working with to set this up correctly. The defauls are for a simple non-rechargable cell. Is this what the Tab5 has?
-
@easytarget, I found out where’s the battery in the schematics pdf, but it doesn’t say what is the battery type
-
-
This post is deleted! -
@felmue ok, but is the battery always have to be swapped every time it’s faulty?
-
Hello @sam_20
hmm, I don't think I understand you statement. Doesn't every electronic part that's faulty need to be swapped? What am I missing here?
Thanks
Felix -
@felmue said in Tab5 RTC backup battery specifications:
RTC supercapacitor
Once again, thankyou, :-) I am getting cynical, it never occurred to me to just check the specs. doh!
It's a supercapacitor, which explains what I'm seeing. the chip loses time if power is off (fully off, no main battery or usb power) for more than a few minutes. I was hoping that is because it is a supercapacitor and needs a charge, but reluctant to turn charge on if it was just a dud silverNickel cell.
For context: I'm writing a micropython driver for this chip and testing / debugging on my Tab5. I need to go to the datasheet and work out the correct bits to set in my driver. That link to the M5Unified library is really appreciated too!
@sam_20 :
Therx8130cehas built-in fault detection for the backup battery. So it makes sense for M5 to enable it in the M5Unified init() routines. I will be working out (or just copying..) the correct settings myself and setting up myboot.pyto enable 'charge' for this as well as the main battery at boot. My driver is generic, it will support all of the8130's power modes and flags. It will default to charge off because that is safest. -
Hello @easytarget
FYI: I ran a test and after charging the RTC battery / supercap for a couple of minutes, setting a start time, then removing all other power sources and checking after about 7 hours later, the time in the RTC was still correct.
Thanks
Felix -
Like @felmue I also did a bit more testing of the low voltage flags, then enabled the charge circuit (and setting the charge voltage via
bfvselto unlimited). The clock has held time ever since.I'm curious about how long the capacitor can run the clock when fully charged and I have disabled charging again. But my device spends most of it's time on USB power so the duration is hard to measure; so lets try to estimate it :-)
If the frequency out and I2C is disabled (
inien = True) the device should typically draw 0.3 µA when on backup battery (table 5 in the datasheet).
The capacitor is probably a ML414H; 0.07 F.
Table 3 in the datasheet says that the clock oscillator minimum voltage is 1.1v, and the start voltage is VStandby; 3.3v. So we just need to work out the discharge time.Start with working out the equivalent resistance at 3.3v; R=Voltage/Current = 3.3/0.0000003 = 11000000 = 11 MΩ
Now use an online discharge calculator to do the 'heavy lifting'...
https://3roam.com/capacitor-discharge-time-calculator/
(I like that site; it shows the maths used)This gives an estimated! time of 845932 seconds; which is ~235 hours, almost ten days. Which seems reasonable for a capacitor backup.