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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/09/06 13:01
Read: times


 
#115853 - Lost in confusion.
Responding to: ???'s previous message
Veena, I think you may be totally lost in confusion. Look at the code you have posted - how is that controlling a RTC chip connected to i2c? It looks like it is initialising an internal timer - theres no i2c stuff I can see.

As for defining the registers, have you not read the manual for your compiler?

firstly, you need to get code to do i2c master, then you can look at talking to the i2c RTC chip. The Dallas data tells you all you need to know - you just need to understand it.

Please do some research and read carefully then make o list of items you don't understand. We may be then able to help. It is best if you understand how it all works rather than just paste some magic code in and hope it works - if something does not work properly then you are none the wiser.

List of 23 messages in thread
TopicAuthorDate
How to enable the oscillator in RTC?            01/01/70 00:00      
   I2C Code            01/01/70 00:00      
   SMBus include SCL and SDA lines            01/01/70 00:00      
      derivative or deviate?            01/01/70 00:00      
      I2C RTC            01/01/70 00:00      
         be careful            01/01/70 00:00      
   I2C program and controller            01/01/70 00:00      
      since you are using a derivative (F120)            01/01/70 00:00      
         I used the Code Architect....Erik Sir,            01/01/70 00:00      
            Lost in confusion.            01/01/70 00:00      
               the confooosion is ...            01/01/70 00:00      
   To display time            01/01/70 00:00      
      is reading that tough, evidently it must            01/01/70 00:00      
   I2C RTC Interfacing with 8051            01/01/70 00:00      
      horsefeathers            01/01/70 00:00      
   My position in this I2C RTC....            01/01/70 00:00      
      yes, after 15 minutes            01/01/70 00:00      
      Three issues            01/01/70 00:00      
   yes,after 15 minutes...            01/01/70 00:00      
      More specifically....            01/01/70 00:00      
      use the debugger            01/01/70 00:00      
   Thank you ...            01/01/70 00:00      
      Persistance wins again            01/01/70 00:00      

Back to Subject List