Increasing PCIe XDMA C2H backpressure causes FPGA FIFO overflow

Hi,

We are investigating a PCIe DMA throughput issue when streaming image data from an FPGA to a Jetson Orin NX. At 60 fps (~1.52 GB/s), XDMA backpressure progressively increases during the first frame transfer, eventually overflowing the FPGA buffer. The same setup works reliably at 15 and 30 fps.

Setup

  • Jetson Orin NX, JetPack 6.2.1; PCIe C4, Gen3 x4
  • AMD/Xilinx Artix UltraScale+ with XDMA v4.2, C2H AXI4-Stream
  • Stream interface: 128-bit at 250 MHz
  • Sensor: 3552 × 3576, 16-bit monochrome, 60 fps (~1.52 GB/s)
  • FPGA buffering: 192 KiB (~27.7 image lines)

Observed behavior

Within the first frame transfer, XDMA initially accepts data almost continuously. As the transfer progresses, TREADY deasserts more frequently and for longer periods, while TVALID remains continuously asserted. Eventually, DMA acceptance falls below the incoming data rate and the FPGA FIFO overflows. This happens within a frame, not between transfers. At 15 and 30 fps, transfers work without overflow and TREADY stays asserted.

Could this be related to PCIe posted-write flow-control credits or root-complex/memory backpressure? What diagnostics or configuration changes would you recommend to identify the bottleneck?