DMA Chaining TS203

Hello,

I need c example code for DMA  chaining in TS203. 

Regards

  • 0
    •  Analog Employees 
    on Sep 19, 2016 6:59 AM

    Hi,

        Please see the attached files for the sample code for external port DMA using Chaining. You can refer this code and modify/use it for your use case.

    Best Regards,

    Jeyanthi

  • 0
    •  Analog Employees 
    on Sep 21, 2016 9:17 AM

    Hi,

        Looks like when I replied earlier the first response was empty and the second one had the attachments. Not sure on whether you were able to access the same. I have added  the example code for Link port DMA chaining here. Can you refer this code and let me know if you have any additional questions?

    Best Regards,

    Jeyanthi

  • Sir ,

    There is no file attached in this email .

    Kindly clear the following issue  I am having while defining TCB for

    Linkport DMA,

    In Quad word transfer mode , how we will interpret the the word count

    parameter, either it define the total numbers of words to be transferred or

    the total numbers of quad words  to be transferred?.

    E.g

    My task is to transfer 1024K words on linkport using DMA.

    In TS203 Linkport DMA ,upper 16 bits of TCB's DX register hold the word

    count to be transfer and lower 16 hold the modifier.

    For quad word transfer mode, modifier will be 4 but what will be the word

    count value?

    Since word count is 16 bit so max value to be store is 2^16= 65536.

    My confusion is ,in quad word transfer mode the value stored in word count

    parameter  will be the total numbers of words to be transferred or total

    numbers of quad words transfer?

    Means if  in quad word transfer mode  I set word  count value  to 65536

    then what will happen either  DMA will transfer 65536 word or 65536 quad

    word that will be equal to 65536*4=262144 word?

    Regards

    On Mon, Sep 19, 2016 at 5:30 PM, jeyanthi.jegadeesan <

  • 0
    •  Analog Employees 
    on Sep 22, 2016 8:12 AM

    Hi,

        I am not sure on what is wrong here. I can see the example codes in the link.  Can you try your setup and see whether you are able to get the attachments? Otherwise please contact the private support and we will share the codes again.

    Best Regards,

    Jeyanthi

  • Hi,

    Hope doing well

    Still I didnt find any attachment in your last reply

    Regrads

    On Wed, Sep 21, 2016 at 7:48 PM, jeyanthi.jegadeesan <