Operational amplifier (OPAMP)
RM0365
425/1080
DocID025202 Rev 7
Figure 121. STM32F302x6/8 comparator and operational amplifier
connections
18.3.4
Using the OPAMP outputs as ADC inputs
In order to use OPAMP outputs as ADC inputs, the operational amplifiers must be enabled
and the ADC must use the OPAMP output channel number:
On the STM32F302xB/C:
•
For OPAMP1, ADC1 channel 3 is used.
•
For OPAMP2, ADC2 channel 3 is used.
On the STM32F302x6/8, only OPAMP2 is available and the ADC1 channel 10 is used on
OPAMP2.
18.3.5 Calibration
The OPAMP interface continuously sends trimmed offset values to the 4 operational
amplifiers. At startup, these values are initialized with the preset ‘factory’ trimming value.
Furthermore each operational amplifier offset can be trimmed by the user.
06Y9
KDWŝŶƚĞƌƌƵƉƚ
KDWŝŶƚĞƌƌƵƉƚ
KDW/ŶƚĞƌƌƵƉƚ
н
Ͳ
3RODULW\6HOHFWLRQ
н
Ͳ
н
Ͳ
н
Ͳ
&203
WϭϬͬWϲ
3%
Wϭϭ
95(),17
95(),17
95(),17
95(),17
95(),17
95(),17
95(),17
95(),17
3RODULW\6HOHFWLRQ
3RODULW\6HOHFWLRQ
3$'$&B&+
23$03
&203
&203
3%
3$3$3$3%
7,0B%.,1
7,0B2&5()B&/5
7,0B,&
7,0B,&
7,0B2&5()B&/5
7,0B%.,1
3$
3$
3%
3&
3$
3$
3%
7,0B%.,1
7,0B2&5()B&/5
7,0B,&
3%
7,0B%.,1
7,0B2&5()B&/5
7,0B2&5()B&/5
7,0B,&
7,0B%.,1
3$'$&B&+
95(),17
95(),17
95(),17
95(),17
3$'$&B&+
3%