LM3S317 Luminary Micro, Inc, LM3S317 Datasheet - Page 203
![no-image](/images/no-image-200.jpg)
LM3S317
Manufacturer Part Number
LM3S317
Description
Lm3s317 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S317.pdf
(376 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S317-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S317-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S317-IGZ25-C2
Manufacturer:
TI
Quantity:
168
Company:
Part Number:
LM3S317-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
135
Company:
Part Number:
LM3S317-IQN25-C2
Manufacturer:
TI
Quantity:
78
Part Number:
LM3S317-IQN25-C2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Company:
Part Number:
LM3S317-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 203 of 376
- Download datasheet (3Mb)
11.3.1
11.3.2
11.4
Table 11-2. ADC Register Map
February 6, 2007
Offset
0x00C
0x000
0x004
0x008
0x010
0x014
0x018
Name
ADCACTSS
ADCRIS
ADCIM
ADCISC
ADCOSTAT
ADCEMUX
ADCUSTAT
Module Initialization
Initialization of the ADC module is a simple process with very few steps. The main steps include
enabling the clock to the ADC and reconfiguring the Sample Sequencer priorities (if needed).
The initialization sequence for the ADC is as follows:
1.
2.
Sample Sequencer Configuration
Configuration of the Sample Sequencers is slightly more complex than the module initialization
since each sample sequence is completely programmable.
The configuration for each Sample Sequencer should be as follows:
1.
2.
3.
4.
5.
6.
Register Map
Table 11-2 lists the ADC registers. The offset listed is a hexadecimal increment to the register’s
address, relative to the ADC base address of 0x40038000.
Enable the ADC clock by writing a value of 0x00010000 to the RCGC1 register in the System
Control module.
If required by the application, reconfigure the Sample Sequencer priorities in the ADCSSPRI
register. The default configuration has Sample Sequencer 0 with the highest priority, and
Sample Sequencer 3 as the lowest priority.
Ensure that the Sample Sequencer is disabled by writing a 0 to the corresponding ASEN bit in
the ADCACTSS register. Programming of the Sample Sequencers is allowed without having
them enabled. Disabling the Sequencer during programming prevents erroneous execution if
a trigger event were to occur during the configuration process.
Configure the trigger event for the Sample Sequencer in the ADCEMUX register.
For each sample in the sample sequence, configure the corresponding input source in the
ADCSSMUXn register.
For each sample in the sample sequence, configure the sample control bits in the
corresponding nibble in the ADCSSCTLn register. When programming the last nibble, ensure
that the END bit is set. Failure to set the END bit causes unpredictable behavior.
If interrupts are to be used, write a 1 to the corresponding MASK bit in the ADCIM register.
Enable the Sample Sequencer logic by writing a 1 to the corresponding ASEN bit in the
ADCACTSS register.
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
Reset
R/W1C
R/W1C
R/W1C
Type
R/W
R/W
R/W
RO
Preliminary
Description
Active sample sequencer
Raw interrupt status and clear
Interrupt mask
Interrupt status and clear
Overflow status
Event multiplexer select
Underflow status
LM3S317 Data Sheet
page
See
205
206
207
208
209
210
211
203
Related parts for LM3S317
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LM3S1110](/images/no-image3.png)
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1133](/images/no-image3.png)
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1138](/images/no-image3.png)
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1150](/images/no-image3.png)
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1162](/images/no-image3.png)
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1165](/images/no-image3.png)
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1332](/images/no-image3.png)
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1435](/images/no-image3.png)
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1439](/images/no-image3.png)
Part Number:
Description:
Lm3s1439 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1512](/images/no-image3.png)
Part Number:
Description:
Lm3s1512 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1538](/images/no-image3.png)
Part Number:
Description:
Lm3s1538 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1601](/images/no-image3.png)
Part Number:
Description:
Lm3s1601 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1607](/images/no-image3.png)
Part Number:
Description:
Lm3s1607 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1608](/images/no-image3.png)
Part Number:
Description:
Lm3s1608 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: