Analog-to-digital converter (ADC) RM0390
380/1328 RM0390 Rev 4
Otherwise, the ADC with the shortest sequence may restart while the ADC with the longest
sequence is completing the previous conversions.
If the conversion sequence is interrupted (for instance when DMA end of transfer occurs),
the multi-ADC sequencer must be reset by configuring it in independent mode first (bits
DUAL[4:0] = 00000) before reprogramming the interleaved mode.
Figure 89. Alternate + regular simultaneous
If a trigger occurs during an injected conversion that has interrupted a regular conversion, it
is ignored. Figure 90 shows the behavior in this case (2nd trigger is ignored).
Figure 90. 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 STM32F446xx 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.
Figure 91 shows the block diagram of the temperature sensor.
!$#REG
#( #( #(
#(
#( #(
#(
!$#INJ
!$#REG
!$#INJ
STTRIGGER
NDTRIGGER
SYNCHRONOTLOST
#( #( #( #( #(
#( #(
#( #(
AI
!$#REG
#( #( #(
#(
#( #(
#(
!$#INJ
!$#REG
!$#INJ
STTRIGGER
NDTRIGGER
#( #( #( #( #(
#( #(
#( #(
AI
#(
NDTRIGGER
RDTRIGGER