Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
PWM generator, and continuous sampling. The processor triggers sampling by setting the
SSx
bits
in the ADC Processor Sample Sequence Initiate (ADCPSSI) register.
Care must be taken when using the continuous sampling trigger. If a sequencer's priority is too high,
it is possible to starve other lower priority sequencers. Generally, a sample sequencer using
continuous sampling should be set to the lowest priority. Continuous sampling can be used with a
digital comparator to cause an interrupt when a particular voltage is seen on an input.
18.3.2.5
Sample and Hold Window Control
The ADC module provides the capability of programming the sample and hold window of each step
in a sequence through the ADC Sample Sequence n Sample and Hold Time (ADCSSTSHn)
register. Each
TSHn
field can be written with a different sample and hold width, which is represented
in ADC clocks. The table below gives the allowed encodings:
Table 18-3. Sample and Hold Width in ADC Clocks
N
SH
TSHn Encoding
4
0x0
reserved
0x1
8
0x2
reserved
0x3
16
0x4
reserved
0x5
32
0x6
reserved
0x7
64
0x8
reserved
0x9
128
0xA
reserved
0xB
256
0xC
reserved
0xD-0xF
Since both source resistance and conversion frequency are functions of the sample and hold number
(N
SH
), the system designer must evaluate how changing this value can effect system performance.
Source resistance can be calculated by the following equation:
R
S
= ((N
SH
* T
ADC
)/C
ADC
* ln(2
N
)) - R
ADC
where:
■ N
SH
is the number of ADC conversion clock periods in the sample time
■ T
ADC
is the ADC conversion clock period, which is 1/16 MHz for 1 Msps
■ C
ADC
is the ADC equivalent input capacitance, which equals 10 pF
■ N is the resolution which is 12-bits
■ R
ADC
is the ADC equivalent input resistance which is 2.5 kΩ
Conversion frequency can be calculated using the following equation:
December 13, 2013
1206
Texas Instruments-Advance Information
Analog-to-Digital Converter (ADC)