GD32F10x User Manual
189
9.
Direct memory access controller (DMA)
9.1.
Overview
The direct memory access (DMA) controller provides a hardware method of transferring data
between peripherals and/or memory without intervention from the CPU, thereby freeing up
bandwidth for other system functions. Data can be quickly moved by DMA between
peripherals and memory as well as memory and memory without any CPU actions. There are
12 channels in the DMA controller (7 for DMA0 and 5 for DMA1). Each channel is dedicated
to manage memory access requests from one or more peripherals. An arbiter is implemented
inside to handle the priority among DMA requests.
The system bus is shared by the DMA controller and the Cortex
®
-M3 core. When the DMA
and the CPU are targeting the same destination, the DMA access may stop the CPU access
to the system bus for some bus cycles. Round-robin scheduling is implemented in the bus
matrix to ensure at least half of the system bus bandwidth for the CPU.
9.2.
Characteristics
Programmable length of data to be transferred, max to 65536.
12 channels and each channel are configurable (7 for DMA0 and 5 for DMA1).
AHB and APB peripherals, FLASH, SRAM can be accessed as source and destination.
Each channel is connected to fixed hardware DMA request.
Software DMA channel priority (low, medium, high, ultra high) and hardware DMA
channel priority (DMA channel 0 has the highest priority and DMA channel 6 has the
lowest priority).
Support independent 8, 16, 32-bit memory and peripheral transfer.
Support independent fixed and increasing address generation algorithm of memory and
peripheral.
Support circular transfer mode.
Support peripheral to memory, memory to peripheral, and memory to memory transfers.
One separate interrupt per channel with three types of event flags.
Support interrupt enable and clear.
Note:
Only HD, XD and CL devices have DMA1 controller.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...