Download Print this page

ST STM32F301 6 Series Reference Manual page 292

Advanced arm-based 32-bit mcus

Advertisement

Comparator (COMP)
14
Comparator (COMP)
14.1
Introduction
STM32F3xx devices embed three comparators, COMP2, COMP4 and COMP6 that can be
used either as standalone devices (all terminals are available on I/Os) or combined with the
timers.
The comparators can be used for a variety of functions including:
Wake-up from low-power mode triggered by an analog signal,
Analog signal conditioning,
Cycle-by-cycle current control loop when combined with the DAC and a PWM output
from a timer.
14.2
COMP main features
Rail-to-rail comparators
Each comparator has positive and configurable negative inputs used for flexible voltage
selection:
The outputs can be redirected to an I/O or to timer inputs for triggering:
Each comparator has interrupt generation capability with wake-up from Sleep and Stop
modes (through the EXTI controller)
292/874
Multiplexed I/O pins
DAC1 channel 1
Internal reference voltage and three submultiple values (1/4, 1/2, 3/4) provided by
scaler (buffered voltage divider)
Capture events
OCREF_CLR events (for cycle-by-cycle current control)
Break events for fast PWM shutdowns
RM0366 Rev 5
RM0366

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series