- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, is there an example of Avalon i2c slave which can generate an interrupt on the NiosII when an i2c query arrives ?
All examples I found was Master or slave based on polling.
Fpga: Arria10
mcu : NiosII
Quartus 17
Thank you
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't find out any ISR handling for I2C. You can refer to one of UART example to declare and initialize the ISR https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii52006.pdf, example 8-1, pg8-16

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