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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/28/04 16:43
Read: times


 
#82125 - Interrupt Issue with I2C
Responding to: ???'s previous message
Generally it is not a problem at all!

I did have a serious problem however with a Philips RTC chip on an I2C bus that did not like having its transfer interrupted during an I2C transaction. The RTC would go into its RTC update cycle every so once in a while and drop the ability to respond with an ACK to the current transfer that had ben interrupted. I fixed that problem by doing two things. A) I used the RTC's block read and write modes as opposed to the single byte read and write modes. B) I disabled interruputs during the part of the software bit-banged data clocking through the ACK pulse. Interrupts turned out to be OK int he time between the byte+ACK transfers.

Michael Karas


List of 18 messages in thread
TopicAuthorDate
soft I2C and interrupts.            01/01/70 00:00      
   Interrupt Issue with I2C            01/01/70 00:00      
      Interrupts & I2C            01/01/70 00:00      
   I2C or SMBus            01/01/70 00:00      
      Not SMBus PHILIPS I2C            01/01/70 00:00      
   a possible fix            01/01/70 00:00      
      Generic answer that is not true            01/01/70 00:00      
      ok Michael            01/01/70 00:00      
         Easy as pie.            01/01/70 00:00      
            Polarised view            01/01/70 00:00      
               no, Donald            01/01/70 00:00      
                  "            01/01/70 00:00      
                     Burned Fingers            01/01/70 00:00      
                        Donald, Michael            01/01/70 00:00      
                           Erik            01/01/70 00:00      
                              100% Agree            01/01/70 00:00      
                                 Ok            01/01/70 00:00      
                        Lazy            01/01/70 00:00      

Back to Subject List