custom interrupt


neilol

Recommended Posts

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? ?

Link to comment
Share on other sites

  • 7 months later...

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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.