Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

Avalon ST to Memory DMA Example

Altera_Forum
Honored Contributor II
1,198 Views

There is some simple example for doing DMA between an Avalon streaming source and a memory shared with CPU? 

I have seen SGDMA but C API seem very complex..
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
221 Views

I don't know if there is an example floating around, but the API is relatively straight forward for simple tasks. 

All you need, basically, is: 

 

alt_avalon_sgdma_open() 

alt_avalon_sgdma_construct_stream_to_mem_desc() 

alt_avalon_sgdma_do_sync_transfer()
Altera_Forum
Honored Contributor II
221 Views

Parameters of these functions are the very problem, i have not found a simple example

Altera_Forum
Honored Contributor II
221 Views

If you post your (non-)working code and ask a specific question, someone may be able to help you.

Reply