Hi jcleaver,
Well the obvious things to check are the crystal, the SDA and SCL pins aren't reversed, the sec.7 setting and the batt pin grounded or connected to a battery.
I personally use the DS1337 RTC. It doesn't have a batt pin and it doesn't have a startup register to set. BUT, when I first started using it I thought any 32K crystal would work. I was way off on that one. Every one of my clocks gained time and fast! Reading the fine print in the datasheet for the 1337 RTC shows the crystal needs to have a 6pf capacitance load. Bought the right crystal and they haven't missed a beat yet! Back to your problem.
Triple check the SDA and SCL pins to make sure they aren't reversed. Just for the hell of it, read and display RTCSec.7 to make sure it is set to 0. I know I read your posts about sending a $00 to the sec register but I would at least try sending RTCSec.7 = 0 to see if the clock doesn't start running.
I would also try setting up the mentioned program from Melanie MN1307. At least here you know for sure the program works. If you 1307 works in her program then you've got some direction to look in.
I've done several projects now with the DS1337 and I haven't had any problems other than the crystal.
HTH,
BobK
Bookmarks