ΣSigmaStudio Ask AI Русский Log in

RaiseTriggerMaster method for DMA List descriptors

Processors & DSP SteveADT Aug 15, 2022 00:00 2 replies Original on forum ↗
Thread Summary

Thread Summary

The user is experiencing excessive setup time when using adi_mdma_Copy1DArray and is exploring if adi_mdma_CopyList can reduce this overhead. The user also wants to use adi_tru_RaiseTriggerMaster to reset and enable after each descriptor in a circular list, ensuring each transfer completes before the next starts. The Analog Devices team confirmed that the current implementation of ValidateDescList() causes an infinite loop in circular buffer configurations, and a new ticket has been created to implement this feature in the next release of the CCES SSLDD3.0 MDMA Driver.
AI Generated Content
Subscribe
SteveADT Question
Aug 15, 2022 00:00

I am using DMA to copy memory back and forth from L1 and SDRAM. I used the adi_mdma_Copy1DArray to perform the DMA but when I have to update the addresses in the descriptor the time to process adi_mdma_Copy1DArray is excessive. This is the time to setup adi_mdma_Copy1DArray not the time to DMA the memory. I was wondering if using the adi_mdma_CopyList method would eliminate the time to setup the DMA.

Can the adi_tru_RaiseTriggerMaster method be configured to reset and enabled after each individual DMA descriptor in a list or does it have to process the entire list?

I would like to set up a circular descriptor list that issues one descriptor per cycle of a particular function. I need the function to complete before processing the next descriptor in the list.

Is this possible?

Thanks,

-Steve

santha.vijay Reply
Aug 19, 2022 00:00

Hi Steve,

As you trying to raise trigger between each descriptor, it is not possible in one-dimensional mode. In one-dimensional mode, the only options are to trigger at the end of the whole work unit.

In two-dimensional addressing mode, there is a option to trigger at the end of each row of the inner loop.
For more information about Triggers please refer DMA Channel Triggers topic in ADSP-2156x hardware reference manual.

Regards,
Santhakumari.K

SteveADT Reply
Aug 19, 2022 00:00

Hi Santhakumari.K,

Thank you for investigation into this matter.

-Steve