UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
2,732 Views
Registered: ‎02-12-2017

Interrupt ARM Application thorugh Microblaze over GPIO

Jump to solution

Hello all,

 

how I could set an interrupt of an ARM app via MicroBlaze GPIO signal?

I have one ARM Core and one Microblaze. To the Microblaze has a AXI GPIO Block connected and interrupt is enabled. I want to set the interrupt signal over the central Button  BTNC on Zedboard.with PACKAGE_PIN P16.

 

I think first of all I have to enable Interrupts on ARM. Then for example a while printf loop is running.

This will be interrupted by pushing the BTNC Button which is connected to Microblaze via GPIO.

 

How I can run that work in SDK? Are there any examples?

 

Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
4,764 Views
Registered: ‎02-12-2017

Re: Interrupt ARM Application thorugh Microblaze over GPIO

Jump to solution

@johnmcd thanks for your reply, I just wanted to post that I could solve the problem by my own. There were some specific code lines missing to trigger the interrupt.

 

This post can be closed

0 Kudos
4 Replies
Adventurer
Adventurer
2,684 Views
Registered: ‎02-12-2017

Re: Interrupt ARM Application thorugh Microblaze over GPIO

Jump to solution

I tried some steps, but I can't get an interrupt running. please help :(

0 Kudos
Adventurer
Adventurer
2,665 Views
Registered: ‎02-12-2017

Re: Interrupt ARM Application thorugh Microblaze over GPIO

Jump to solution

that's my example blockdesign.

microarm.PNG
0 Kudos
Xilinx Employee
Xilinx Employee
2,602 Views
Registered: ‎02-01-2008

Re: Interrupt ARM Application thorugh Microblaze over GPIO

Jump to solution

Take a look at the axi_gpio interrupt example found in your sdk install dir.

 

I.E: D:\Xilinx\SDK\2017.2\data\embeddedsw\XilinxProcessorIPLib\drivers\gpio_v4_3\examples

0 Kudos
Adventurer
Adventurer
4,765 Views
Registered: ‎02-12-2017

Re: Interrupt ARM Application thorugh Microblaze over GPIO

Jump to solution

@johnmcd thanks for your reply, I just wanted to post that I could solve the problem by my own. There were some specific code lines missing to trigger the interrupt.

 

This post can be closed

0 Kudos