This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem in 1D to 2D data transfer through EDMA3

Other Parts Discussed in Thread: TMS320DM6437

Hi,

We are using TI DAVINCI TMS320DM6437 EVM board.I am trying to transfer bunch of  1280 * 4 bytes from one image

in to the 2D buffer 0f size 30 * 512 for further processing on the same. (Actual Image size is 1280 * 800)

I have following configuration of PARAM

1. AB sychcronization in polling mode.

2. Acnt     =  30;       //Wdt_Dst;
    Bcnt     =  512;     //Ht_Dst;
   Ccnt      =  1;
   SrcBIdx =  1;
   DstBIdx = 1280;   //dst stride
   SrcCIdx = 0;         
   DstCIdx = 30;       //WdtDst;

i am getting the garbage data.

I did the CACHE_WRITE_BACK as well.

Please guide me.

Thank you

 

 

  • Did you do a cache write back on the original source before you started the dma, and then do a cache invalidate (not write back) on the destination?  Also, I am not clear on the dimensions of your transfer.  Your param values seem a little funny, can you describe exactly what you are trying to do?