GD32VF103 User Manual
169
Figure 11-15. Inserted parallel mode on 4 channels
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
ADC0
ADC1
CH0
CH1
CH4
CH5
Inserted
trigger
·
·
·
·
·
·
EOIC
Sample
Convert
11.6.3.
Follow-up fast mode
This mode can be running on the regular channel group (usually one channel). The source of
external trigger comes from the regular channel MUX of ADC0 (selected by the ETSRC[2:0]
bits in the ADC_CTL1 register). When the trigger occurs, ADC1 runs immediately and ADC0
runs after 7 ADC clock cycles.
If the continuous mode is enabled for both ADC0 and ADC1, the selected regular channels of
both ADCs are continuously converted. The behavior of follow-up fast mode shows in the
Figure 11-16. Follow-up fast mode on 1 channel in continuous conversion mode
After an EOC interrupt is generated by ADC0 in case of setting the EOCIE bit, we can use a
32-bit DMA, which transfers to SRAM the ADC_RDATA 32-bit register containing the ADC1
converted data in the upper half word and the ADC0 converted data in the lower half word.
Note:
The maximum sampling time allowed is <7 ADCCLK cycles to avoid the overlap
between ADC0 and ADC1 sampling phases in the event that they convert the same channel.
Figure 11-16. Follow-up fast mode on 1 channel in continuous conversion mode
CH1
ADC0
ADC1
Regular
trigger
Sample
Convert
·
·
·
·
·
·
EOC(ADC1 )
EOC(ADC0)
CH1
CH1
CH1
CH1
CH1
CH1
CH1
7 ADCCLK cycles
11.6.4.
Follow-up slow mode
This mode can be running on the regular channel group (usually one channel). The source of
external trigger comes from the regular channel MUX of ADC0(selected by the ETSRC[2:0]
bits in the ADC_CTL1 register).When the trigger occurs, ADC1 runs immediately, ADC0 runs