Welcome, Guest

Author Topic: A20-LIME2-RTC Coin Cell Battery Option  (Read 558 times)

gops

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
A20-LIME2-RTC Coin Cell Battery Option
« on: October 09, 2019, 06:54:28 PM »
Dear Team,

We are looking for having RTC time stored always kept within the device, no matter device is powered off or not.

1. We do not want to have Battery Backup for the entire board, as the customer doesn't want to connect batteries on his product line.
2. We do not want to go with UEXT options with LIME2, it seems cumbersome process
3. Present documentation of LIME2 on the product page https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2/open-source-hardware is very poor, it doesn't talk about RTC option at all without powering entire board with battery backup.
4. But on the Olimex forum, https://www.olimex.com/forum/index.php?topic=5815.0 , I understood that AXP_BACKUP is not possible on Olimex LIME2 board due to pin non-availablity.
5. Last option is to use External RTC with I2C


Is this hold good for October 2019 or the LIME2 latest revision boards have improved to make RTC possible? For Industrial board, RTC become mandatory, we have a lot of trouble with DB, drivers and other issues without RTC, we cannot expect NTP is allowed all time, or device is connected to internet or local NTP server always. Can you please provide an reasonable advise to solve RTC issue with Olimex LIME2 boards?

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1984
  • Karma: +50/-3
Re: A20-LIME2-RTC Coin Cell Battery Option
« Reply #1 on: October 10, 2019, 12:37:31 PM »
The information from https://www.olimex.com/forum/index.php?topic=5815.0 is no longer correct. The BACKUP pin is lead out to a 2-pin connector footprint at the bottom edge of the board starting hardware revision I (and all subsequent hardware revisions).

You can place a connector similar to the Li-Po one, or solder wires or pins and access the 3V additional backup battery.

Inspect the schematics for the exact location. Look for pin #30 of the AXP209 (named "BACKUP"). Search near the big holes meant for placing for two pins with BACKUP label over them - one is 3V, the other - GND.

Refer to the datasheet of AXP209 and search for "30" and "BACKUP" for more information: http://dl.linux-sunxi.org/AXP/AXP209_Datasheet_v1.0en.pdf
« Last Edit: October 10, 2019, 12:44:53 PM by LubOlimex »
Technical support and documentation manager at Olimex

gops

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: A20-LIME2-RTC Coin Cell Battery Option
« Reply #2 on: October 10, 2019, 07:46:26 PM »
Thank you for the clarification.

this means, if we place 3 v battery cell in our mounting, connect the pins as you suggested,  are we good with Olimex boards with RTC? That is super cool, I am happy to know this.

Would you mind take a snap of Olimex board, put a round/marker on exact pin you were recommending as image, that would serve as nice documentation and visuals. Can you please attach image of board with pins and marking them? We have one board from customer, we don't want to screw that till we have backup board from customer.

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1984
  • Karma: +50/-3
Re: A20-LIME2-RTC Coin Cell Battery Option
« Reply #3 on: October 14, 2019, 03:00:14 PM »
Sure, check here: https://imgur.com/a/wZfBuRV

Technical support and documentation manager at Olimex

gops

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: A20-LIME2-RTC Coin Cell Battery Option
« Reply #4 on: October 14, 2019, 03:44:08 PM »
Nice, Thanks, this helps