GD32F20x User Manual
272
of both ADCs are continuously converted. The behavior of follow-up fast mode shows in the
Figure 14-18. 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 14-18. 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
14.5.5.
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
after 14 ADC clock cycles, after the second 14 ADC clock cycles the ADC1 runs again.
Continuous mode
can’t be used in this mode, because it continuously converts the regular
channel. The behavior of follow-up slow mode shows in the
After an EOC interrupt is generated by ADC0 (if enabled through 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:
1. The maximum sampling time allowed is <14 ADCCLK cycles to avoid the overlap between
ADC0 and ADC1 sampling phases in the event that they convert the same channel.
2. For both the fast and follow-up slow mode, we must ensure that no external trigger for
inserted channel occurs.
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...