EasyManuals Logo

ST STM32F410 User Manual

ST STM32F410
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #227 background imageLoading...
Page #227 background image
RM0401 Rev 3 227/771
RM0401 Analog-to-digital converter (ADC)
242
Note: The TSVREFE bit must be set to enable the conversion of both internal channels: the
ADC1_IN18 or ADC1_IN16 (temperature sensor) and the ADC1_IN17 (VREFINT).
Main features
Supported temperature range: –40 to 125 °C
Precision: ±1.5 °C
Figure 39. Temperature sensor and V
REFINT
channel block diagram
1. V
SENSE
is input to ADC1_IN18 and ADC1_IN16.
Reading the temperature
To use the sensor:
3. Select ADC1_IN18 input channel.
4. Select a sampling time greater than the minimum sampling time specified in the
datasheet.
5. Set the TSVREFE bit in the ADC_CCR register to wake up the temperature sensor
from power down mode
6. Start the ADC conversion by setting the SWSTART bit (or by external trigger)
7. Read the resulting V
SENSE
data in the ADC data register
8. Calculate the temperature using the following formula:
Temperature (in °C) = {(V
SENSE
– V
25
) / Avg_Slope} + 25
Where:
–V
25
= V
SENSE
value for 25° C
Avg_Slope = average slope of the temperature vs. V
SENSE
curve (given in mV/°C
or µV/°C)
Refer to the datasheet electrical characteristics section for the actual values of V
25
and
Avg_Slope.
-36
4EMPERATURE
SENSOR
6
3%.3%
4362%&%CONTROLBIT
!$#
!DDRESSDATABUS
6
2%&).4
!$#?).
!$#?).

)NTERNAL
POWERBLOCK
!$#?).
CONVERTEDDATA

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F410 and is the answer not in the manual?

ST STM32F410 Specifications

General IconGeneral
BrandST
ModelSTM32F410
CategoryMicrocontrollers
LanguageEnglish

Related product manuals