Hi Rocky,
Click on SEARCH and enter DS1337. Look at the post :example code for DS1337, dated 28Oct2004. The program shows the register addresses. If you don't have the addresses setup then the clock can't be set and it will not work properly.
All of the addresses on page 11 of the datasheet need to be setup as constants. Take the list of addresses on the example code I attached on my last reply. Put them into your program and try them. I do understand you also may possibly have other issues with your setup but these constants need to be a part of your program.
BobK




Bookmarks