ST AN4104 Application Note

This application note describes how to use the STM32F0xx direct memory access (DMA) controller. The STM32F0xx DMA controller, the Cortex™-M0 core, the advanced microcontroller bus architecture (AMBA) bus and the memory system contribute to provide a high data bandwidth and to develop very-low latency response time software. This application note also describes how to take full advantage of these features and ensure correct response times for different peripherals and subsystems.


ST AN4104 Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
13
File format
PDF
File size
90 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
959466E85C3CE3ECD8B17F01AE51CF6E

About this manual

This document details the features and usage of the Direct Memory Access (DMA) controller found in STM32F0xx microcontrollers. It explains how the DMA controller facilitates high-speed data transfers between peripherals and memory, as well as between memory blocks, without CPU intervention. The note covers the DMA overview, data management strategies, and interrupt handling mechanisms.

What's inside

  • DMA controller description
  • DMA Overview
  • DMA Data managing
  • Round robin priority scheme
  • DMA transactions
  • DMA Interrupt management
  • DMA firmware driver API
  • DMA programming examples

Specifications

Number of DMA channels5
Maximum data transfer count65536
Priority levels4 levels

Frequently asked questions

What is the main function of the DMA controller?

The DMA controller provides high-speed data transfer between peripherals and memory as well as memory to memory without any CPU actions.

How does the DMA controller handle priority between requests?

Priorities are software programmable with four levels (very high, high, medium, low) or hardware-based if priorities are equal.

What interrupts are available for DMA channels?

Interrupts are generated for Half Transfer, Transfer Complete, and Transfer Error events.

Download PDF (90 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →