
AT32F413
Series Reference Manual
2022.06.27
Page 279
Rev 2.00
Combined trigger mode (regular group simultaneous conversion + interleaved conversion of
preempted group)
MSSEL bit in the ADC_CTRL1 register selects the combined trigger mode (simultaneous regular group
conversion by master/slave, and interleaved conversion of preempted group). When this mode is
enabled, it is possible to trigger the regular channels of the master so that the master and slave convert
the regular group simultaneously, or to trigger the preempted channels of the master several times so
that the master/slave convert the preempted group alternately.
If the regular conversion is interrupted by the preempted trigger, the regular conversion of all ADCs is
stopped, and one of the ADCs starts the preempted conversion. At this point, the master will ignore the
preempted trigger until the regular conversion is resumed.
19.5.4 Shift mode of regular group
Fast shift mode on regular group
MSSEL bit in the ADC_CTRL1 register is used to select fast shift mode on regular group. In this
mode, after the regular group of the master is triggerred, the conversion interval between ADCs is
7 ADCCLK cycles. e sampling time allowed is 1.5 ADCCLK cycles, as shown in
Note: The preempted group conversion is not allowed in this mode.
Figure 19-13
Fast shift mode on regular group
ADC2
ADC1
ADC1_IN3
ADC1_IN3
ADC1_IN3
ADC1 CCE flag set
7 ADCCLK
Sampling
Conversion
ADC1 ordinary
trigger
ADC1: SQEN=0, OSN1=ADC1_IN3, RPEN=1
ADC2: SQEN=0, OSN1=ADC2_IN3, RPEN=1
ADC2_IN3
ADC2_IN3
ADC2_IN3
ADC2 CCE flag set
1.5
ADCCLK
1.5
ADCCLK
7 ADCCLK 7 ADCCLK
Combined shift mode (simultaneous preempted-group conv fast shift mode on regular
group)
MSSEL bit in the ADC_CTRL1 register is used to select mixed shift mode (simultaneous preempted
group co fast shift mode on regular group). In this mode, it is possible to trigger the regular
group of the master to allow that the conversion interval between ADCs is 7 ADCCLK cycles. It is also
possible to trigger the preempted group of the master to enable simultaneous conversion of the
preempted group by master/slave.
If the regular group conversion is interrupted by the preempted group, the regular group conversion is
stopped and resumes from ADC2 at the end of the preempted conversion.
Slow shift mode on regular group
MSSEL bit in the ADC_CTRL1 register is used to select slow switch mode. It is possible to trigger the
regular group of the master to allow that the conversion interval between ADCs is 14 ADCCLK cycles.
In this mode, the sampling time allowed is less than 14 ADCCLK cycles, as shown in
Note: The preempted trigger is not allowed in this mode.