- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to transfer data in reverse order from memory to memory using DMA without using CPU.
It looks like the figure.
Looking at the data sheet of the PSoC DMA component, both the copy source address and the copy destination address
I can only set it in increasing direction. Do you have any good ideas?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Theoretically, it is possible using Indexed DMA (see AN84810 - Advanced DMA...) Par. 6.1
AN84810 - PSoC® 3 and PSoC 5LP Advanced DMA Topics
In such case DMA has 2 TDs: the 1-st TD is providing a destination address for the 2-nd TD from some pre-defined absolute memory address array, and second TD copies data.
Practically, such array inversion using DMA will be much slower than a simple memcopy, and, probably, not worth time spent.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Theoretically, it is possible using Indexed DMA (see AN84810 - Advanced DMA...) Par. 6.1
AN84810 - PSoC® 3 and PSoC 5LP Advanced DMA Topics
In such case DMA has 2 TDs: the 1-st TD is providing a destination address for the 2-nd TD from some pre-defined absolute memory address array, and second TD copies data.
Practically, such array inversion using DMA will be much slower than a simple memcopy, and, probably, not worth time spent.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your advice.