Rtc

I am just starting to play with my FEZ DOMINO. My RTC does not stay set. I have 3v on Vbat and have IR drop across R13. If I press reset my RTC resets too. What am I doing wrong?

TNX: Ray

Welcome to the forum!

See if this helps:

http://www.tinyclr.com/forum/10/1950/

If not, show the code you are using.

Well - Ok I tried the following suggestions 1). added a 10mF tantalum between Vbat and grd. 2), set the time then erased using MFdeploy. Loaded a test program and RTC not Right.
I used the following to set time:

using System;
using Microsoft.SPOT;
using System.Threading;
using Microsoft.SPOT.Hardware;

namespace Setting_the_RTC
{
public class Program
{
public static void Main()
{
// set date and time yyyy,MM,dd, hh,mm,ss
DateTime time = new DateTime(2011, 4, 1, 9, 15, 0);
Utility.SetLocalTime(time);
while (true)
{
Debug.Print(DateTime.Now.ToString());
Thread.Sleep(1000);
}

    }

}

}
I have to be doing something wrong but can’t figure it out.

In your code you set the system time but not the RTC. Please see RealTimeClock class in documentation and in free ebook

Thanks Gus - I’m a dummy