Analog-to-digital converter (ADC)
RM0090
414/1731
DocID018909 Rev 11
ADC with the shortest sequence may restart while the ADC with the longest sequence is
completing the previous conversions.
13.9.6
Combined regular simult alternate trigger mode
It is possible to interrupt the simultaneous conversion of a regular group to start the alternate
trigger conversion of an injected group.
shows the behavior of an alternate trigger
interrupting a simultaneous regular conversion.
The injected alternate conversion is immediately started after the injected event. If regular
conversion is already running, in order to ensure synchronization after the injected
conversion, the regular conversion of all (master/slave) ADCs is stopped and resumed
synchronously at the end of the injected conversion.
Note:
In combined regular simult alternate trigger mode, one must convert sequences
with the same length or ensure that the interval between triggers is longer than the long
conversion time of the 2 sequences (Dual ADC mode) /3 sequences (Triple ADC mode).
Otherwise, the ADC with the shortest sequence may restart while the ADC with the longest
sequence is completing the previous conversions.
If the conversion sequence is interrupted (for instance when DMA end of transfer occurs),
the multi-ADC sequencer must be reset by configuring it in independent mode first (bits
DUAL[4:0] = 00000) before reprogramming the interleaved mode.
Figure 61. Alt regular simultaneous
If a trigger occurs during an injected conversion that has interrupted a regular conversion, it
is ignored.
shows the behavior in this case (2nd trigger is ignored).
!$#REG
#(
#(
#(
#(
#(
#(
#(
!$#INJ
!$#REG
!$#INJ
STTRIGGER
NDTRIGGER
SYNCHRONOTLOST
#(
#(
#(
#(
#(
#(
#(
#(
#(
AI