EasyManuals Logo
Home>ST>Microcontrollers>STM32L4x6

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 #439 background imageLoading...
Page #439 background image
DocID024597 Rev 3 439/1693
RM0351 Analog-to-digital converters (ADC)
540
Figure 64. Updating the ADC calibration factor
Converting single-ended and differential analog inputs with a single ADC
If the ADC is supposed to convert both differential and single-ended inputs, two calibrations
must be performed, one with ADCALDIF=0 and one with ADCALDIF=1. The procedure is
the following:
1. Disable the ADC.
2. Calibrate the ADC in single-ended input mode (with ADCALDIF=0). This updates the
register CALFACT_S[6:0].
3. Calibrate the ADC in Differential input modes (with ADCALDIF=1). This updates the
register CALFACT_D[6:0].
4. Enable the ADC, configure the channels and launch the conversions. Each time there
is a switch from a single-ended to a differential inputs channel (and vice-versa), the
calibration will automatically be injected into the analog ADC.
Figure 65. Mixing single-ended and differential channels
:5,7($'&B&$/)$&7
$'&VWDWH
&$/)$&7B6>@
)
)
,QWHUQDO
FDOLEUDWLRQIDFWRU>@
6WDUWFRQYHUVLRQ
KDUGZDUHRUVRIZDUH
)
5HDG\QRWFRQYHUWLQJ
&RQYHUWLQJFKDQQHO
5HDG\
&RQYHUWLQJFKDQQHO
6LQJOHHQGHG
6LQJOHHQGHG
06Y9
8SGDWLQJFDOLEUDWLRQ
E\VZ E\KZ
$'&VWDWH
&$/)$&7B6>@ )
)
,QWHUQDO
FDOLEUDWLRQIDFWRU>@
&219&+
&$/)$&7B'>@
)
6LQJOHHQGHG
LQSXWVFKDQQHO
&219&+ &219&+
6LQJOHLQSXWV
FKDQQHO
) )
7ULJJHUHYHQW
5'<
5'< 5'<
06Y9
&219&+
5'<
'LIIHUHQWLDO
LQSXWVFKDQQHO
'LIIHUHQWLDO
LQSXWVFKDQQHO

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