Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN4073 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN4073
Description  How to improve ADC accuracy when using STM32F2xx and STM32F4xx microcontrollers
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4073 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN4073 Datasheet HTML 3Page - STMicroelectronics AN4073 Datasheet HTML 4Page - STMicroelectronics AN4073 Datasheet HTML 5Page - STMicroelectronics AN4073 Datasheet HTML 6Page - STMicroelectronics AN4073 Datasheet HTML 7Page - STMicroelectronics AN4073 Datasheet HTML 8Page - STMicroelectronics AN4073 Datasheet HTML 9Page - STMicroelectronics AN4073 Datasheet HTML 10Page - STMicroelectronics AN4073 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 32 page
background image
DocID022945 Rev 5
7/32
AN4073
Firmware techniques for improving the conversion accuracy
31
2
Firmware techniques for improving the conversion
accuracy
2.1
Averaging
Averaging is a simple technique where you sample an analog input several times and take
the average of the results. This technique is helpful to eliminate the effect of noise on the
analog input or a wrong conversion.
2.1.1
Averaging of N ADC samples
When this method is used, it is better to collect the samples in multiples of 2 (N should be a
multiple of 2). This makes it more efficient to compute the average because you can do the
division by right-shifting the sum of the converted values. This saves CPU time and code
memory needed to execute a division algorithm (in Cortex-Mx, this takes 1 CPU cycle).
Figure 1. Graphical representation of averaging technique
This averaging technique is used to measure the voltage on one analog input pin. A total of
N conversions is considered and the average is calculated. This is done in a loop in the
firmware.
MS31175V1
Digital output
Average value
Number of
conversions



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com