cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
403 Views
Registered: ‎06-19-2018

Baremetal reset pending interrupt (edge-sensitive)

I am using a Zynq UltraScale+ and have an interrupt from PL -> PS which is connected to the pl_ps_irq0.

The interrupt is set to be sensitive on the positive edge. I know that I need to reset the pending interrupt, otherwise the interrupt will remain active forever.

My question is how to reset a pending interrupt? I found the register list in the TRM but I still dont know how to do it.

 

pending_interrupt.JPG
0 Kudos
4 Replies
Highlighted
Contributor
Contributor
400 Views
Registered: ‎06-19-2018

i should also mention that the interrupt is going to the R5 processor

0 Kudos
Highlighted
Contributor
Contributor
219 Views
Registered: ‎06-19-2018

*push*

is there anyone who can help?

For zynq 7000 this is discussed and solved here:

http://zedboard.org/content/how-change-interrupt-trigger-type-risingfalling-edge-triggered

0 Kudos
Highlighted
Contributor
Contributor
94 Views
Registered: ‎06-19-2018

can any xilinx employee comment on this?

0 Kudos
Highlighted
Scholar
Scholar
56 Views
Registered: ‎04-13-2015

@eyke.liegmann  this doc all the info on the interrupt controller:

https://static.docs.arm.com/ddi0416/b/DDI0416B_gic_pl390_r0p0_trm.pdf

Section 3.2.7 - write at the correct register a 1 at the bit location of the interrupt # to clear.

 

0 Kudos