ST STM32 Application Note page 29

How to get the best adc accuracy in microcontrollers
Hide thumbs Also See for STM32:
Table of Contents

Advertisement

AN2834
By combining equations (1), (2) and (3), we obtain final formula:
Example for STM32F1 parameters
f
= 14 MHz, C
ADC
resistance allowed for an error equal to 1/2 LSB is:
R
AINmax
That is:
R AINmax = 6.4 kΩ
Note:
The use of a follower amplifier can reduce the resistance of the source effect because of its
high input impedance and its very low output impedance. It isolates R
However, the amplifier introduces an offset error that should be taken into account.
In case of longer sampling times and reduced number of ADC clocks, better results can be
obtained. It is possible to further increase the allowed external resistance by decreasing the
ADC clock frequency or selecting a lower resolution. Refer to the datasheet of your device
to obtain the exact values of the RC parameters.
R
------------------------------------------------------------------------ - R
=
AINmax
f
ADC
= 8 pF, R
ADC
ADC
7.5
----------------------------------------------------------------------------------------------- - 1kΩ
=
6
14
10
8
10
DocID15067 Rev 3
How to get the best ADC accuracy
T
s
N
1
+
(
C
ln
2
ADC
max = 1 kΩ and for T
s
12
12
1
+
(
)
ln
2
ADCmax
)
= 7.5, the maximum source
from R
AIN
.
ADC
29/49
48

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents