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.

DMA AUTORLD - can it be turned off?

All:

From my work with the DMA on C5505, it appears that once it is turned on, it cannot be turned off, except thru reset of the part. I was able to do some required setup by leaving AUTORLD off, and enabling DMA interrupt. When the interrupt occurs, I can make the necessary changes to the read/write lengths, and then enable auto reload.

However, the question remains - once AUTORLD is set, can it be turned off?

  • Hello Todd,

      The DMA automatically reinitiates the DMA transfer until either EN or AUTORLD bit is set to 0.

    Below is the details from Userguide

    If the AUTORLD bit = 1 in TCR2 (Section 4.3), then the DMA automatically reinitiates the DMA transfer until either EN or AUTORLD bit is set to 0. In the case that the AUTORLD bit is set to 0, DMA stops data transfer after the Pong buffer is full and the interrupt is generated. It also resets the EN bit to 0 in TCR2

    Hope this helps.

    Regards

     Vasanth