Altera_Forum
Honored Contributor
15 years agoDMA 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