Cerb 40 II RTC - hardware mod required?

Hi,

The RTC Class isn’t working on my Cerb 40 II, and I’m wondering if a hardware mod to the board is required.

The Cerberus family’s RTC documentation (https://www.ghielectronics.com/docs/46/cerb-family#404) list 2 mods required to support RTC: adding a crystal and replacing capacitors C21 & C22. Cerb 40 II has the crystal, but do I still need to replace the capacitors in order for RTC to work?

If it’s not the capacitors, I don’t know where else the problem might be. I’ve connected a CR2032 battery to the VBAT pin and GND pin. I don’t think my problem is in the code, since it’s so straightforward:

        //RTC.Initialize(); - this hangs
        now = RTC.GetTime();
        if (now.Year < 2014)
        {
            now = new DateTime(2014, 5, 16, 22, 23, 00);
            RTC.SetTime(now);
        }

Neither the GetTime nor SetTime method throws an Exception, but GetTime always returns a date of Jan 1 1980.

Thanks,

Dan

Hi all,

I am having the same problem as stated above, I’ve change the code in anyway, it was working fine for a few weeks.
If anyone has the same issue please advise on how to fix it.

Thanks