neilol 0 Report post Posted December 23, 2015 Hi, I was able to communicate to an external sensor via a custom verilog module derived from the AVR8 peripheral template. However, I'm unable to get the IRQ working, I believe the issue is in the software side.I've connected the IRQ to core_irqlines(15), which was by default '0'; Question 1: Which C/header file defines the vector address for core_irqlines(15) ? Question 2: Is there any example for interrupts? ? Share this post Link to post Share on other sites
Jack Gassett 0 Report post Posted December 24, 2015 Phew, it's been almost 2 years since I did any serious work with the AVR8... So I'm sorry but I think I remember getting interrupts to work at one point, but I don't remember many details... I remember that the code that I used was Arduino code on the C side... Share this post Link to post Share on other sites
ga_realestate 0 Report post Posted August 2, 2016 Jack, Has there been any update on this question? - I too am trying to use an external interrupt ZPUino to report status of an 8-bit counter via the USB port. I have the code working on a Mega Arduino. I want to port the code over to a Papilio One 250 and utilize the FPGA to handle some external output signals. Basically I am looking for the equivalent to the following Arduino code: attachInterrupt(0, capture_bearing, RISING); Any help would be greatly appreciated. Share this post Link to post Share on other sites