From PICLIST@MITVMA.MIT.EDU Thu Nov 14 16:30:40 2002 Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-7.13) id A03012AC00A0; Thu, 14 Nov 2002 16:30:40 -0800 Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <22.007DA257@cherry.ease.lsoft.com>; Thu, 14 Nov 2002 19:16:43 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8d) with spool id 4732 for PICLIST@MITVMA.MIT.EDU; Thu, 14 Nov 2002 19:16:35 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 5860; Thu, 14 Nov 2002 19:16:13 -0500 Received: from imo-r09.mx.aol.com [152.163.225.105] by mitvma.mit.edu (IBM VM SMTP Level 320) via TCP with SMTP ; Thu, 14 Nov 2002 19:16:10 EST X-Comment: mitvma.mit.edu: Mail was sent by imo-r09.mx.aol.com Received: from NEWZED@aol.com by imo-r09.mx.aol.com (mail_out_v34.13.) id a.78.309cdfdf (4418) for ; Thu, 14 Nov 2002 19:16:00 -0500 (EST) MIME-Version: 1.0 X-Mailer: AOL 6.0 for Windows US sub 344 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-ID: <78.309cdfdf.2b0596bf@aol.com> Date: Thu, 14 Nov 2002 19:15:59 EST Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: Sid Weaver Subject: Re: [PIC]: interfacing with the DS1302 RTC To: PICLIST@MITVMA.MIT.EDU X-RCPT-TO: Status: R X-UIDL: 277600546 X-Evolution-Source: pop://mailinglist%40farcite.net@mail.farcite.net/ X-Evolution: 00000705-0000 In a message dated 11/14/2002 19:14:11 Eastern Standard Time, annirack@SHAW.CA writes: > Hi, > I'm wondering if anyone knows what the protocol for interfacing with the > Dallas DS1302 RTC. It has a 2-wire serial interface (3, including #RESET), > so it looks like an I2C interface, but with the requirement of the #RESET > line, it looks like a modified SPI. Does anyone know how to use this > device? > > TIA > TIA,. if you will go to www.parallaxinc.com and serach for DS1302, you can download a full explanation including all the code. If you have trouble with the code let me know and I'll help. Sid Weaver W4EKQ Port Richey, FL -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics