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

How to run nrf52 SAADC continuously non-stop without interrupts?

Hi, I need to monitor voltage very frequently, have access to the latest value and also to have interrupt on low limit. But I do not want to have interrupt on EVT_DONE, like all SAADC samples have. Frequent interrupts may screw up timing of my other tasks. I see that SAADC has "Continuous mode", but is not really continuous because it stops after reaching RESULT.MAXCNT. So, questions are:

  1. Can I configure EasyDMA to overwrite the same buffer again and again? Other MCU brands have DMA ring buffer mode. Does nRF52 allow that?
  2. If not, then can I somehow shortcut EVT_DONE to TASKS_START, so that it will reload EasyDMA and continue sampling? Something else?

Thank your

Parents Reply Children
No Data
Related