MDMA software expansion for STM32Cube (AN5001)

The X-CUBE-MDMA firmware demonstrates the capabilities of the STM32H7x3 MDMA. The MDMA is used in conjunction with other masters such as DMAs and JPEG so as to illustrate its efficiency in freeing up CPU resources.

In addition, this demonstration software proposes examples of accesses to all kind of memories such as AXI SRAM, SRAM1, and external SRAM, through the STM32H7 bus matrices.

The firmware is provided with a project set up for the STM32H743I-EVAL evaluation board. In this configuration, the firmware shows MDMA interactions with various IPs and memories without CPU control.

The use case is proposed as an example with several toolchains: Keil® (MDK-ARM), IAR™ (EWARM), and System Workbench (SW4STM32). It can easily be ported to any other toolchain.

Key Features

  • STM32H7x3 MDMA demonstrator
  • ARM® Cortex®-M7-based software
  • Use of AXI and AHB bus matrices
  • Use of MDMA, DMA2D, JPEG, and USART1 peripherals
  • Access to AXI SRAM, SRAM1, and external SRAM


Technical Documentation

Product Specifications
Description Version Size
DB3282 DB3282: Data transfer efficiency using MDMA software expansion for STM32Cube 2.0 112.49 KB
Application Notes
Description Version Size
AN5001 AN5001: STM32H7 Series MDMA software expansion for STM32Cube 1.0 280.74 KB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283.23 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485.46 KB

Presentations & Training Material

Description Version Size
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 17.09 1.21 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 544.58 KB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB

Get Software

Part Number General Description Software Version Supplier Marketing Status GitHub link Download
X-CUBE-MDMA MDMA software expansion for STM32Cube (AN5001) 1.0.0 ST Active -


Support & Community