In SX Microcontrollers, SX/B Compiler and SX-Key Tool, RDL2004 wrote: The functioning of the back up battery should be automatic when Vcc2 drops below Vcc1. You do not need any code. I think trickle charging is an unnecessary complication in this case. If you have any code pertaining to the trickle charging, I would try again with that code removed. Be sure to use a fresh battery and observe correct polarity. Make certain the + side of the battery is connected only to Vcc1 so that it is not accidentally drained by other circuitry. [img]xyz[/img] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=298737#m299577 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)