I need c example code for DMA chaining in TS203.
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.
There is no file attached in this email .
Kindly clear the following issue I am having while defining TCB for
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?.
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
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?
On Mon, Sep 19, 2016 at 5:30 PM, jeyanthi.jegadeesan <
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?
Hope doing well
Still I didnt find any attachment in your last reply
On Wed, Sep 21, 2016 at 7:48 PM, jeyanthi.jegadeesan <
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.
what do u mean by private support ,I still did not any get attachment.
I did not get attachment .Plz find attached file,which is a snapshot of ,
what I am receiving from your side.
On Thu, Sep 22, 2016 at 6:43 PM, jeyanthi.jegadeesan <
Jeyanthi had sent a attachment. Just to verify if you have issues, I have attached one here that shows screenshot of her post, along with her original code attachment. Let me know if you see / are able to download this attachment or not.
The zip file is re-attached.
Yeah I got the snapshot and after resetting account I also got the
attachment sent by Jeyanthi
On Mon, Sep 26, 2016 at 5:31 PM, PrasanthR <
Thanks for the code.
After reviewing the attached code it is found that the "Normal word
transfer mood" is used therefore in lower byte of TCB,DX register total
numbers of words to be transferred are defined.
Jeyanthi, my question is if I use Quad Word transfer mood ,then the value
defined in lower bytes of TCB DX register will either define the total
number of words to be transfered or total number of quad words to be
The value programmed in the lower bytes of TCB DX register indicates the number of words transmitted only. The MODIFY value of 4 and the TCB_QUAD configuration on the TCB are configuring the transfers from/to memory as 128-bit transfers. You can check the HRM and also try the example.
Thanks for your quick reply....
Jeyanthi it means the deference in quad words transfer and in normal word transfer mood is that in quad word mood, transfer complete interupt will occur after transfer of 128 bits and in normal word transfer interrupt will occur after 32bits transfer
kindly tellme,what are the benifits of quad word transfer
Since your query is being discussed via Private Support, please continue the discussion via that channel.
Retrieving data ...