DocID018909 Rev 11
415/1731
RM0090
Analog-to-digital converter (ADC)
434
Figure 62. Case of trigger occurring during injected conversion
13.10 Temperature
sensor
The temperature sensor can be used to measure the ambient temperature (T
A
) of the
device.
•
On STM32F40x and STM32F41x devices, the temperature sensor is internally
connected to ADC1_IN16 channel which is used to convert the sensor output voltage
to a digital value.
•
On STM32F42x and STM32F43x devices, the temperature sensor is internally
connected to the same input channel, ADC1_IN18, as VBAT: ADC1_IN18 is used to
convert the sensor output voltage or VBAT into a digital value. Only one conversion,
temperature sensor or VBAT, must be selected at a time. When the temperature sensor
and the VBAT conversion are set simultaneously, only the VBAT conversion is
performed.
shows the block diagram of the temperature sensor.
When not in use, the sensor can be put in power down mode.
Note:
The TSVREFE bit must be set to enable the conversion of both internal channels: the
ADC1_IN16 or ADC1_IN18 (temperature sensor) and the ADC1_IN17 (VREFINT).
Main features
•
Supported temperature range: –40 to 125 °C
•
Precision: ±1.5 °C
!$#REG
#(
#(
#(
#(
#(
#(
#(
!$#INJ
!$#REG
!$#INJ
STTRIGGER
NDTRIGGER
#(
#(
#(
#(
#(
#(
#(
#(
#(
AI
#(
NDTRIGGER
RDTRIGGER