RM0351
19
Comparator (COMP)
19.1
Introduction
The device embeds two ultra-low power comparators COMP1, and COMP2
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 a PWM output from a timer.
19.2
COMP main features
•
Each comparator has configurable plus and minus inputs used for flexible voltage
selection:
–
–
–
•
Programmable hysteresis
•
Programmable speed / consumption
•
The outputs can be redirected to an I/O or to timer inputs for triggering:
–
•
Comparator outputs with blanking source
•
The two comparators can be combined in a window comparator
•
Each comparator has interrupt generation capability with wake-up from Sleep and Stop
modes (through the EXTI controller)
Multiplexed I/O pins
DAC Channel1 and Channel2
Internal reference voltage and three submultiple values (1/4, 1/2, 3/4) provided by
scaler (buffered voltage divider)
Break events for fast PWM shutdowns
DocID024597 Rev 3
Comparator (COMP)
577/1693
588
Need help?
Do you have a question about the STM32L4x6 and is the answer not in the manual?
Questions and answers