Real Time Clock Accuracy?

03 Jul 2012

I am using the RTC successfully to put a date stamp within a file, (I assume there has been no developments on the file system date stamp?)but I do not seem to get the accuracy others have reported.

Currently I achieve a loss of 19 minutes in 12 days! Not the seconds per week I have seen reported.

I have just reset the the RTC and it is with a second of when the mbed appears to the write the file, so I'll keep an eye on performance against my laptop clock whic is network sychronised.

What are others RTC users achieving?

05 Feb 2013

Hello,

I'm also experiencing some accuracy problems regarding the RTC, in my case the clock is almost 2,5 minutes ahead (in a 12-15 hours run) of my phone or laptop using synchronised time.

Did you managed to get better RTC accuracy?

Best Regards,

09 Feb 2013

There is currently a discussion on the accuracy of the RTC in the LPC1768 in the LPCXpresso forum:

http://knowledgebase.nxp.com/showthread.php?t=4150

21 Feb 2014

Hello,

I'll also experiencing a great deal of delay on the RTC, a loss of 6 minutes in one day!

BR, Sergio

27 Nov 2018

I achieve a loss of 19 minutes in 12 days!

I've lost more than a minute within 10 minutes. Using STM32F429 DISC1 dev board.

It's the only program running.

code

    while (true) {
        time_t seconds = time(NULL);

        printf("The time now is = %s \n", ctime(&seconds));
        led1 = !led1;
        led2 = !led2;

        wait(1);
    }