FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6359 Discussions

DMA and Frame Buffering

Altera_Forum
Honored Contributor II
929 Views

Hi there, 

I want to use DMA to re-order rows of data coming from an two tap imaging sensor, i.e. data streams in from two halves of the sensor and need written to two different areas of my frame buffer. So thats stream-to-memory when writing into the buffer. When I have a complete aligned image in the buffer I want to transfer it to an external component, so thats memory-to-stream when emptying he buffer, i.e. two different configurations. 

 

The SG-DMA controller datasheet says that it needs to be recompiled if the configuration changes between memory->memory, Stream->memory or memory->Stream. 

 

Any suggestions on using DMA (standard DMA controller or SG-DMA controller) for this process? Do I need to implement two DMA cores or is there a better way to do it? 

Any feedback gratefully received, 

SJB
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
202 Views

You will need two DMA cores. It's not just a recompilation, the signals are also different depending on the configuration of the SGDMA.

0 Kudos
Altera_Forum
Honored Contributor II
202 Views

Many thanks for your reply, 

Stephen
0 Kudos
Reply