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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/01/10 12:04
Read: times


 
#172831 - problem with ds1307 andi2c
i am new with i2c and ds1307.
intialy i am trying to start the ossilator square wave in 1hz frequency
to check if code is witten into resister 07 of rtc
i am using 12MHZ crystal with 89S52
i2c routine used is available in 8052 com code library by mehdi.
i have changed to requured slave adress for ds1307 D0 for write
but the pin 7 for oscilater remains 0 instead of 1HZ output.
it seems my i2c is not working.
Using port 2.0 and 2.1 for sda and scl with 10K pullup.
plase help
anil



List of 7 messages in thread
TopicAuthorDate
problem with ds1307 andi2c            01/01/70 00:00      
   Did you provide a resistor...            01/01/70 00:00      
      pull up on ds1307 sqwout            01/01/70 00:00      
   Pullup resistor size...            01/01/70 00:00      
   clock halt bit?            01/01/70 00:00      
      ds1307 and i2c problem            01/01/70 00:00      
         A 10MHz analog scope is fine for 100kHz i2c            01/01/70 00:00      

Back to Subject List