GD32VF103 User Manual
139
9.4.9.
DMA request mapping
Several requests from peripherals may be mapped to one DMA channel. They are logically
ORed before entering the DMA. For details, see the following
Figure 9-5. DMA1 request mapping
. The request of each peripheral can be
independently enabled or disabled by programming the registers of the corresponding
peripheral. The user has to ensure that only one request is enabled at a time on one channel.
Table 9-3. DMA0 requests for each channel
lists the support request from peripheral for
each channel of DMA0, and
Table 9-4. DMA1 requests for each channel
lists the support
request from peripheral for each channel of DMA1.
Figure 9-4. DMA0 request mapping
ADC0
TIMER1_CH2
TIMER3_CH0
or
or
Channel 0
MEMTOMEM0
Hardware
priority
high
low
SPI0_RX
USART2_TX
TIMER0_CH0
TIMER1_UP
TIMER2_CH2
or
or
Channel 1
MEMTOMEM2
MEMTOMEM1
SPI0_TX
USART2_RX
TIMER0_CH1
TIMER2_CH3
TIMER2_UP
or
or
Channel 2
MEMTOMEM2
SPI1/I2S1_RX
USART0_TX
I2C1_TX
TIMER0_CH3
TIMER0_TG
TIMER0_CMT
TIMER3_CH1
or
or
Channel 3
MEMTOMEM4
MEMTOMEM3
SPI1/I2S1_TX
USART0_RX
I2C1_RX
TIMER0_UP
TIMER1_CH0
TIMER3_CH2
or
or
Channel 4
MEMTOMEM4
USART1_RX
I2C0_TX
TIMER0_CH2
TIMER2_CH0
TIMER2_TG
or
or
Channel 5
MEMTOMEM6
MEMTOMEM5
USART1_TX
I2C0_RX
TIMER1_CH1
TIMER1_CH3
TIMER3_UP
or
or
Channel 6
MEMTOMEM6