• 0
newkid_old

Microblaze AXI GPIO Interrupt

Question

I am trying to implement an interrupt routine on my Arty board.  I want to use the switches on the board to generate the interrupt.  Here is my design:

I used the example code that Xilinx offers and here is my code.  At start up I initialize my IO and then my interrupt.  Sometimes when the EnableExceptions function is called the program will jump to the interrupt vector but it locks up there.  Most of the time however the interrupt setup is run and the while() loop in my main program works but the interrupt won't trigger with the switch.  Any help is greatly appreciated.

 

Mcroblz_Int.JPG

helloworld.c

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @newkid_old,

Here is a verified Vivado 2018.2 Arty-A7-35T gpio interrupt project using your SDK code. Please download and run this project. Do you get the expected results. If not please attach screen shots of your serial terminal output.

thank you,

Jon

Share this post


Link to post
Share on other sites
  • 0

Jon,

I downloaded the project and found that I had an older version of Vivado.  I downloaded the newest version.  I didn't realize its 2018.3 until I opened the project.  Now I can't get the project I downloaded from you or my older projects to transmit a simple hello world.  Any ideas?

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