--=======26A140AA======= Content-Type: text/plain; x-avg-checked=avg-ok-60731876; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit John Brown wrote: >I am trying to hook a Dallas 1302 Timekeeping chip up to a 16f877. I am >using PortD 4-6 for the 3-wire interface, and the read/write routines >available from Dontronic's rtc1302.asm file (appropriately modified to >work on the pins I have selected). Is there any problems with using these >routines on a 877? Are there better ones? > >My main problem is that I can't seem to get it going, which is always >annoying! I was wondering if anyone has any ideas? I have confirmed that >the chip is correctly wired to the correct pins :-) and as far as I can >tell it is all wired up correctly. If what way does it not work? Can you read & write the time? Does the time tick over by itself? I used the DS1307 a while ago & you have to set the oscillator bit in one of the registers to get it running. I don't know if the DS1302 is the same but it may be worth looking at. Regards... ___________________________________________ David Duffy Audio Visual Devices P/L U8, 9-11 Trade St, Cleveland 4163 Australia Ph: +61 7 38210362 Fax: +61 7 38210281 New Web: www.audiovisualdevices.com.au ___________________________________________ --=======26A140AA=======-- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu