Hi Mohammad,
For additional DMA usage/details, you could take a look to the following link:
https://www.embeddedrelated.com/showthread/lpc2000/29543-1.php
Additionally, please consider that the procedure would vary if you are performing DMA transfers from raw data vs. files. If you are transferring files from the SD card to a USB thumb drive, the files may be fragmented, so, the DMA should be integrated on the File System library.
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------