EasyManuals Logo

ST STM32 Application Note

ST STM32
49 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 #26 background imageLoading...
Page #26 background image
How to get the best ADC accuracy AN2834
26/49 DocID15067 Rev 3
3.2.5 Matching the ADC dynamic range to the maximum signal amplitude
This method improves accuracy by a proper selection of the reference voltage or by using a
preamplifier stage to obtain the maximum possible resolution using the full ADC output
range.
Selecting a reference voltage (method for devices delivered in 100-/144-pin
packages only)
The reference voltage is selected in the expected range of the signal to be measured. If the
measured signal has an offset, then the reference voltage should also have a similar offset.
If the measured signal has a defined maximum amplitude, then the reference voltage should
also have a similar maximum value. By matching this reference voltage to the measurement
signal range, we obtain the maximum possible resolution using the full ADC output range.
In STM32 microcontrollers delivered in 100- and 144-pin packages, the ADC reference
volta
ge is connected to the external V
REF+
and V
REF-
pins that should be tied to ground.
This makes it possible to match the reference voltage and the measured signal range.
For example, if the measured signal varies between 0 V and 2.5 V, it is recommended to
choose a V
REF+
of 2.5 V, possibly using a reference voltage like LM235 (see LM235
datasheet for more details). Figure 23 illustrates these conditions.
Note: The voltage on V
REF+
may range between 2.4 V and V
DDA
.
Figure 23. Selecting the reference voltage
Using a preamplifier
If the measured signal is too small (in comparison with the ADC range), then an external
preamplifier can be useful. This method can be implemented whatever the STM32 package,
and more specifically in packages that do not have a V
REF+
input.
For example, if the measured signal varies between 0 V to 1 V and V
DDA
is set to 3 V, the
signal can be amplified so that its peak-to-peak amplitude is similar to the V
DDA
value. The
gain is then equal to 3 (see Figure 24 for an example).
DLE
W
W
'LJLWDO
2XWSXW



'LJLWDO
2XWSXW



[9
,1
9
[
9
5()
 9
[
9
XQXVHG$'&
WUDQVLWLRQUDQJH
9
5()
 9
[
9
&KDQJH9
5()
YDOXHIURP
9WR9
[9
,1

Table of Contents

Other manuals for ST STM32

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32 Specifications

General IconGeneral
SeriesSTM32
CategoryMicrocontrollers
CoreARM Cortex-M0, Cortex-M0+, Cortex-M3, Cortex-M4, Cortex-M7, Cortex-M33
Clock SpeedUp to 480 MHz
GPIO PinsUp to 144
Communication InterfacesI2C, SPI, USART, USB, CAN, Ethernet
Package TypesLQFP, BGA, WLCSP
ADC Resolution12-bit, 16-bit (varies by series)
DAC Resolution12-bit (varies by series)
Operating Temperature-40°C to +85°C or +105°C

Related product manuals