DS1337 RTC chip

Status
Not open for further replies.

justin_t

New Member
Hi

Ive interfaced a maxim DS1337+S with an atmel ATMEGA162 and am bit banging a TWI interface between the 2.
Up unitl now i have only been using hours and minutes, which is working great. To display, ive been adding the value to and SRAM location table and outputing the word on a 7 seg display.

Im now looking to use the date, month and year registers and do the same type of operation. The date and month are working fine for me but when i set the time to 31-12-99 and let the time roll over to midnight, the year display reads 80 instead of the expected 00. I know its probably something im overlooking in my program but was wondering if any one had come across a similar problem with this type of interface?

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