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.

EDMA3 problem

Hi All :

first question :

This is my program about EDMA3. I want to input the data in the bufExt1 and output bufExt2. When I see the bufExt2 memory, I don't see bufExt2 have the data.  Why I can't input the data int the bufExt2?

(program)
 for(y=0;y<100;y++){
 bufExt1[j]=1;//frameBuffTable[CaptureF]->frame.pFrm.y[j];
 j++;
 }

 test_422to420_conversion( hEdma, bufExt1, bufExt2 );  // This  function is about EDMA set and transfer the data to bufRxt2

second question is :

I see the test_422to420_conversion(). I find that use the "BCACHE_wb()" function. What's this function mean?Is this function affect the input data?

best regards

Jerry

  • Jerry Yu said:

    first question :

    Why I can't input the data int the bufExt2?

    When testing your program in CCS, open a memory window on both bufExt1 and bufExt2 to observe the values in both before running the EDMA operation. Manually write some values into bufExt2 and if available, observe the cache status of the memory locations before the transfer.

    After running the transfer, determine if the memory has changed at all and whether the EDMA transfer was completed. Again, observe the cache status.

    These ideas may help you find the data or find what the problem is.

    Jerry Yu said:

    second question is :

    I see the test_422to420_conversion(). I find that use the "BCACHE_wb()" function. What's this function mean?Is this function affect the input data?

    Please refer to the DSP/BIOS API Ref Guide for information on BCACHE functions. Search for document SPRU403 for DSP/BIOS 5.x and C6000.

  • Thanks your help~~

    But I have some question hoping everybody can help me :

    first question :

    Now I want to increase efficient abou my Algorithm so I use the EDMA that can automatically  input video image to my memory. But now I need to understand how to using video port API that can communicate with the EDMA. 

    second question :

    I want to use the video port API and EDMA API.Do everybody have the user guide to explain  video port API and EDMA API how to  use ?

    thanks your help

    best regards

    Jerry

  • Which DSP are you using? If you are doing video processing, then you might be using a DM6x or OMAP processor. In that case you would want to re-post your question to the related forum under Digital Media Processors.

    The Digital Media Processors have support libraries that implement the API you are asking about and also include documentation on those APIs. The video experts who answer in those forums may be able to assist you more quickly.