Interrupt problem

Hello everyone,

I am trying to figure out how to handle interrupts in Pynq.
I have found and followed an example on how to manage interrupts. The problem that I have is that my code never passes the “await timer.interrupt.wait()” line (which is shown in the picture below).

intr_problem

I have followed the steps from the link above and I am not sure why the code is stuck on this line because I can see in ILA that interrupt occurs but the signal is always high because code never proceeds to the line where interrupt should be cleared.

Does anyone know what could cause this kind of behavior?

Thanks!

1 Like

Hi @doraagatha,

Welcome to the PYNQ community.

Can you please tell us which board you are using and which SD card image?

Also, can you please share the block design and how the interrupt controller is configured.

Mario

1 Like

Hello,

I am using Pynq Z2 board with v3.0.1 SD card image.

This is my block design (I have highlighted lines that connect interrupts from IP Cores to the Interrupt Controller as well as output from Interrupt Controller to Zynq PS):

Here is an image that shows Interrupt Controller configuration.

Thanks!