Forum Discussion

vrbavojtech's avatar
vrbavojtech
Icon for New Contributor rankNew Contributor
3 years ago

Cyclone V - DMA Controller Intel FPGA IP Interrupts

Hello,

I am currently trying to find out how to trigger a transfer of DMA Controller Intel FPGA IP (connected between f2h_sdram0 and on-chip 2-port RAM in QSYS) using an interrupt from the FPGA side.

The DMA works when the transfer is started from the Linux userspace by writing GO bit (2^3) to the CONTROL register (offset 6 in the /dev/mem memory-mapped space of the controller's control_port_slave on the AXI bus).

The CONTROL register contains interrupt enable bit (2^4) but I believe it is only used to enable Interrupt Sender (irq port of the IP block).

Q: Is this IP related to the HPS' DMA Peripheral Requests (0 to 7)? If so, how to tell the IP block what request should be used as an interrupt source for trigger?

Or maybe I use wrong IP block and I should use eg. mSGDMA instead?

Thanks in advance.

15 Replies