PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: DS1307 rtc |
Posted: Wed Mar 12, 2003 2:58 pm |
|
|
:=Hello,
:=Has anyone tried using the ds1302.c driver for the ds1307 clock?
:=
:=Is this possible? What modifications are needed?
----------------------------------------------------
If you look at the data sheets, you'll notice that DS1302
uses the SPI interface, but DS1307 uses i2c. They're not
compatible.
Do a search on this board for DS1307. Set the search for
at least 600 days and set it to search within messages.
You'll find a link to sample code, and a list of "gotchas"
for the DS1307. ie., must have the backup battery hooked up.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12585 |
|