Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4073 Datasheet(PDF) 9 Page - STMicroelectronics

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

AN4073 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button 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 AN4073 Datasheet HTML 12Page - STMicroelectronics AN4073 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 32 page
background image
DocID022945 Rev 5
9/32
AN4073
Firmware techniques for improving the conversion accuracy
31
Figure 3. Averaging of N-X ADC sample algorithm
Total conversion time = (number of samples * ADC conversion time) + computation time.
Computation time = time taken to read the results, sort the N ADC samples, delete the X
most dispersed samples, add the rest of the ADC samples together and calculate the
average by dividing the total by N-X.
Note:
Refer to Appendix B for more details about the code source used.
MS31177V1
Start
Initialize ADC, variables, I/O and select the
analog channel to be used, (Buff[N])
Configure the ADC to convert
once after each trigger
Set the ADC Start of Conversion bit
Read the ADC output registers after End of Conversion
Add read value to Buff[++]
No. of
conversions
= N?
Sort the N ADC sample
(sort Buff[N])
End
Yes
No
Delete X/2 sample from the top of Buff[N]
And X/2 sample from the bottom of Buff[N]
N-
_
2
X
-1
()
_
2
X
Buff[i]
()
N - X
1
Average =


Similar Part No. - AN4073

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN4070 STMICROELECTRONICS-AN4070 Datasheet
4Mb / 53P
   250 W grid connected microinverter
AN4071 STMICROELECTRONICS-AN4071 Datasheet
487Kb / 27P
   Introduction to comparators, their parameters and basic
AN4075 STMICROELECTRONICS-AN4075 Datasheet
415Kb / 23P
   STEVAL-IFP016V2 IO-Link communication master transceiver
AN4076 STMICROELECTRONICS-AN4076 Datasheet
1Mb / 14P
   Two or three shunt resistor based current sensing circuit design
AN4077 STMICROELECTRONICS-AN4077 Datasheet
1Mb / 33P
   100 W transition-mode PFC pre-regulator with the new L6564H
More results

Similar Description - AN4073

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN4229 STMICROELECTRONICS-AN4229 Datasheet
472Kb / 26P
   How to implement a vocoder solution using STM32 microcontrollers
AN2834 STMICROELECTRONICS-AN2834 Datasheet
851Kb / 45P
   How to get the best ADC accuracy in STM32Fx Series and STM32L1 Series devices
AN3057 STMICROELECTRONICS-AN3057 Datasheet
419Kb / 15P
   How to manage simultaneous
AN1830 STMICROELECTRONICS-AN1830 Datasheet
174Kb / 15P
   ACHIEVING HIGH ACCURACY AND 13-BIT RESOLUTION WITH ST7LITE2 ADC
AN3009 STMICROELECTRONICS-AN3009 Datasheet
552Kb / 36P
   How to design a transition mode PFC pre-regulator using the L6564
TN0941 STMICROELECTRONICS-TN0941 Datasheet
334Kb / 16P
   When to and why use reset and supervisor ICs
UM0457 STMICROELECTRONICS-UM0457 Datasheet
382Kb / 9P
   How to use the BT_HTS_RX_R2
logo
Silicon Laboratories
AN746 SILABS-AN746 Datasheet
1Mb / 30P
   How to configure the Si4012
logo
Aavid, Thermal Division...
5005-09NG AAVID-5005-09NG Datasheet
8Mb / 116P
   How to Use This Catalog
logo
Glenair, Inc.
802-040 GLENAIR-802-040 Datasheet
415Kb / 5P
   Hermetic Receptacle How to Order Information
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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