Interfacing ds1307 with 16f877

Hello friends! I'm intefcacing DS1307 RTC wit pic16f877. I need some help. The data from RTC is not correctly received. Can anybody suggest a possible solution?

Reply to
kartiki
Loading thread data ...

I've got some very old assembler code here for talking to the DS1307 is that helps:

formatting link

Also, do try using Google. First hit for "DS1307 PIC":

formatting link

Dave.

Reply to
David L. Jones

I have some old code at:

formatting link
don't know if this will help, or not.

Cheers Don...

--
Don McKenzie

Site Map:            http://www.dontronics.com/sitemap
E-Mail Contact Page: http://www.dontronics.com/email

Intelligent 2.83" AMOLED with touch screen for micros:
http://www.dontronics-shop.com/product.php?productid=16699
Reply to
Don McKenzie

It's very difficult to do this without a 'scope. I know, I've done it.

Beg borrow or steal one and look at the timing of the waveforms you're generating.

There's lots of code around, but to make sure you have the right port pins, configured in the correct direction, toggling with the right polarity at the right time, you really must have a scope, regardless of what existing code you have.

Clifford Heath.

Reply to
Clifford Heath

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.