Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

i2c slave based on interrupt

FRava3
Beginner
618 Views

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 

0 Kudos
1 Reply
GuaBin_N_Intel
Employee
217 Views
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