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.

Concerto DMA Configuration For Continous Run

Hello

I have a question on Concerto ARM Cortex M3 uDMA, which i am trying to configure for a continous run without having to use interrupts. 

Can you please tell me if there is a way to configure the uDMA for continous run mode. It seems that i have to reconfigure using the TransferSet function as the DMA goes into stop mode after each transfer. 

Reconfiguring the TransferSet each time is a lot of waste of CPU cycles. Is there a way i can do this?

  • Sandeep,

    uDMA does not have a way to keep transferring the data indefinitely without re-configuring the control structure at the end of transfer since at the end of transfer the channel goes in STOP mode.

    Following is what we have in TRM doc -

    "The μDMA controller updates the transfer size and transfer mode fields as the transfer is performed. At the end of a transfer, the transfer size indicates 0, and the transfer mode indicates "stopped." Because the control word is modified by the μDMA controller, it must be reconfigured before each new transfer. The source and destination end pointers are not modified, so they can be left unchanged if the source or destination addresses remain the same."

    Regards,

    Vivek Singh