DS1216 clock interface with arduino

Dear All,

I have some DS1216 Maxim clocks
(http://datasheets.maximintegrated.com/en/ds/DS1216-DS1216H.pdf)
and would like to interface them with the arduino.
Unfrotunately I have not find any usable information on the Web.

Does any of you can help for information of the branching and software ?

Thanks

Jacques

Looks like you send a 64-bit pattern to get access to the clock.

Pull OE low and briefly pull CE low to reset the pattern recognition pointer.

Pull A2 low (RTC Write). For each bit, set A0 to the bit value, pull WE low, and pull CE low briefly.

After all 64 bits of the pattern are written, read the 64 bits of clock registers:

Pull A2 high (RTC Read). For each bit, pull OE low, and pull CE low briefly. Data bit appears on DQ0.

To set the clock, do the pattern recognition cycle, then write the 64 bits of clock registers:

Pull A2 low (RTC Write). For each bit, set A0 to the bit value, pull WE low, and pull CE low briefly.

Thanks a lot for this information,

but I am afraid that for my level of understanding, you will have to be more specific. First thing : What will be the wiring with the arduino ?

Do I only need the pins

RST -> HIGH through 10kohm + 0.1 uF to Vcc A2 -> Arduino PIN A0 -> Arduino PIN DQ0 -> Arduino PIN GND -> Arduino GND Vcc -> Arduino Vcc 5V VccD -> Arduino Vcc 5V WE -> Arduino PIN OE -> Arduino PIN CE -> Arduino PIN

?

Do some of the pins need to be on specific arduino pins ?

Thanks

Jacques

You probably only need one Vcc connection and you may not need RST but otherwise I think you have everything correct.

Do some of the pins need to be on specific arduino pins ?

No.