DS1302 problem

Hi, I have a problem with the RTC DS1302 which I set disabling the Clock Halt bit in the Seconds Register, then when I read it, this doesn't change. The clock doesn't count. The problem could be the oscillator? Or the RTC?. I think that maybe I broke the oscillator when I soldered it but I am not sure.

If you would like some help you need to help us help you. The following would be useful.

Post links to all non-Arduino components datasheets.

Also post

  • your schematic (hand drawn is OK)
  • a photo of your circuit
  • for oscillator circuits the layout is important so a picture of the oscillator layout can be useful

Did you read the Application Note recommended by the DS1302 datasheet?

Application Note 58: Crystal Considerations for Dallas Real-Time Clocks