Analog-to-digital converters (ADC)
Auto-injected mode
It is possible to oversample auto-injected sequences and have all conversions results stored
in registers to save a DMA resource. This mode is available only with both regular and
injected oversampling active: JAUTO = 1, ROVSE = 1 and JOVSE = 1, other combinations
are not supported. The ROVSM bit is ignored in auto-injected mode. The
shows how the conversions are sequenced.
Regular channels N
It is possible to have also the triggered mode enabled, using the TROVS bit. In this case,
the ADC must be configured as following: JAUTO = 1, DISCEN = 0, JDISCEN = 0, ROVSE
= 1, JOVSE = 1 and TROVSE = 1.
Dual ADC modes supported when oversampling
It is possible to have oversampling enabled when working in dual ADC configuration, for the
injected simultaneous mode and regular simultaneous mode. In this case, the two ADCs
must be programmed with the very same settings (including oversampling).
All other dual ADC modes are not supported when either regular or injected oversampling is
enabled (ROVSE = 1 or JOVSE = 1).
Combined modes summary
The
Table 138
Regular
Oversampling
ROVSE
1
1
1
1
1
1
1
0
670/2301
Figure 138. Oversampling in auto-injected mode
N
N
N
0
1
2
3
Injected channels
I
I
0
1
JAUTO =1, ROVSE = 1, JOVSE = 1, ROVSM = X, TROVS = 0
below summarizes all combinations, including modes not supported.
Table 138. Oversampler operating modes summary
Oversampler
mode
Injected
Oversampling
ROVSM
JOVSE
0 = continued
1 = resumed
0
0
0
0
0
1
0
1
1
0
1
1
1
1
1
X
RM0432 Rev 6
I
I
J
J
J
J
K
K
K
2
3
0
1
2
3
0
1
2
Triggered
Regular mode
TROVS
0
1
0
1
X
0
1
X
Figure 138
N
N
N
N
0
1
2
K
L
L
L
L
3
0
1
2
3
Comment
Regular continued mode
Not supported
Regular resumed mode
Triggered regular resumed
mode
Not supported
Injected and regular resumed
mode
Not supported
Injected oversampling
RM0432
below
3
MS34459V1
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?