Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
778 Views

DMA and Frame Buffering

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 I
51 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.

Altera_Forum
Honored Contributor I
51 Views

Many thanks for your reply, 

Stephen
Reply