cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
2,934 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
Highlighted
Adventurer
Adventurer
4,966 Views
Registered: ‎02-12-2017

@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

View solution in original post

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

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

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

that's my example blockdesign.

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

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
Highlighted
Adventurer
Adventurer
4,967 Views
Registered: ‎02-12-2017

@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

View solution in original post

0 Kudos