Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP


Discussion Groups

Discussion Groups | Analog Devices DSPs | Memory to memory transfer using 1D-MDMA

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Memory to memory transfer using 1D-MDMA - ratio30 - Jul 18 18:01: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



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Memory to memory transfer using 1D-MDMA - aswini gangadharam - Jul 19 10:26:57 2007

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 <r...@yahoo.it> 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



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )