SV: [bascom] DS1307 Real Time Clock and I2C with Bascom


From "Lars Wictorsson" <lars@lawicel.com>
Date Sat, 16 Jun 2001 10:42:07 +0200

Hi,

Just a quick one...

>>From what I have found out there are a few hardware catches with the
DS1307.
>I have got the Vbat connected to ground so it cannot float, and 4.7K pullup
>resistors on the SCL and SDA lines. The 32Khz crystal is connected to pins
1
>and 2, Still no go.


I tested the DS1307 a while back (not in bascom though), but 4.7K
could be to much for SDA/SCL. Try using 1K instead, since I also
used about 5K originally and never got it to work, then I used 1K
and it worked.

/Lars