Electronic – arduino – DS1302 Real Time Clock Question

arduinortctimertiming

So I am attempting to tie a real time clock (DS1302) into an Arduino and then eventually a AVR chip directly. From all of the schematics I have seen, it appears a crystal is required. I read through the datasheet (above) and did not get the feeling you can run the chip without one.

Am I mistaken? I hope so as I would just like to hook this up to the Arduino and also have a coin cell battery back it up. Does this IC require a crystal or does it have its own built on board?

Best Answer

Yep, it needs a 32768 Hz crystal clock.

The DS1302 uses an external 32.768kHz crystal. The oscillator circuit does not require any external resistors or capacitors to operate.

App. Note 58: Crystal Considerations with Dallas Real-Time Clocks (RTCs)