No I2C Interrupts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2006-06-20 12:04 PM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:50 AM
Posted on May 17, 2011 at 11:50
Hi,
I'm using nearly identical I2C firmware as in the RTC demo but I can't get the master to transmit. When I call the master transmit function, I get a start bit but I get no interrupts. Since there are no interrupts, nothing is put into the S1DAT register and there are no I2C clocks. I checked the EI2C bit (A7.1) and it is set. EA is set. But the S1STA register bit 5, INTR, never goes active. Any ideas what I'm missing that keeps the I2C from running? Thanks, meOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:50 AM
Posted on May 17, 2011 at 11:50
I suggest you upload your program so that people can take a look what you did in the program. Even one simple error can cause program to fail.
Hanway