Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2979 Datasheet(PDF) 9 Page - STMicroelectronics

Part # AN2979
Description  Implementing a simple ADC using the STM8L101xx comparator
Download  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2979 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button AN2979 Datasheet HTML 4Page - STMicroelectronics AN2979 Datasheet HTML 5Page - STMicroelectronics AN2979 Datasheet HTML 6Page - STMicroelectronics AN2979 Datasheet HTML 7Page - STMicroelectronics AN2979 Datasheet HTML 8Page - STMicroelectronics AN2979 Datasheet HTML 9Page - STMicroelectronics AN2979 Datasheet HTML 10Page - STMicroelectronics AN2979 Datasheet HTML 11Page - STMicroelectronics AN2979 Datasheet HTML 12Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 9 / 12 page
background image
AN2979
Measurements and calibration
Doc ID 15651 Rev 1
9/12
The following figure shows the impact of the capacitor and resistor accuracy.
Figure 7.
Charge equation depending on RC accuracy
1.
In blue: Vmeasacc1 ---- In red: Vmeas ---- In green: Vmeasacc2
2.
Condition: VDD=3.3 V
Note:
The results are not only impacted by the marging error due to hardware components but
also by the accuracy of the MCU clock. In this example, the device works at a HSI frequency
of 16 MHz at 25 °C, that is, with a clock accuracy of 1% (refer to the datasheet).
The temperature variation also impacts the accuracy of the measured value as the
microcontroller, resistors and capacitors are temperature dependent.
4.3
How to get a better accuracy
4.3.1
Hardware solution
The first solution is to choose components with a high accuracy value (this may imply a
higher cost).
4.3.2
Software solution
The second solution is to calibrate the RC constant in the software using VDD as a
reference.
Implementation description
In order to perform the calibration, you need to uncomment the “#define calibration” in the
“param.h” file.
y = 3.3(1-exp(-x/0.882))
y = 3.3(1-exp(-x))
y = 3.3(1-exp(-x/1.122))
0.5
1
1.5
2
2.5
3
0.5
1
1.5
2
2.5
V
ms
Vmeas_max = 2.05
tmax
tacc1max
tacc2max
tacc2max = 1.09 ms
tacc1max = 0.856ms
tmax = 0.970ms


Similar Part No. - AN2979

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN2970 STMICROELECTRONICS-AN2970 Datasheet
378Kb / 11P
   This application note describes the ProxSense
AN2971 STMICROELECTRONICS-AN2971 Datasheet
407Kb / 12P
   Using the typical temperature characteristics of 32 KHz crystal
AN2972 STMICROELECTRONICS-AN2972 Datasheet
1Mb / 25P
   Designing an antenna for the M24LRxx-R
More results

Similar Description - AN2979

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
DSP56300 FREESCALE-DSP56300 Datasheet
1Mb / 108P
   Implementing Viterbi Decoders Using the VSL Instruction on DSP Families
logo
Texas Instruments
SNOA565 TI1-SNOA565 Datasheet
1Mb / 13P
[Old version datasheet]   AN-2177 Using the LMH6554 as a ADC Driver
logo
Richtek Technology Corp...
RT9045A RICHTEK-RT9045A Datasheet
168Kb / 11P
   The RT9045A is a simple
logo
ATMEL Corporation
AT76C902 ATMEL-AT76C902 Datasheet
63Kb / 3P
   Wireless VoIP Processor Implementing the 802.11 Standard
logo
STMicroelectronics
AN1216 STMICROELECTRONICS-AN1216 Datasheet
198Kb / 11P
   Implementing a periodic alarm with TIMEKEEPER
logo
Silicon Laboratories
AN855 SILABS-AN855 Datasheet
922Kb / 3P
   ADJUSTING HYSTERESIS ON A DUAL COMPARATOR USING ONE RESISTOR
logo
Microchip Technology
AN597 MICROCHIP-AN597 Datasheet
63Kb / 8P
   Implementing Ultrasonic Ranging
1995
logo
STMicroelectronics
AN2421 STMICROELECTRONICS-AN2421 Datasheet
79Kb / 6P
   Using the STMPE801 as a keypad controller
logo
Silicon Laboratories
AN123 SILABS-AN123 Datasheet
258Kb / 16P
   USING THE DAC AS A FUNCTION GENERATOR
logo
STMicroelectronics
AN3260 STMICROELECTRONICS-AN3260 Datasheet
324Kb / 24P
   Building a thermometer using the STM8S-DISCOVERY
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


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