12-10-2009 05:39 AM
I am attempting to DMA transfer a block of data from a FIFO in a Virtex 4. I'm attempting to write a device driver that performs this transfer from a custom peripheral to local memory. Any relative examples available that specifically use the DMA controller that is built-in to the custom peripheral. I thought the xilinx_emac driver would be a good example, but I'm unsure. Any help would be appreciated.
12-10-2009 07:08 AM
12-10-2009 07:13 AM
I'm using EDK 10.1 but am using an older EDK project making use of the OPB and PLB(version 3.4?) bus. I have a custom peripheral that writes data to a FIFO. When this FIFO fills, I want to DMA all that data from the peripheral to local memory without use of the CPU to prevent overtaxing the CPU. Please let me know if you need further elaboration as to my hardware setup.
12-10-2009 08:50 AM
The custom peripheral has a master OPB interface and the overall project has an OPB-to-PLB bridge. The memory controller being used is the plb_ddr (version 2.00.a). I appear to have it working by simply mapping the peripheral's memory and being careful about writing to the particular registers necessary for the DMA transfer.