EasyManuals Logo

ST STM32L4x6 User Manual

ST STM32L4x6
1693 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #445 background imageLoading...
Page #445 background image
DocID024597 Rev 3 445/1693
RM0351 Analog-to-digital converters (ADC)
540
16.3.15 Starting conversions (ADSTART, JADSTART)
Software starts ADC regular conversions by setting ADSTART=1.
When ADSTART is set, the conversion starts:
Immediately: if EXTEN = 0x0 (software trigger)
At the next active edge of the selected regular hardware trigger: if EXTEN /= 0x0
Software starts ADC injected conversions by setting JADSTART=1.
When JADSTART is set, the conversion starts:
Immediately, if JEXTEN = 0x0 (software trigger)
At the next active edge of the selected injected hardware trigger: if JEXTEN /= 0x0
Note: In auto-injection mode (JAUTO=1), use ADSTART bit to start the regular conversions
followed by the auto-injected conversions (JADSTART must be kept cleared).
ADSTART and JADSTART also provide information on whether any ADC operation is
currently ongoing. It is possible to re-configure the ADC while ADSTART=0 and
JADSTART=0 are both true, indicating that the ADC is idle.
ADSTART is cleared by hardware:
In single mode with software regular trigger (CONT=0, EXTSEL=0x0)
at any end of regular conversion sequence (EOS assertion) or at any end of sub-
group processing if DISCEN = 1
In all cases (CONT=x, EXTSEL=x)
after execution of the ADSTP procedure asserted by the software.
Note: In continuous mode (CONT=1), ADSTART is not cleared by hardware with the assertion of
EOS because the sequence is automatically relaunched.
When a hardware trigger is selected in single mode (CONT=0 and EXTSEL /=0x00),
ADSTART is not cleared by hardware with the assertion of EOS to help the software which
does not need to reset ADSTART again for the next hardware trigger event. This ensures
that no further hardware triggers are missed.
JADSTART is cleared by hardware:
in single mode with software injected trigger (JEXTSEL=0x0)
at any end of injected conversion sequence (JEOS assertion) or at any end of
sub-group processing if JDISCEN = 1
in all cases (JEXTSEL=x)
after execution of the JADSTP procedure asserted by the software.
16.3.16 Timing
The elapsed time between the start of a conversion and the end of conversion is the sum of
the configured sampling time plus the successive approximation time depending on data
resolution:
T
CONV
= T
SMPL
+ T
SAR
= [ 2.5
|min
+ 12.5
|12bit
] x T
ADC_CLK
T
CONV
= T
SMPL
+ T
SAR
= 31.25 ns
|min
+ 156.25 ns
|12bit
= 187.5 ns (for F
ADC_CLK
= 80 MHz)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32L4x6 and is the answer not in the manual?

ST STM32L4x6 Specifications

General IconGeneral
BrandST
ModelSTM32L4x6
CategoryMicrocontrollers
LanguageEnglish

Related product manuals