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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/09/07 20:17
Read: times


 
#130528 - I2C clock freq.
Hi All,

Afew weeks ago, I started a 'I2C bus write operation help' subject. I cold not interested in with the subject later because of my health problem. I read the suggestions but my problem goes on. So please give me your suggestions.

I want to learn something about I2C bus clock frequency. It is possible to operate with I2C bus from 100Khz to 400khz as you know. I'm a 89C52 user and there is no I2C bus hardware interface on this device. I think, we have got to consider SCL freq. if the internal command cycle time is greater than 400Khz.(Ofcourse, in most of the applications greater than this value) I'm confused. Please give me some info. about this topic. you can see my oscilloscope screen output for my 24C32 EEPROM write operation. After the ACK, program tends to repeat write code. On the simulation there is no problem. But real application does not work. I suspect about the clock frequency.(89C52 crystal is 4Mhz on the system)My code causes to repeat EEPROM WRITE opation if ACK has a problem. As in the image that I showed below, program repeates itself. Then, I changed the dead time of ninth clock cycle. There was no change.

Best Regards,
Batuhan


List of 13 messages in thread
TopicAuthorDate
I2C clock freq.            01/01/70 00:00      
   Incorrect            01/01/70 00:00      
   release SDA bit            01/01/70 00:00      
      My Code            01/01/70 00:00      
         bingo! I guessed it!            01/01/70 00:00      
            No Change...            01/01/70 00:00      
               Please can you comment your code            01/01/70 00:00      
               Define Bad            01/01/70 00:00      
                  Why?            01/01/70 00:00      
                     'scope            01/01/70 00:00      
                     'scope            01/01/70 00:00      
                        New Image            01/01/70 00:00      
                           look at the I2C document...            01/01/70 00:00      

Back to Subject List