Peripheral interconnect matrix
RM0365
91/1080
DocID025202 Rev 7
7.3.4 From
TIM
and EXTI to ADC
General-purpose timers (TIM2/TIM3/TIM4), basic timers (TIM6), advanced-control timer
(TIM1), general-purpose timer (TIM15/TIM16/TIM17) and EXTI can be used to generate an
ADC triggering event.
The output (from timer) is on signal TIMx_TRGO, TIMx_TRGO2 or TIMx_CCx event.
The input (to ADC) is on signal EXT[15:0], JEXT[15:0].
The connection between timers and ADCs or also EXTI & ADCs is provided in:
•
Table 87: ADC1 (master) & 2 (slave) - External triggers for regular channels
•
Table 88: ADC1 & ADC2 - External trigger for injected channels
7.3.5
From OPAMP to ADC
There are two interconnection types:
1.
Connect OPAMP output reference voltage to an internal ADC channel. This connection
can be used for OPAMP calibration. For more details, please refer to the Section
Calibration
in the OPAMP chapter.
Section 15.3.11: Channel selection (SQRx, JSQRx)
provides the exact ADC channels
to be used.
2. OPAMPx output, x = 1, 2 can be connected to ADCy channels, y= 1, 2 through the
GPIOs. See summary in the table below. Refer to
Section 18.3.4: Using the OPAMP
7.3.6
From TS to ADC
Internal temperature sensor (VTS) is connected internally to ADC1_IN16. Refer to
Section 15.3.30: Temperature sensor
.
7.3.7
From VBAT to ADC
VBAT/2 output voltage can be converted using ADC1_IN17. This interconnection is
explained in
Section 15.3.31: VBAT supply monitoring
.
Table 17. VREFOPAMPx to ADC channel
VREFOPAMPx
ADC channel
VREFOPAMP1
(1)
1. Only in STM32F302xB/C/D/E.
ADC1_IN15
VREFOPAMP2
Table 18. OPAMP output to ADC input
OPAMPx output
ADC channel
Used pins
OPAMP1_VOUT
(1)
1. Only in STM32F302xB/C/D/E.
ADC1_IN3
PA2
OPAMP2_VOUT
ADC2_IN3
PA6