Analog-to-digital converters (ADC)
RM0365
351/1080
DocID025202 Rev 7
temperature sensor measurement, calibration values are stored in system memory for each
device by ST during production.
During the manufacturing process, the calibration data of the temperature sensor and the
internal voltage reference are stored in the system memory area. The user application can
then read them and use them to improve the accuracy of the temperature sensor or the
internal reference. Refer to the STM32F302xx datasheet for additional information.
Main features
•
Supported temperature range: –40 to 125 °C
•
Precision: ±2 °C
The temperature sensor is internally connected to the ADC1_IN16 input channel which is
used to convert the sensor’s output voltage to a digital value. Refer to the electrical
characteristics section of STM32F302xx datasheet for the sampling time value to be applied
when converting the internal temperature sensor.
When not in use, the sensor can be put in power-down mode.
shows the block diagram of the temperature sensor.
Figure 108. Temperature sensor channel block diagram
Note:
The TSEN bit must be set to enable the conversion of the temperature sensor voltage V
TS
.
Reading the temperature
To use the sensor:
06Y9
9
76
76(1FRQWUROELW
$'&[
$'&LQSXW
$GGUHVVGDWDEXV
7HPSHUDWXUH
VHQVRU
FRQYHUWHG
GDWD