This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: DMA - EPI port to Ethernet

Other Parts Discussed in Thread: EK-TM4C1294XL

Hi team,

I have connected the FPGA to the 1294 controller through the EPI port.

FPGA has a FIFO to store 5MB of data.

This data has to retrieved from the FPGA(using DMA) and sent to the client using the ethernet controller(Using DMA).

Please can you let me know an example how to transfer the data using DMA between the two peripherals.

Note: I do not want to copy the data to local memory when I transfer it from FPGA.

Thanks for the help. 

  • Hi Santosh,

      We do not have an example like this - DMA transfer from EPI to Ethernet in our TivaWare library. 

      I found these two relevant posts in the forum that will help you get started. They present some code snippet to use DMA to transfer data from the EPI interface. Please take a look and you might need to make some adjustment per your application. I hope the code snippet will reduce your effort to get started. 

    https://e2e.ti.com/support/microcontrollers/other/f/908/t/937644?tisearch=e2e-sitesearch&keymatch=epi%252520dma

    https://e2e.ti.com/support/microcontrollers/other/f/908/t/322025?TM4C129X-uDMA-for-EPI

    One you have the DMA transfer working from the EPI interface, you can work on the Ethernet portion. I will not recommend you start your software development with both the EPI and the Ethernet at the same time. Please start with the EPI-DMA development first and only when you get it to work before you start to integrate the Ethernet. 

      You can find an Ethernet Echo Server example in the TivaWare library. The example can be found at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\enet_tcpecho_server. You can reference this example to receive a request from the client. When the request is received, you will start your EPI-DMA transfer to read the data from your external FIFO. Once the FIFO data is retrieved, you can send that data to the client.