How to use DMA on 8 bit PIC® MCUs | Videos
How to use DMA on 8 bit PIC® MCUs
Learn how to use and setup Direct Memory Access (DMA) on PIC microcontrollers. This video provides a detailed walk through of how to set up DMA with analog-to-digital converter (ADC), system communications (UART), and waveform control (PWM) using the MCC GUI provided in MPLABX. See resources and source code below:
Source Code:
part 1 - https://github.com/microchip-pic-avr-examples/pic18f57q43-dma-adc-to-uart-part1
part 2 - https://github.com/microchip-pic-avr-examples/pic18f57q43-dma-uart-to-pwm-part2
Hardware:
PIC18-Q43 Family: https://mchp.us/2QZOWV6
DMA Peripheral Overview: https://mchp.us/39AiqiG
Curiosity Nano PIC18F57Q43: https://mchp.us/2X0KmcI
Curiosity Nano Baseboard for Clicks: https://mchp.us/3bJe6PK
Software:
MPLABX [v5.30 or later] - https://mchp.us/2QYLOZq
XC8 [v2.10 or later] - https://mchp.us/2UU1Zs1
MCC [v3.95 or later] - https://mchp.us/3aAxdel
PIC10/12/16/18 Library [v1.79.0 or later]
Documentation:
TB3242: Configuring the DMA Perhiperal - https://mchp.us/3aygqJa
AN3312: Arbitrary Waveform Generator Using DAC and DMA - https://mchp.us/2wKTwzH
AN3382: ADCC Context Switching Using DMA - https://mchp.us/2w5kC45
AN3398: Building Hardware State Machines Using CIPs - https://mchp.us/2UwHWB0
https://www.microchip.com/design-centers/8-bit