Analog/digital converter (ADC) UM0306
468/519
Figure 181. Case of trigger occurring during injected conversion
19.10.9 Combined injected simultaneous + interleaved
It is possible to interrupt an interleaved conversion with an injected event. In this case the
interleaved conversion is interrupted and the injected conversion starts, at the end of the
injected sequence the interleaved conversion is resumed. Figure 182 shows the behavior
using an example.
Figure 182. Interleaved single channel with injected sequence CH11, CH12
19.11 Temperature sensor
The temperature sensor can be used to measure the ambient temperature (T
A
) of the
device.
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 sampling time for
temperature sensor analog input must be greater than 2.2 µs.
The block diagram of the temperature sensor is shown in Figure 183.
When not in use, this sensor can be put in power down mode.
Note: The TSVREFE bit must be set to enable both internal channels: ADC_IN16 (temperature
sensor) and ADC_IN17 (V
REFINT
) conversion.
Main features
● Supported Temperature Range: -40 to 125 degrees
● Precision: +/- 1.5° C
ADC1 reg
CH0 CH1 CH2
CH0
CH2 CH3
CH0
ADC1 inj
ADC2 reg
ADC2 inj
1st trig
4th trig
CH3 CH5 CH6 CH6 CH7
CH3 CH4
CH7 CH8
2nd trig
3rd trig
CH0
CH0
ADC2
ADC1
Tr igg er
Conversion
Sampling
CH0 CH0
CH0 CH0 CH0
CH11 CH12
CH12 CH11
CH0 CH0
CH0 CH0