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

Can I get data from an external ADC without using CPU time?

Hello,

I would like to make use of an external ADC that is connected to my nRF52832 through SPI & easyDMA,minimizing the use of the CPU (or without using the CPU).

The sampling frequency, when nRF52832 will request a sample to the ADC, is 25KHz. Furthermore, this external ADC doesn't have an internal buffer, would it be possible to use PPI feature of the nR52832 to store the ADC samples into memory so that I can avoid to make use of CPU time?

I see an possible issue with PPI memory buffer in that the memory pointer is not incremented each time I read a sample which would lead to lose the previous samples.

Any suggestions would be welcomed!

Thanks in advance,

Related