Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/10/09 13:28
Read: times


 
#167014 - Re: Check the Maxim Site
Responding to: ???'s previous message
Hi Michael,

I have downloaded sample code of "Connecting I2C RTC (DS1307) with AT89S52" from:

http://www.sixca.com/micro/mcs51/rtc_51/index.html

But struggle to convert it to work with ADuC845. I have received this on the PC's terminal:

Day : Nov
Time : FF:FF:FF
Data : FF-å$
øæ"0x
äuðÙ_ -20FF

Note that in the code from download package (from the above link), I change SDA by MDO and SCL by MCO (MDO & MCO are 2 bits of I2CCON of ADuC845).

I am still working out.

Do you have any suggestion?

Thanks.

List of 8 messages in thread
TopicAuthorDate
DS1307 & ADuC845: I2C code            01/01/70 00:00      
   doing what?            01/01/70 00:00      
      Re:doing what?            01/01/70 00:00      
         Check the Maxim Site            01/01/70 00:00      
            Re: Check the Maxim Site            01/01/70 00:00      
   Having the RTC works            01/01/70 00:00      
      WHAT            01/01/70 00:00      
         Re: WHAT            01/01/70 00:00      

Back to Subject List