Combined Injected Simultaneous + Interleaved; Figure 35. Alternate + Regular Simultaneous; Figure 36. Case Of Trigger Occurring During Injected Conversion; Figure 37. Interleaved Single Channel With Injected Sequence Ch11, Ch12 - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

Analog-to-digital converter (ADC)

Figure 35. 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 36. Case of trigger occurring during injected conversion

ADC1 reg
ADC1 inj
ADC2 reg
ADC2 inj
10.9.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 37. Interleaved single channel with injected sequence CH11, CH12

ADC1
ADC2
166/690
1st trig
CH0
CH1
CH2
CH0
CH3
CH5
CH6
Figure 36
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 37
shows the behavior
Sampling
Conversion
CH0
CH0
CH0
RM0008
CH0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F102 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents