RM0440 Rev 4 653/2126
RM0440 Analog-to-digital converters (ADC)
724
To stop a conversion in continuous auto-injection mode combined with autodelay mode
(JAUTO=1, CONT=1 and AUTDLY=1), follow the following procedure:
1. Wait until JEOS=1 (no more conversions are restarted)
2. Clear JEOS,
3. Set ADSTP=1
4. Read the regular data.
If this procedure is not respected, a new regular sequence can restart if JEOS is cleared
after ADSTP has been set.
In AUTDLY mode, a hardware regular trigger event is ignored if it occurs during an already
ongoing regular sequence or during the delay that follows the last regular conversion of the
sequence. It is however considered pending if it occurs after this delay, even if it occurs
during an injected sequence of the delay that follows it. The conversion then starts at the
end of the delay of the injected sequence.
In AUTDLY mode, a hardware injected trigger event is ignored if it occurs during an already
ongoing injected sequence or during the delay that follows the last injected conversion of
the sequence.
Figure 120. AUTODLY=1, regular conversion in continuous mode, software trigger
1. AUTDLY=1
2. Regular configuration: EXTEN[1:0]=00 (SW trigger), CONT=1, CHANNELS = 1,2,3
3. Injected configuration DISABLED
ADC_DR
MS31020V1
ADSTART
(1)
EOC
EOS
ADC state
ADC_DR read access
by s/w by h/w
Indicative timings
RDY
CH1
DLY
CH3
CH2
DLY
DLY
CH1
STOP
RDY
ADSTP
DLY
D1
D1
D2 D3