GD32F403xx User Manual
203
Figure 12-11. ADC sync block diagram
ADC_IN0
ADC_IN1
· ·
·
ADC_IN15
GPIO
V
SENSE
V
REFINT
EXTI11
A
P
B
B
U
S
ADC0
(master)
ADC1
(slave)
Routine data registers
(
16 bits
)
Routine
channels
Routine data registers
(
16 bits
)
Routine
channels
Routine
trigger mux
Syncl mode
control
12.5.1.
Free mode
In this mode, each ADC works independently and does not interfere with each other.
12.5.2.
Routine parallel mode
This mode converts the routine
sequence simultaneously. The source of external trigger
comes from the ADC0 routine
sequence (configured by the ETSRC[2:0] bits in the ADC_CTL1
register)
, and ADC1 routine
sequence is configured as software trigger mode.
At the end of conversion event on ADC0 or ADC1, an EOC interrupt is generated (if enabled
on one of the two ADC interrupt) when the ADC0/ADC1 routine
channels are all converted.
The behavior of routine
parallel mode shows in the
Figure 12-12. Routine parallel mode on
A 32-bit DMA is used, which transfers ADC_RDATA 32-bit register (the ADC_RDATA 32-bit
register containing the ADC1 converted data in the [31: 16] bits field and the ADC0 converted
data in the [15: 0] bits field) to SRAM.
Note:
1. If two ADCs use the same sampling channel, it should be ensured that the channel is not
used at the same time.
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...