Forum Discussion
FRava3
New Contributor
7 years agoi2c slave based on interrupt
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 mc...
GuaBin_N_Intel
Contributor
7 years agoI 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