embeddedmicrocontrollerdma

What is data striding?


In the DMA Controller description present in the datasheet of a Microchip microcontroller it states that the DMA has a "Programable independent data striding.." (see capture below) DMA characteristics

What is data striding in this context?

I could only find this wikipedia article which is kind of related: https://en.wikipedia.org/wiki/Stride_of_an_array

Thank you very much in advanced.

I was expecting to find an answer on the internet, including on stack overflow.


Solution

  • I figured out what it really was with an application note named "AT17417: Usage of XDMAC on SAM S/SAM E/SAMV". Link here

    Memory data striding is defined as "... a method of accessing memory in an interleaved (discontinuous) manner."

    Here is an example from the application note, but there are tons of more detailed and complex examples:

    Simple Destination data striding with length 1