I2C and RTC | Cypress Semiconductor

I2C and RTC

Summary: 2 Replies, Latest post by Schamp on 25 Mar 2011 05:49 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
Schamp's picture
2 posts

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?



dasg's picture
Cypress Employee
730 posts

Hi Andrew,


Can you please reattach the project after minimal archiving it?

I am unable to open the project at my end.

You can 'minimal archive' it by right-clicking the workspace and and choose 'Archive Workspace'.




Schamp's picture
2 posts

Sorry, I just had to guess what to export.  This might work better.

Log in to post new comments.