поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4073 датащи(PDF) 9 Page - STMicroelectronics

номер детали AN4073
подробное описание детали  How to improve ADC accuracy when using STM32F2xx and STM32F4xx microcontrollers
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4073 датащи(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 =



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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