Post Go back to editing

Continuous sine wave to an Input Dai

Category: Software
Product Number: NA
Software Version: CCES 2.9
  • Dear Team ,

I would like to configure DMA in Array descriptor mode .

Can anyone help me with  a code snippet .

Also what is the difference between configuring a descriptor list and descriptor array .

Any advantage / disadvantages

Regards,

Hermione

  • Hi Hermione,

    Please refer the MemCopyArrayMode project in the below BSP path:
    Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.0\ADSP-SC5xx_EZ-KIT\Examples\services\mdma

    You can download BSP from below link: download.analog.com/.../ADI_ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2.exe

    Array Mode:-
    In this mode, the descriptor sets do not contain further descriptor pointers. Software writes the initial descriptor-pointer value, which points to an array of descriptors. This operation assumes that the individual descriptors reside next to each other and assumes that their addresses are known.

    List Mode:-
    In this flow mode, multiple descriptors form a chained list in which each descriptor set contains a pointer to the next descriptor set, allowing greater flexibility in memory layout options. When the channel fetches the descriptor set, the operation loads this pointer value into the next descriptor pointer register of the DMA channel.

    For more information please refer the DMA operating modes topic in hrm manual.

    If it is not fulfill your requirement, please share us more information about your processor and application details. It will help us to guide you further.

    Regards,
    Santhakumari.K