STM32F302xB STM32F302xC
Functional overview
3.13.3
3.13.4
VBAT battery voltage monitoring
This embedded hardware feature allows the application to measure the VBAT battery voltage
using the internal ADC channel ADC1_IN17. As the VBAT voltage may be higher than VDDA,
and thus outside the ADC input range, the VBAT pin is internally connected to a bridge
divider by 2. As a consequence, the converted digital value is half the VBAT voltage.
OPAMP reference voltage (VREFOPAMP)
Every OPAMP reference voltage can be measured using a corresponding ADC internal
channel: VREFOPAMP1 connected to ADC1 channel 15, VREFOPAMP2 connected to
ADC2 channel 17.
3.14
Digital-to-analog converter (DAC)
A single 12-bit buffered DAC channel can be used to convert digital signals into analog
voltage signal outputs. The chosen design structure is composed of integrated resistor
strings and an amplifier in inverting configuration.
This digital interface supports the following features:
• One DAC output channel
• 8-bit or 10-bit monotonic output
• Left or right data alignment in 12-bit mode
• Noise-wave generation
• Triangular-wave generation
• DMA capability
• External triggers for conversion
3.15
Operational amplifier (OPAMP)
The STM32F302xB/STM32F302xC embeds two operational amplifiers with external or
internal follower routing and PGA capability (or even amplifier and filter capability with
external components). When an operational amplifier is selected, an external ADC channel
is used to enable output measurement.
The operational amplifier features:
• 8.2 MHz bandwidth
• 0.5 mA output capability
• Rail-to-rail input/output
• In PGA mode, the gain can be programmed to be 2, 4, 8 or 16.
3.16
Fast comparators (COMP)
The STM32F302xB/STM32F302xC devices embed four fast rail-to-rail comparators with
programmable reference voltage (internal or external), hysteresis and speed (low speed for
low-power) and with selectable output polarity.
DocID025186 Rev 7
21/144
53