Getting started with DMA

Revision as of 11:21, 19 December 2022 by Registered User (→‎What is DMA?)
Under construction.png Coming soon

This article explains what is DMA and how to use it through examples

1. What is DMA?

The direct memory access (DMA) controller is a bus master and system peripheral. The DMA is used to perform programmable data transfers between memory-mapped peripherals and/or memories, upon the control of an off-loaded CPU. The DMA controller features a single AHB master architecture. There are two instances of DMA, DMA1 and DMA2. Each channel is dedicated to managing memory access requests from one or more peripherals. Each DMA includes an arbiter for handling the priority between DMA requests The device embeds 2 DMAs. The two DMA controllers have 14 channels in total, each dedicated to managing memory access requests from one or more peripherals. Each has an arbiter for handling the priority between DMA requests.

1.1. Objective

1.2. How to

2. Create the project in STM32CubeIde

3. Peripheral to Memory Transfer

4. Memory to Memory Transfer


[[category:Getting_started_with_STM32_system_peripherals | 30]]