2 Replies Latest reply on Mar 25, 2011 5:49 PM by andrew.schamp

    I2C and RTC

    andrew.schamp

      I had a basic I2C transaction with a temperature sensor working.  I disabled all the I2C stuff and brought in the RTC counter from the example, and that was working as well.  But when I re-enabled the I2C calls, it looks like it's hanging forever waiting for the last byte to be transferred (line 951 of I2C.c).  I am worried that one of the interrupt routines is causing the I2C transaction to be messed up, but I am not sure where to look to find out how, or to debug.  I've attached my project. 

         

      Am I missing something fundamental about how these modules interact with one another?

         

      Thanks,

         

      Andrew