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
matthew
November 15, 2024, 8:03am
2
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
matthew
November 15, 2024, 9:01am
4
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
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"application/javascript": [
"\n",
"try {\n",
"require(['notebook/js/codecell'], function(codecell) {\n",
" codecell.CodeCell.options_default.highlight_modes[\n",
" 'magic_text/x-csrc'] = {'reg':[/^%%microblaze/]};\n",
" Jupyter.notebook.events.one('kernel_ready.Kernel', function(){\n",
" Jupyter.notebook.get_cells().map(function(cell){\n",
" if (cell.cell_type == 'code'){ cell.auto_highlight(); } }) ;\n",
" });\n",
"});\n",
This file has been truncated. show original