Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4173 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN4173
Description  The aim of this document is to clarify the usage
PDF  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4173 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN4173 Datasheet HTML 4Page - STMicroelectronics AN4173 Datasheet HTML 5Page - STMicroelectronics AN4173 Datasheet HTML 6Page - STMicroelectronics AN4173 Datasheet HTML 7Page - STMicroelectronics AN4173 Datasheet HTML 8Page - STMicroelectronics AN4173 Datasheet HTML 9Page - STMicroelectronics AN4173 Datasheet HTML 10Page - STMicroelectronics AN4173 Datasheet HTML 11Page - STMicroelectronics AN4173 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 22 page
background image
ADC 10-bit timing configuration parameters
AN4173
8/22
Doc ID 023727 Rev 3
2
ADC 10-bit timing configuration parameters
In order to control the conversion time of the ADC_0 10-bit SAR peripheral, there are three
registers CTR0, CTR1, and CTR2.
The CTR0 register is associated with internal precision channels (from 0 to 15).
The CTR1 register is associated with internal standard channels (from 32 to 63).
The CTR2 register is associated with external multiplexed channels (from 64 to 95).
The three parameters involved in the evaluation of the conversion time are:
●
CTR.INPSAMP: used to configure the duration of the analog input signal sampling
operation. It represents the number of the clock cycles that this operation will last.
Minimum value is 3. If it is less, it is automatically set to 3 inside the ADC.
–
Range of values: [3:255]
●
CTR.INPLATCH: used to configure the duration of the latching phase during the 1-bit
evaluation of the SAR algorithm. 0 means half a clock cycle and 1 means one clock
cycle. The 1 condition is possible only if INPCMP is bigger than one. Otherwise it is
automatically set to 0 inside the ADC. Parameter sets the portion of TBITEVAL used to
latch the comparator result. If 0, this time is equal to half the period of ADC clk. If 1, it is
equal to 1 TCK.
–
Range of values: [0:1]
●
CTR.INPCMP: used to configure the duration of the evaluation of each bit of the SAR
algorithm. It represents the number of clock cycles that this operation will last. Minimum
value is 1. If it is less, it is automatically set to 1 inside the ADC.
–
Range of values: [1:3]
ADC Clk: ADC peripheral input clock frequency from 6 to 32 MHz, depending on the
parameters and constraints.
2.1
Conversion timing
When a conversion is started, the ADC connects the internal sampling capacitor to the
respective analog input pin, allowing the capacitance to charge up to the input voltage
value. The time to load the capacitor is referred to as sampling time. After completion of the
sampling phase, the evaluation phase starts and all the bits corresponding to the resolution
of the ADC are estimated to provide the conversion result.
The conversion times are programmed via the bit fields of the CTR. Bit fields INPLATCH,
INPCMP and INPSAMPLE are used to define the total conversion duration (tCONV) and in
particular the partition between sampling phase duration (tSAMPLE) and total evaluation
phase duration (tEVAL).
The sampling phase duration of ADC is given by:
Equation 5
where INPSAMPLE
≥ 3 and ndelay = 0.5 if INPSAMPLE < 6, otherwise ndelay = 1
T
sample
INPSAMPLE
ndelay
–
()
=
T
×
CK



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

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