Skip to content

jmagnuson/dma_memcpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An ARM-based DMA memcpy

Description

This demo utilizes the DMA engine to perform a memcpy. Initialization of DMA is handled either on the first dma_memcpy() call, or explicitly via init_dma_memcpy(). Using a preprocessor switch, the program will either perform a simple systick-based comparison between dma_memcpy() and standard memcpy() for a given buffer size, or it will launch a a single-producer, single-consumer FreeRTOS-based program where data is transferred between two threads via a shared buffer.

Notes

Currently the target architecture is ARM Cortex-M4, and the included demo is configured for TI's TM4C1294 Launchpad. For now it serves as a proof-of-concept, but eventually it will be put into a multi-platform library.

About

An ARM-based DMA memcpy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages