Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN1711 Arkusz danych(PDF) 9 Page - STMicroelectronics

Numer części AN1711
Szczegółowy opis  SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1711 Arkusz danych(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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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