English
Language : 

LM3S5G51 Datasheet, PDF (1005/1266 Pages) Texas Instruments – Stellaris® LM3S5G51 Microcontroller
Stellaris® LM3S5G51 Microcontroller
Figure 19-3. Comparator Internal Reference Structure
VDDA
8R
R
8R
R
R
•••
EN
VREF
RNG
15 14
•••
1
0
Decoder
internal
reference
VIREF
The internal reference can be programmed in one of two modes (low range or high range) depending
on the RNG bit in the ACREFCTL register. When RNG is clear, the internal reference is in high-range
mode, and when RNG is set the internal reference is in low-range mode.
In each range, the internal reference, VIREF, has 16 pre-programmed thresholds or step values. The
threshold to be used to compare the external input voltage against is selected using the VREF field
in the ACREFCTL register.
In the high-range mode, the VIREF threshold voltages start at the ideal high-range starting voltage
of VDDA/3.875 and increase in ideal constant voltage steps of VDDA/31.
In the low-range mode, the VIREF threshold voltages start at:0V and increase in ideal constant voltage
steps of VDDA/23. The ideal VIREF step voltages for each mode and their dependence on the RNG
and VREF fields are summarized in Table 19-3 on page 1005.
Table 19-3. Internal Reference Voltage and ACREFCTL Field Values
ACREFCTL Register
EN Bit
Value
RNG Bit Value Output Reference Voltage Based on VREF Field Value
EN=0
RNG=X
0 V (GND) for any value of VREF. It is recommended that RNG=1 and VREF=0 to minimize noise
on the reference ground.
January 23, 2012
Texas Instruments-Production Data
1005