Hello, I've searched the forum for information regarding handling real-time tasks with the nrf51822. I've found this post -- devzone.nordicsemi.com/.../ -- which is similar to my situation.
I'm analyzing a real time process which requires me to sample analog voltages at 40khz. The logical way to go about this is to sample the ADC ( 20us conversion at 8 bit ) and save the value using DMA (direct memory access). This process can start at any time, and doesn't need to last more than 1ms, but it's absolutely critical that the real-time nature is not interrupted by anything during this time.
What are the best practices here?
If ADC and DMA is the only thing that i'm doing during this time frame do I need to be generating interrupts with an RTC to trigger or is there something simpler? Are there any benchmark implementations validating the maximum rate at which the nRF51822 can fill a buffer using the ADC?
Thanks