EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 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 #788 background imageLoading...
Page #788 background image
LL ADC Generic Driver
UM1940
788/1371
DocID028236 Rev 2
internal temperature sensor.
Parameters:
__TEMPSENSOR_TYP_AVGSLOPE__:
Device datasheet data: Temperature sensor
slope typical value (unit: uV/DegCelsius). On
STM32F2, refer to device datasheet parameter
"Avg_Slope".
__TEMPSENSOR_TYP_CALX_V__: Device
datasheet data: Temperature sensor voltage
typical value (at temperature and Vref+ defined
in parameters below) (unit: mV). On STM32F2,
refer to device datasheet parameter "V25".
__TEMPSENSOR_CALX_TEMP__: Device
datasheet data: Temperature at which
temperature sensor voltage (see parameter
above) is corresponding (unit: mV)
__VREFANALOG_VOLTAGE__: Analog
voltage reference (Vref+) voltage (unit: mV)
__TEMPSENSOR_ADC_DATA__: ADC
conversion data of internal temperature sensor
(unit: digital value).
__ADC_RESOLUTION__: ADC resolution at
which internal temperature sensor voltage has
been measured. This parameter can be one of
the following values:
LL_ADC_RESOLUTION_12B
LL_ADC_RESOLUTION_10B
LL_ADC_RESOLUTION_8B
LL_ADC_RESOLUTION_6B
Return value:
Temperature: (unit: degree Celsius)
Notes:
Computation is using temperature sensor
typical values (refer to device datasheet).
Calculation formula: Temperature =
(TS_TYP_CALx_VOLT(uV) - TS_ADC_DATA *
Conversion_uV) / Avg_Slope + CALx_TEMP
with TS_ADC_DATA = temperature sensor raw
data measured by ADC (unit: digital value)
Avg_Slope = temperature sensor slope (unit:
uV/Degree Celsius) TS_TYP_CALx_VOLT =
temperature sensor digital value at temperature
CALx_TEMP (unit: mV) Caution: Calculation
relevancy under reserve the temperature
sensor of the current device has characteristics
in line with datasheet typical values. If
temperature sensor calibration values are
available on on this device (presence of macro
__LL_ADC_CALC_TEMPERATURE()),
temperature calculation will be more accurate
using helper macro
__LL_ADC_CALC_TEMPERATURE(). As

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals