GD32F10x User Manual
222
32-bit DMA, which transfers to SRAM the ADC_RDATA register containing the ADC1
converted data in the [31: 16] bits field and the ADC0 converted data in the [15: 0] bits field.
Note:
The sampling time of the routine channel of the two ADCs should be less than 7 ADC
clock cycles.
Figure 11-10. Routine follow-up fast mode (the CTN bit of ADCs are set)
CH1
ADC0
ADC1
Routine
trigger
Sample
Convert
· · ·
· · ·
EOC(ADC1 )
EOC(ADC0)
CH1
CH1
CH1
CH1
CH1
CH1
CH1
7 CK_ADC cycles
11.5.4.
Routine follow-up slow mode
The routine follow-up slow mode is applicable to sample the same channel of two ADCs. The
source of external trigger comes from the ADC0 routine channel (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 routine
channel. The behavior of follow-up slow mode shows in the
After an EOC interrupt is generated by ADC0 (if EOCIE bit is set), we can use a 32-bit DMA,
which transfers to SRAM the ADC_RDATA register containing the ADC1 converted data in
the [31: 16] bits field and the ADC0 converted data in the [15: 0] bits field.
Note:
The maximum sampling time allowed is <14 CK_ADC cycles to avoid the overlap
between ADC0 and ADC1 sampling phases in the event that they convert the same channel.
Figure 11-11. Routine follow-up slow mode
CH1
ADC0
ADC1
Routine
trigger
Sample
Convert
· · ·
· · ·
EOC(ADC0 )
EOC(ADC1)
CH1
CH1
CH1
CH1
CH1
CH1
CH1
14 CK_ADC
cycles
14 CK_ADC
cycles
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...