Pages: [1]   Go Down
Author Topic: DS1339 RTC  (Read 1321 times)
0 Members and 1 Guest are viewing this topic.
NZ
Offline Offline
Sr. Member
****
Karma: 0
Posts: 390
Turtle in a hard shell
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am just wondering if anyone has interfaced to a Maxim DS1339 RTC?

The reason I am interested in this is it supports 400khz I2C bus, whereas the DS1307 only supports up to 100khz.
I currently thave the DS1307 in my design however my design now uses 400khz as the bus, so I cant talk to the DS1307.

I did a google search and found this site, which lists all the RTC's, however I havent yet found anyones examples.
https://github.com/logic/arduino-rtc/wiki/Timekeeping-Registers

I assume it may be a case of writing a library for it myself.... somehow...

Open to other RTC options too, just need one that talks I2C @ 400khz, and ideally is already supported by Arduino.

Thanks
James
Logged

NZ
Offline Offline
Sr. Member
****
Karma: 0
Posts: 390
Turtle in a hard shell
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually, just spotted the DS1337 RTC, which appears people have used, and looking at the datasheet that supports 400khz I2C too.

Time to do some reading.

Cheers
James
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 170
Posts: 12487
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I assume it may be a case of writing a library for it myself.... somehow...

Interesting overview, esp the DS1388, with 1/100 presision looks quite interesting to be used as NTP

 a quick look shows that the 1339 and 1337 (and others) are quite similar for the first 7 registers, so you could use one of the available 1307 libraries as a starting point.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I use the DS1337 on my PICO1TRC and PICOBEE boards.
I use the ATMEL I2C library and my own RTC library.
Application examples (including alarms and interrupts)
are on my site --

http://wiblocks.luciani.org/PICO/PICO1TRC-index.html

(* jcl *)
Logged


Pages: [1]   Go Up
Jump to: