数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN1711 数据表(PDF) 9 Page - STMicroelectronics

部件名 AN1711
功能描述  SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN1711 数据表(HTML) 9 Page - STMicroelectronics

Back Button AN1711 Datasheet HTML 5Page - STMicroelectronics AN1711 Datasheet HTML 6Page - STMicroelectronics AN1711 Datasheet HTML 7Page - STMicroelectronics AN1711 Datasheet HTML 8Page - STMicroelectronics AN1711 Datasheet HTML 9Page - STMicroelectronics AN1711 Datasheet HTML 10Page - STMicroelectronics AN1711 Datasheet HTML 11Page - STMicroelectronics AN1711 Datasheet HTML 12Page - STMicroelectronics AN1711 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 40 page
background image
9/40
SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
A switch connected to a port pin can be used to inform the software to send the data to a host
PC for display via the SCI communications interface. The port pin used for the switch must be
configured as input. The firmware checks if the switch is pressed (0 is read if switch is pressed
and 1 if open), the ADC readings are then sent to the PC using RS232 communication. You
can use the HyperTerminal application to display the results.
Figure 2. Averaging Algorithm
Total conversion time = (number of samples*ADC conversion time)+ computation time.
Computation time = time taken to read the results, add them together and calculate the av-
erage by dividing the total by the number of samples.
There is a tradeoff between the total conversion time and number of samples used for aver-
aging, depending on the analog signal variations and time available for computation.
yes
Initialise ADC, variables, and select analog
START
Start ADC
Read the ADC output registers after End of Conversion
Average = total/16
channel, Total=0
Use the Result
Add read value to Total
Num. of Conv.
= 16?
no



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 33 34 35 36 37 38 39 40


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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