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.

What's the difference between EDMA3 1D transfer and EDMA3 2D transfer?

Hi,all:

I have learned EDMA3 for a long time.But I still cannot understand what's the difference

between 1D transfer and 2D transfer. In directly,I don't know why we need 2D transfer.

As I understand, All 2D transfer can be converted into 1D transfer.

So I think 2D transfer after all is 1D transfer. So 2D transfer don't have any advantages

compared with 1D transfer.   Why 2D transfer still exists ? 

In the end.Who can pointer me that where I am wrong? At what case we must use 2D

transfer rather than 1D transfer?  Thanks!

  • Hi,

    Please the mention details of which device/board are you using.
    A-synchronized transfers: one dimension serviced per event
    AB-synchronized transfers: two dimensions serviced per event

    Depends upon your application, you can use either transfer mode from the avilable three different transfer modes.
    ACNT specifies the number of bytes in an "element".
    For example, for 16-bit audio data, ACNT would be 2 bytes. This is the "minimum" transfer size.

    BCNT specifies the number of "elements" in a "frame" or "line".

    CCNT specifies the "block" size or the number of frames in the block.

    This wiki will help you better understand of EDMA3 transfer.
    http://processors.wiki.ti.com/index.php/EDMA3

  • Hi,Pubesh:

    My device is C6678.

    Thanks for your reply.But I don't think you answer my question.

    First of all,I am not fresh man as to EDMA3.I have used EDMA3 in my daily work for several years.

    So,I know the basic concept of EDMA3 including the terms such as ACNT BCNT and CCNT.

    What I cannot understand is at what case we must use 2D transfer instead of 1D transfer?

    Because ,As I understand, All 2D transfer can be converted into 1D transfer.

    Does such case exist  in which we just can use 2D transfer but cannot use 1D transfer ?

    This is what I indeed care about.

  • Hi,

    I believe that there's not such case where you can't use N 1D transfers instead of one 2D transfer. I think that the 2D transfer will be faster and maybe triggering many 1D transfers won't meet time constraints, but forgetting about time, I think that you can always use 1D transfers.

    Regards

    J

  • Hi, please which is the faster transfer (debit or speed) if we use EDMA3, A-synchronized or AB-synchronized transfer ?