Analog-to-digital converter (ADC)
Figure 155. Alternate + Regular simultaneous
ADC1 reg
ADC1 inj
ADC2 reg
ADC2 inj
If a trigger occurs during an injected conversion that has interrupted a regular conversion, it
will be ignored.
Figure 156. Case of trigger occurring during injected conversion
ADC1 reg
ADC1 inj
ADC2 reg
ADC2 inj
16.10.9
Combined injected simultaneous + interleaved
It is possible to interrupt an interleaved conversion with an injected event. In this case the
interleaved conversion is interrupted and the injected conversion starts, at the end of the
injected sequence the interleaved conversion is resumed.
using an example.
Note:
When the ADC clock prescaler is set to 4, the interleaved mode does not recover with
evenly spaced sampling periods: the sampling interval is 8 ADC clock periods followed by 6
ADC clock periods, instead of 7 clock periods followed by 7 clock periods.
Figure 157. Interleaved single channel with injected sequence CH11, CH12
ADC1
ADC2
364/501
1st trig
CH0
CH1
CH2
CH0
CH3
CH5
CH6
Figure 156
shows the behavior in this case (2nd trig is ignored).
1st trig
CH0
CH1
CH2
CH3
CH5
CH6
2nd trig
CH0
CH0
CH0
CH0
Trigger
CH2
CH3
CH6
CH7
2nd trig
3rd trig
CH2
CH3
CH0
CH6
CH7
CH0
CH0
CH11
CH12
CH12
CH11
CH3
CH4
CH7
CH8
CH0
synchro not lost
CH3
CH4
CH0
CH7
CH8
CH0
4th trig
Figure 157
shows the behavior
Sampling
Conversion
CH0
CH0
CH0
RM0008
CH0
Need help?
Do you have a question about the STM32F101 Series and is the answer not in the manual?