DSPRelated.com
Forums

Memory to memory transfer using 1D-MDMA

Started by ratio30 July 18, 2007
Hello,

Is it possible to write to internal memory (L1) only the first 3 bytes
every 4 bytes read in external memory (SDRAM), using memory DMA (MDMA)
in 1D transferring?

For example:
Reading from SDRAM: Cb0 Y0 Cr0, Y1, Cb2 Y2 Cr2, Y3, Cb4 Y4 Cr4, Y5, Cb6
Y6 Cr6....(where each Y, Cr and Cb is 8 bits) I'd like to write to L1:
Cb0 Y0 Cr0, Cb2 Y2 Cr2, Cb4 Y4 Cr4, Cb6 Y6 Cr6...

Any help would be greatly appreciated.

Regards.
Andrea
yes we can write as you told but you have to use any loop ideas to leave the
4th value, but directly you can't as the address value increases in the
multiples of 4.

On 7/18/07, ratio30 wrote:
>
> Hello,
>
> Is it possible to write to internal memory (L1) only the first 3 bytes
> every 4 bytes read in external memory (SDRAM), using memory DMA (MDMA)
> in 1D transferring?
>
> For example:
> Reading from SDRAM: Cb0 Y0 Cr0, Y1, Cb2 Y2 Cr2, Y3, Cb4 Y4 Cr4, Y5, Cb6
> Y6 Cr6....(where each Y, Cr and Cb is 8 bits) I'd like to write to L1:
> Cb0 Y0 Cr0, Cb2 Y2 Cr2, Cb4 Y4 Cr4, Cb6 Y6 Cr6...
>
> Any help would be greatly appreciated.
>
> Regards.
> Andrea
>

--
Respected sir,
with regards
aswini