DMA receive

Hi , im working on ZYNQ 7000 digiland board

dma = ol.axi_dma

data_size = 1024
output_buffer = allocate(shape=(data_size,), dtype=np.uint32)

Test a single DMA transfer

try:
dma.recvchannel.transfer(output_buffer)
dma.recvchannel.wait() # Check if this runs without errors
print(“DMA transfer completed successfully.”)
except RuntimeError as e:
print(f"Error: {e}")

how should i get data from known address range

thanks

Hi,
Did you check the DMA tutorial in its 3 parts?
Like this part 2: Tutorial: PYNQ DMA (Part 2: Using the DMA from PYNQ)

1 Like

Thaks lot

If you have no more question, can you please close this post by selecting a solution?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.