222
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Figure 9-11 Schematic diagram of fast alternate mode conversion for continuous conversion of 1 channel
9.9.5
Slow alternate mode
This mode is for regular sequences (usually one channel). The external trigger comes from the multiplexer of ADC1,
which is determined by ADC_CTRL2.EXTRSEL[2:0]. When the trigger is generated, ADC2 converts immediately,
ADC1 starts to convert after 14 ADC clock cycles, ADC2 starts to convert again after 14 ADC clock cycles, and so
on. This mode automatically continuously converts the regular sequence without the need to set ADC_CTRL2.CTU.
The converted data will be stored in the ADC_DAT register. The high half word of ADC_DAT is the conversion data
of ADC2, and the low half word of ADC_DAT is the converted data of ADC1. If ADC1 or ADC2 sets
ADC_CTRL1.ENDCIEN, when the conversion of the regular sequence of ADC1 or ADC2 is completed, an ENDC
interrupt will be generated. At this time, if ADC_CTRL2.ENDMA is set, a DMA transfer request can be generated,
and the data of ADC_DAT can be transferred to SRAM through DMA.
Note:
1. When using slow alternate mode, make sure that no injection channel is externally triggered.
2. The sampling time must be less than 14 ADC clock cycles to avoid overlapping sampling cycles when ADC1 and
ADC2 convert the same channel.
CH1
CH16
ADC1
ADC2
Conversion
Sampling
Trigger
CH1
CH1
CH1
CH1
ENDC(ADC2)
ENDC(ADC1)
7 ADCCLKs