jdhar
Full Member level 5
rtc oscillator not working
My Dallas DS1307 Real time clock has stopped working for some reason. I can read/write registers using I2C fine, and when I set the time, with the board powered up, the time is changing as I read the registers back. However, when powered off, it stops counting. I have the battery connected properly, and the voltage is abou 3.1V across the Vbat pins. It used to work at first, but for some reason, it has stopped? I have tried re-writing the registers, but that doesn't help either.
Any suggestions?
Added after 22 minutes:
Just thought I would add this - I'm using an oscillator, not a crystal. Does this need to be powered by the battery also, because currently, it is not. Refer to page 1 of the schematics I have posted for my circuit.
My Dallas DS1307 Real time clock has stopped working for some reason. I can read/write registers using I2C fine, and when I set the time, with the board powered up, the time is changing as I read the registers back. However, when powered off, it stops counting. I have the battery connected properly, and the voltage is abou 3.1V across the Vbat pins. It used to work at first, but for some reason, it has stopped? I have tried re-writing the registers, but that doesn't help either.
Any suggestions?
Added after 22 minutes:
Just thought I would add this - I'm using an oscillator, not a crystal. Does this need to be powered by the battery also, because currently, it is not. Refer to page 1 of the schematics I have posted for my circuit.