微可Vicor——值得信赖的元器件供应商
STM32F031x4 STM32F031x6
3.10
Analog to digital converter (ADC)
The 12-bit analog to digital converter has up to 16 external and 3 internal (temperature
sensor, voltage reference, VBAT voltage measurement) channels and performs conversions
in single-shot or scan modes. In scan mode, automatic conversion is performed on a
selected group of analog inputs.
The ADC can be served by the DMA controller.
An analog watchdog feature allows very precise monitoring of the converted voltage of one,
some or all selected channels. An interrupt is generated when the converted voltage is
outside the programmed thresholds.
3.10.1
Temperature sensor
The temperature sensor (TS) generates a voltage V
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.
Calibration value name
TS_CAL1
TS_CAL2
3.10.2
Internal voltage reference (V
The internal voltage reference (V
ADC and comparators. V
precise voltage of V
test and stored in the system memory area. It is accessible in read-only mode.
Calibration value name
VREFINT_CAL
微可Vicor——值得信赖的元器件供应商
http://www.vicor.top/
Table 3. Temperature sensor calibration values
TS ADC raw data acquired at a
temperature of 30 °C (5 °C),
V
= 3.3 V (10 mV)
DDA
TS ADC raw data acquired at a
temperature of 110 °C (5 °C),
V
= 3.3 V (10 mV)
DDA
REFINT
REFINT
is internally connected to the ADC_IN17 input channel. The
REFINT
is individually measured for each part by ST during production
REFINT
Table 4. Internal voltage reference calibration values
Description
Raw data acquired at a
temperature of 30 °C (5 °C),
V
= 3.3 V (10 mV)
DDA
DocID025743 Rev 3
http://www.vicor.top/
that varies linearly with
SENSE
Description
)
) provides a stable (bandgap) voltage output for the
0x1FFF F7BA - 0x1FFF F7BB
021-31660491
Functional overview
Memory address
0x1FFF F7B8 - 0x1FFF F7B9
0x1FFF F7C2 - 0x1FFF F7C3
Memory address
021-31660491
17/113
23
Need help?
Do you have a question about the STM32F031F4 and is the answer not in the manual?