Built In RTC is not Working

Started by bpir1, May 22, 2017, 03:00:06 PM

Previous topic - Next topic

bpir1

Hi all,

I have a20-Olinuxino-Micro. I am trying to use built in RTC. I have downloaded the code for RTC from following link
https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-OLinuXino-Micro%20with%20MOD-RTC

I have compiled the files with gcc *.c -o rtc. I am able to read the RTC with ./rtc -r 1 and it is displaying the date and time correctly. But the problem is Built in RTC is not updating the time continously, Means the RTC time is same all the time.
I have the connected the CP2032 battery to the board. But Even after that the RTC is not updating its time. All the time it is showing the same date and time.

Is their any way to do this? Please help me with this.

Thanks