ARM Cortex M Microcontroller DMA Programming Demystified


ARM Cortex M Microcontroller DMA Programming Demystified

Direct Memory Access Demystified with STM32 Peripherals (ADC, SRAM,UART,M2M,M2P,P2M) and Embedded C code Exercises

What you’ll learn
  • Please watch free preview videos you will learn something today without even enrolling for this course
  • Fundamentals of Direct Memory Access in a Microcontroller
  • The Microcontroller Architecture and Bus interfaces
  • Bus matrix of the ARM cortex M based MCU
  • Concurrent data access from ARM and DMA
  • DMA control configurations like burst size, FIFO, Alignment
  • DMA Controller internals and Bus interfaces
  • DMA Controller channels,Streams,priority
  • Memory to Memory data transfer using DMA and Exercises
  • Peripheral to Memory and Memory to Peripheral DMA and Programming exercises
  • Peripheral DMA configurations
  • DMA controller interrupts and interrupts handling
  • Debugging
  • Basic knowledge of C and Microcontroller could be added advantage but not mandatory
  • Mind Receptive to new ideas or arguments


The Course aims to demystify the Micro-controller DMA controller internals and its programming with various peripherals. Suitable for beginners to intermediate students in the Field of Embedded Systems and programming. Please go through the description below to understand the course offering.

Key things you will learn,

1) The Multi AHB bus matrix and ARM Cortex M Bus interfaces

2) MCU Master and Slave communication over bus matrix

3) DMA internals: channel mapping / streams/ fifo /Master ports / Arbiter/etc

4) DMA different transfer modes: M2P, P2M,M2M

5) DMA with peripherals like ADC, GPIO, UART_RX/TX and many other peripherals will be updated in this course.

6) DMA programming from scratch. Helps you to troubleshoot DMA issues on other microcontroller or processor platforms. You can speculate and debug problems more quickly when you learn the hard way.

7) And lots of other videos about circular mode/burst transfer /RTOS etc. will be added shortly.

Hardware used:

1) STM32F446RE Nucleo64 board

you can also use other STM32 boards such as discovery board, evaluation board or any other board.

Software used:

1) KEIL MDK V5 (free version, for windows)

2) Openstm32 system workbench ( windows/linux/mac) (free)

3) CubeMx software from ST (free)

The installation procedure is covered in the course


This course is all about understanding the Direct Memory Access Controller of the Micro-controller and how to use it in the embedded applications.

The course uses ARM Cortex M based STM32 Micro-controller for all theory discussion and code exercises. The course discusses generic details of the DMA which you can leverage to other Micro-controllers but you have made changes to the code in order to run on your target if it’s not an ST’s 32-bit Micro-controller.

The course will help you to raise your confidence in handling your MCU’s DMA controller and connecting dots by going through the various levels of discussions.

I really tried to simplify the subject with clean/generic explanations and exercises.

We will discuss why DMA is required and how it benefits ARM to offload data transfer work with exercises.

We will learn different types of DMA transfers like M2M, P2M, and M2P (M: Memory P: Peripheral) and various DMA configurations. Please go through “What will I learn?” section above.

For the beginners/intermediate students, the course will indeed add huge advantage and helps to use DMA successfully in Embedded applications.

Tags :ARM Cortex M, DMA,STM32,KEIL,System32 workbench,CubeMX

Who this course is for:
  • Professionals interested in exploring Embedded systems
  • Hobbyists and students who want to start their career in Embedded world
  • If you think about ’embedded’ then think about taking this course. you will not be disappointed

Created by FastBit Embedded Brain Academy
Last updated 10/2019
English, German, 9 more

Size: 2.15 GB

Download Now

Leave A Reply

Your email address will not be published.