How to read data from dma for given adress

dma.recvchannel.transfer(dest_buffer) //

i need read data for given adress , please help with code sample

Configure DMA to read from the target slave base address

start_address = 0x40000000 # Defined as C_M_TARGET_SLAVE_BASE_ADDR in AXI master config

Hi,
Did you ask chatgpt for help?
Do you want a DMA memory access or a MMIO memory access?

1 Like

Thanks your reply, My IP is genrate adc data i want to buffer it inside the ip and blck write to memoroy , so my pynq app able to read whole array in one go ,
see my code AXI-DMA/ip_repo/ip/Pmods/PmodAD1_v1_0/hdl/ad1_dma_master_lite_v1_0_M_AXI.v at main · amilashanaka/AXI-DMA · GitHub

im stragle in how can i write bufferd data in to memory there is no verilog example for that

Do you want a DMA memory access or a MMIO memory access?

Maybe MMIO could interest you if you want to work with addresses

Thank @matthew do you have any example to share with me , thanks for the moment MIMO will be fine

this is my development , it will read data feom adc and print it now i want read 1024 samples write in to memory after pynq app can read alll sample in one go