Searching \ for '[PIC]: RTC Code' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/time.htm?key=rtc
Search entire site for: 'RTC Code'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: RTC Code'
2005\10\13@152826 by Paul James E.

picon face

All,

I thought for sure I saw some code (Assembly Language) for using an I2C
Real Time Clock with a PIC on the PICLIST website under the Software  
Collection folder, but I'll be danged if I can find it.  I found code for
3 and 4 wire interfaces, but non for the 2 wire.   I could adapt some code
for an I2C EEPROM, but I thought it would be easier to use some that was
already written.   So, if no one out there has an idea where it could be,
I'll just have to write (or modify) my own.  If anyone has any I2C
assembly code for an RTC, please let me know.  I would appreciate it.


                                               Thanks and regards,

                                                      Jim

2005\10\14@053143 by cdb

flavicon
face

Hi,


Which RTC part? Do you just want the I2C communications or the reading
and writing the time/calendar?

:: If anyone has any I2C
::
:: assembly code for an RTC, please let me know.

Colin

--
cdb, spam_OUTcolinTakeThisOuTspambtech-online.co.uk on 14/10/2005

Web presence: http://www.btech-online.co.uk  

Hosted by:  http://www.1and1.co.uk/?k_id=7988359

We cannot become what we need to be by remaining what we are. (Max de
Pree)



2005\10\14@094748 by Paul James E.

picon face

Colin,

Specifically, I'm going to use Thompson (ST) M41T0.  I'd prefer to have
communications and the reading and writing of the various registers.
If that isn't possible, even something close would give me a start to
build on.  If I'm not mistaken, this part is function and register
equivalent to some of the Dallas Semiconductor / Maxim parts that also
use I2C for communications.  So if you know of something for one of the
Dallas parts, that would probably work too.  

I appreciate the time you're taking to help me out.    Hopefully, you'll
be able to send me something, or at least point me to where I can find it.

I hope to hear from you soon.

     
                                                Thanks and Regards,

                                                       Jim




{Quote hidden}

> --

2005\10\14@115542 by Marco Genovesi

flavicon
face

>>I thought for sure I saw some code (Assembly Language)
>> for using an I2C Real Time Clock with a PIC on the PICLIST
>> website under the Software Collection folder,
>> but I'll be danged if I can find it...


Jim,
i'm totally obscure about this point, however I have found this  source code for 16F84 & DS1307 & LCD ( DS1307 is 2 wire interface, if i'm right).
Obviously I'm non sure if this code is well done..  ;-)


http://www.todopic.com.ar/asm/ds1307_LCD_f84/


regards
Marco


















2005\10\14@121415 by Marcel Birthelmer

flavicon
face

 Jim,
> i'm totally obscure about this point, however I have found this  source code for 16F84 & DS1307 & LCD ( DS1307 is 2 wire interface, if i'm right).
DS1306 and DS1307 are both useable in SPI and I2C mode. There's a pin
labelled "Sermode" which, if tied to Vcc selects I2C, if tied to ground
 SPI. In the DIP package for DS1306 it's pin 9.
- Marcel

2005\10\14@134712 by Paul James E.

picon face


 Thanks Marco.   This isn't the particular program I was looking for,
 but it is a good starting point.  I believe I can get this to work
 with my RTC chip.  


                                         Thank Again and Regards,

                                                   Jim



{Quote hidden}

> --

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...