DocID022881 Rev 10
25/123
STM32L162VC, STM32L162RC
46
3.10.1 Temperature
sensor
The temperature sensor (TS) generates a voltage V
SENSE
that varies linearly with
temperature.
The temperature sensor is internally connected to the ADC_IN16 input channel which is
used to convert the sensor output voltage into a digital value.
The sensor provides good linearity but it has to be calibrated to obtain good overall
accuracy of the temperature measurement. As the offset of the temperature sensor varies
from chip to chip due to process variation, the uncalibrated internal temperature sensor is
suitable for applications that detect temperature changes only.
To improve the accuracy of the temperature sensor measurement, each device is
individually factory-calibrated by ST. The temperature sensor factory calibration data are
stored by ST in the system memory area, accessible in read-only mode. See
Temperature sensor calibration values
3.10.2
Internal voltage reference (V
REFINT
)
The internal voltage reference (V
REFINT
) provides a stable (bandgap) voltage output for the
ADC and Comparators. V
REFINT
is internally connected to the ADC_IN17 input channel. It
enables accurate monitoring of the V
DD
value (when no external voltage, VREF+, is
available for ADC). The precise voltage of V
REFINT
is individually measured for each part by
ST during production test and stored in the system memory area. It is accessible in read-
only mode. See
Table 16: Embedded internal reference voltage calibration values
.
3.11
DAC (digital-to-analog converter)
The two 12-bit buffered DAC channels can be used to convert two digital signals into two
analog voltage signal outputs. The chosen design structure is composed of integrated
resistor strings and an amplifier in non-inverting configuration.
This dual digital Interface supports the following features:
•
Two DAC converters: one for each output channel
•
8-bit or 12-bit monotonic output
•
Left or right data alignment in 12-bit mode
•
Synchronized update capability
•
Noise-wave generation
•
Triangular-wave generation
•
Dual DAC channels, independent or simultaneous conversions
•
DMA capability for each channel (including the underrun interrupt)
•
External triggers for conversion
•
Input reference voltage V
REF+
Eight DAC trigger inputs are used in the STM32L162xC devices. The DAC channels are
triggered through the timer update outputs that are also connected to different DMA
channels.