What is PDMA Stride Mode? How to use it?

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

31 May 2021, 16:08

Stride mode is a special PDMA mode, which can move the data of a certain memory to another memory with a fixed interval and quantity.
For example, there is a continuous memory block. The content data is picture color information and the order is fixed to red, green, blue. With Stride mode, individual red, green, and blue data can be extracted from the memory and moved to another memory block by hardware without any CPU intervention.

To enable Stride mode, four additional registers must be set in the normal PDMA basic mode:
STRIDEEN: Enable Stride mode
SASOL: Offset of the source address
DASOL: Offset of destination address
STC: The amount of data per Stride transmission

Please refer to section 6.6 in the M480 Series Technical Reference Manual for the introduction and setting of the PDMA basic mode.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests