ga_realestate

external interrupt External Interrupts

3 posts in this topic

I  am trying to use an external interrupt on the ZPUino to report status of an 8-bit counter via the USB port.  I have the code working on a Arduino Mega.  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

Currently we do not suport per-pin interrupts. The main reason for this is because one would normally not use the GPIO pins for this purpose, but rather design a custom VHDL controller.

What exactly are you trying to implement ?

 

Best,

Alvie

Share this post


Link to post
Share on other sites

Thank you for the response.  I want to send the status of a state machine I have in the FPGA at a user definable rate via the ZPUino usb port to a computer.  Basically I would like to plot bearings from a radio direction finder (heart of the state machine) to Google Earth.   The FPGA  drives multiple antennas and a display.  The reason I am using the ZPUino is to have the ability to change baud rates, scan rates, etc via an Arduino sketch and windows app.

Jim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now