DS1337 RTC Problem

Status
Not open for further replies.

MD_Landis

New Member
I am using a DS1337 (Not the C version) and facing a weired problem.

As per the DS1337 data sheet, whenever the second register is gets updated then the internal counter gets reset and there will a 1sec to complte the remaining time values write into RTC(min, hour,sec..).

But it is not happening like that... when ever i writes a time into RTC(for example 1hour 30min and 59sec) sometimes the seconds value is drifted into 00.

Due to this behaviour,the RTC time is drifted 1min less(1:30:00) than the actual time..

Any thoughts?

Thanks
 
Are you writing the registers in 1 burst so that there is only 1 stop bit after all bytes have been transferred. Note a restart is counted as a stop bit.

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…