This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5340 - Zephyr DMA ADC Example

I am working with the nRF5340 DK.

I am looking to sample an ADC pin to sample at a sampling frequency of at least 1kHz and I would like to use DMA to write the data directly to memory while freeing the CPU. 

I tried reading the nRFConnect SDK and Zephyr documentation for details on setting DMA transfers but little guidance found on setting it up. Can someone explain how to set up DMA or point me to example code?

Thanks

Parents Reply Children
Related