- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the API with the Altera Avalon I2C Master core in non-interrupt mode. It works fine except when I try to access a device that is not currently on the I2C bus. Even though the driver code appears to have timeouts coded, it takes over an hour to timeout with a 100 MHz NIOS processor. Has anyone found and solved this problem?
Thanks, RonLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like just poorly written code. You can modify the altera_avalon_i2c.c file yourself and streamline some of the wait states and wait times. But that becomes a configuration control nightmare for me. Were you ever able to resolve this any other way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
altera/intel soft/hard i2c ipcore (even in silicon) hangs of any noise and I think you can hardly repair it
use your own soft controller

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page