Part Number: TMS570LS3137
Tool/software:
this is the DMA config i used any suggestions whats wrong in this or any example dma modules?
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.
Part Number: TMS570LS3137
Tool/software:
Hi Premsai,
Here is the example code for DMA channel chaining:
DMA_Channel_Chaining_Test_LS3137.zip
In this example i took two buffers (one for TX and other for RX) of size of 1024 halfwords.
And i took two DMA channels CH0 and CH1, and i am transferring 512 halfwords using CH0 and another 512 halfwords using CH1.

And here i chained CH1 with CH0, that means CH1 can only happen automatically after CH0. And i enabled software trigger for CH0.

And now you can see the positive test case results (I mean i am only triggering CH0 using software and you can see the CH1 also did the transfer):

Now i am commenting chaining instruction and here is the output (You can see just CH0 data got transferred into RX buffer):

So, we can conclude if chaining instruction is there then CH1 also automatically triggering after CH0 transfer.
--
Thanks & regards,
Jagadish.
As i shared the above code i took channel2 and channel3 each channel 8 bytes , channel3 is chained to channel2. i triggered the channel2 by software trigger and expecting the channel3 also to trigger.
Note: the chaining idea is because i am unable to transfer the 16bytes of SCI data in sequence. But the requirement is the data should come in sequence.