Introduction
A high CPU load can be caused by using interrupts to manage a large number of ADC conversions across multiple channels and transferring the resulting data from peripheral registers to a user buffer. With the help of an Event System and a DMA, the data can be transferred to the specified memory location without the intervention of the CPU.
This document describes how to configure and use the ADC peripheral library in MPLAB® Harmony v3 with the timer, Event System (EVSYS), and DMA data transfer features.
Note: This configuration can be implemented with the following family
of devices:
- PIC32CM family of microcontrollers
- PIC32CX family of microcontrollers
- PIC32CK family of microcontrollers
- PIC32CZ family of microcontrollers
- SAM C family of microcontrollers
- SAM D family of microcontrollers
- SAM L family of microcontrollers
- SAM D5x/E5x family of microcontrollers