LM3S308 Luminary Micro, Inc, LM3S308 Datasheet - Page 226

no-image

LM3S308

Manufacturer Part Number
LM3S308
Description
Lm3s308 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S308
Manufacturer:
DSP
Quantity:
648
Part Number:
LM3S308-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IGZ25-C2
Manufacturer:
AV
Quantity:
241
Company:
Part Number:
LM3S308-IGZ25-C2
Quantity:
982
Part Number:
LM3S308-IQN25
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IQN25-C2
Manufacturer:
TI
Quantity:
202
Part Number:
LM3S308-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Analog-to-Digital Converter (ADC)
11.2.3
11.2.4
11.2.5
226
but all devices share the "Controller" and "Always" triggers. Software can initiate sampling by setting
the CH bits in the ADC Processor Sample Sequence Initiate (ADCPSSI) register.
When using the "Always" trigger, care must be taken. If a sequence's priority is too high, it is possible
to starve other lower priority sequences.
Hardware Sample Averaging Circuit
Higher precision results can be generated using the hardware averaging circuit, however, the
improved results are at the cost of throughput. Up to 64 samples can be accumulated and averaged
to form a single data entry in the sequencer FIFO. Throughput is decreased proportionally to the
number of samples in the averaging calculation. For example, if the averaging circuit is configured
to average 16 samples, the throughput is decreased by a factor of 16.
By default the averaging circuit is off and all data from the converter passes through to the sequencer
FIFO. The averaging hardware is controlled by the ADC Sample Averaging Control (ADCSAC)
register (see page 242). There is a single averaging circuit and all input channels receive the same
amount of averaging whether they are single-ended or differential.
Analog-to-Digital Converter
The converter itself generates a 10-bit output value for selected analog input. Special analog pads
are used to minimize the distortion on the input. An internal 3 V reference is used by the converter
resulting in sample values ranging from 0x000 at 0 V input to 0x3FF at 3 V input when in single-ended
input mode.
Differential Sampling
In addition to traditional single-ended sampling, the ADC module supports differential sampling of
two analog input channels. To enable differential sampling, software must set the D bit (in the
ADCSSCTL0 register) in a step's configuration nibble.
When a sequence step is configured for differential sampling, its corresponding value in the
ADCSSMUX register must be set to one of the four differential pairs, numbered 0-3. Differential pair
0 samples analog inputs 0 and 1; differential pair 1 samples analog inputs 2 and 3; and so on (see
Table 11-2 on page 226). The ADC does not support other differential pairings such as analog input
0 with analog input 3. The number of differential pairs supported is dependent on the number of
analog inputs (see Table 11-2 on page 226).
Table 11-2. Differential Sampling Pairs
The voltage sampled in differential mode is the difference between the odd and even channels:
∆V (differential voltage) = V
Differential Pair
0
1
2
3
If ∆V = 0, then the conversion result = 0x1FF
If ∆V > 0, then the conversion result > 0x1FF (range is 0x1FF–0x3FF)
If ∆V < 0, then the conversion result < 0x1FF (range is 0–0x1FF)
Analog Inputs
0 and 1
2 and 3
4 and 5
6 and 7
IN_EVEN
(even channels) – V
Preliminary
IN_ODD
(odd channels), therefore:
June 04, 2008

Related parts for LM3S308