Internal Mode Writeback and Interrupts (AXI MM and H2C ST) - 3.4 English - PG347

Versal Adaptive SoC CPM DMA and Bridge Mode for PCI Express Product Guide (PG347)

Document ID
PG347
Release Date
2024-11-22
Version
3.4 English

Status writebacks and/or interrupts are generated automatically by hardware based on the queue context. When wbi_intvl_en is set, writebacks/interrupts are sent based on the interval selected in the register QDMA_GLBL_DSC_CFG (0x250) bits[2:0]. Due to the slow nature of interrupts, in interval mode, interrupts might be late or skip intervals. If the wbi_chk context bit is set, a writeback/interrupt is sent when the descriptor engine has detected that the last descriptor at the current PIDX has completed. It is recommended the wbi_chk bit be set for all internal mode operation, including when interval mode is enabled. An interrupt is not generated until the irq_arm bit is set by the software. After an interrupt is sent, the irq_arm bit is cleared by the hardware. Should an interrupt be needed when the irq_arm bit is not set, the interrupt is held in a pending state until the irq_arm bit is set.

Descriptor completion is defined to be when the descriptor data transfer has completed and its write data is acknowledged on AXI (H2C bresp for AXI MM, Valid/Ready of ST), or it is accepted by the PCIe Controller’s transaction layer for transmission (C2H MM).