2.8.4 DMA Configuration
The DMA Configuration utility of MPLAB Harmony v3 can be used to allocate DMA channels for different transactions as shown in the following figure.
When the DMA is intended to be used with a PLIB module, such as the UART4 PLIB, then the DMA channels must be configured for the UART4 TX and RX in the DMA Configurator utility and the code can be generated. In the application, the DMA (PLIB or System Service) transfer APIs can be called to do the transfers.
When the DMA is intended to be used with the driver module, DMA mode must be selected in the corresponding driver configuration, then the driver itself configures the required DMA channels. The user does not need to configure the DMA channels, or call any DMA APIs.