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 #28 background imageLoading...
Page #28 background image
How to get the best ADC accuracy AN2834
28/49 DocID15067 Rev 3
3.2.6 Analog source resistance calculation
Let us assume that the maximum error allowed is equal to 1/2 LSB. We will calculate the
maximum source resistance allowed.
V
c
is the voltage across the internal C
ADC
capacitor (refer to Figure 15).
Then we have:
Error V
AIN
V
c
1
2
---
LSB==
Figure 25. Worst case error: V
AIN
= V
REF+
Let t
s
be the sampling time.
t
s
= T
S
/f
ADC
, where T
s
is the sampling time evaluated by cycles (1)
For a given t
s
, the error corresponding to V
AIN
= V
REF+
is greater than the error
corresponding to V
AIN
< V
REF+
because the C
ADC
capacitor takes more time to charge from
0 V to V
AIN
when V
AIN
= V
REF+
than it takes when V
AIN
< V
REF+
(refer to Figure 25). So
V
AIN
= V
REF+
is the worst case to be taken into account in the demonstration of the
maximum source resistance.
Error V
REF+
V
REF+
1e
t
s
R
max
C
ADC
--------------------------------
⎝⎠
⎜⎟
⎜⎟
⎜⎟
⎜⎟
⎛⎞
1
2
---
V
REF+
2
N
------------------ -
==
where:
R
max
= (R
AIN
+ R
ADC
)max(2)
N is the ADC resolution (in our case N = 12)
This gives:
. Thus:
R
max
t
s
C
ADC
2
N1+
()ln
-------------------------------------------- -
=
(3)
DLE
9
$,1
 9
5()
9
$,1
9
5()
(UURU9
$,1
 9
5()
!(UURU9
$,1
9
5()

9
9
F
W
(UURU9
$,1
9
5()

W
V
(UURU9
$,1
9
5()


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