Community
cancel
Showing results for 
Search instead for 
Did you mean: 
FRava3
Beginner
492 Views

i2c 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

mcu : NiosII

Quartus 17

 

Thank you 

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