GD32W51x User Manual
321
2
TIMER4_UP
CH3
TIMER4_T
G
0
H3
TIMER4_T
G
H1
P
111
●
TIMER5_
UP
I2C1_RX
I2C1_RX
USART2_
TX
●
●
I2C1_TX
Table 12-3. Peripheral requests to DMA1
Channel
Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7
PER
IEN
[2:
0]
000
ADC0
●
●
●
ADC0
●
TIMER0_C
H0
TIMER0_C
H1
TIMER0_C
H2
●
001
●
DCI
●
●
●
●
●
DCI
010
●
●
●
●
●
CAU_OUT CAU_IN
HAU_IN
011
SPI0_RX
●
SPI0_RX
SPI0_TX
●
SPI0_TX
●
●
100
●
●
USART0_R
X
SDIO
●
USART0_
RX
SDIO
USART0_T
X
101
QUADSPI
QUADSPI
TIMER15_C
H0
TIMER15_U
P
TIMER16_
CH0
TIMER16_
UP
●
●
TIMER15_
CH0
TIMER15_
UP
TIMER16_
CH0
TIMER16_
UP
110 TIMER0_TG
TIMER0_C
H0
TIMER0_CH
1
TIMER0_C
H0
TIMER0_C
H3
TIMER0_T
G
TIMER0_C
MT
TIMER0_U
P
TIMER0_C
H2
●
111
●
HPDF_FL
T0
HPDF_FLT1
●
●
●
●
●
12.4.3.
Data process
Arbitration
Two arbiters are implemented in each DMA respectively for memory and peripheral port.
When two or more requests are received at the same time, the arbiter determines which
channel is selected to respond according to the following priority rules :
Software priority: Four levels, including low, medium, high and ultra high by configuring
the PRIO bits in the DMA_CHxCTL register.
For channels with equal software priority level, priority is given to the channel with lower
channel number.