neilol Posted December 23, 2015 Report Share 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? ? Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted December 24, 2015 Report Share 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... Quote Link to comment Share on other sites More sharing options...
ga_realestate Posted August 2, 2016 Report Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.